Course 2 – Essential Google Cloud Infrastructure: Foundation

Week 2: Virtual Machines

Coursera Study Guide

Click to Enroll in Coursera Google Cloud Architect Certificate


Create virtual machines using compute engine

Learning Objectives

  • Recall the CPU and memory options for virtual machines
  • Describe the disk options for virtual machines
  • Explain VM pricing and discounts
  • Use Compute Engine to create and customize VM instances


1. Which statement is true of Virtual Machine Instances in Compute Engine?

  • All Compute Engine VMs are single tenancy and do not share CPU hardware.
  • Compute Engine uses VMware to create Virtual Machine Instances.
  • In Compute Engine, a VM is a networked service that simulates the features of a computer. (Correct)
  • A VM in Compute Engine always maps to a single hardware computer in a rack.

Correct: VMs in Compute Engine are a collection of networked services which includes persistent disks that are network-attached. In some cases the Google Cloud VM behaves unlike hardware or other kinds of virtual machines, for example, when a multi-tenant virtual CPU “bursts”, using excess capacity beyond the VM spec.

2. What are sustained use discounts?

  • Per-second billing that starts after a 1 minute minimum
  • Purchase commitments for specific resources you know you will use
  • Automatic discounts that you get for running specific Compute Engine resources for a significant portion of the billing month. (Correct)
  • Discounts you receive by using preemptible VM instances

Correct: That’s correct! Sustained use discounts are automatic discounts that you get for running specific Compute Engine resources (vCPUs, memory, GPU devices) for a significant portion of the billing month. To take advantage of the full 30% discount, create your VM instances on the first day of the month, because discounts reset at the beginning of each month.

3. Which statement is true of persistent disks?

  • Once created, a persistent disk cannot be resized.
  • Persistent disks are always HDDs (magnetic spinning disks).
  • Persistent disks are encrypted by default. (Correct)
  • Persistent disks are physical hardware devices connected directly to VMs.

Correct: Persistent Disks are not physical disks, they are a virtual-networked service. Each persistent disk remains encrypted either with system-defined keys or with customer-supplied keys.

Subscribe to our site

Get new content delivered directly to your inbox.