GCP Flashcards
To learn everything about GCP
What is an instance on Compute Engine?
A virtual machine hosted on Google’s infrastructure.
What are three ways you can create a Compute Engine instance?
GCP console, gcloud command line tool, Compute Engine API.
What two types of images can be launched on Compute Engine?
Public, or custom images.
What do you specify when you create an image in a project?
zone, operating system, and machine type.
What are two ways to manage access to your Compute Engine instances?
Using OS login and managing SSH keys in project or instance metadata.
What are the states a Compute Engine instance can have?
provisioning, staging, running, stopping, repairing, terminated.
What applies when you stop a Compute Engine instance?
You pay for resources still attached to the vm (persistent storage, etc). You do not pay for the cost of running a vm. Ephemeral external IP addresses are released from the instance.
What is the command to list all GCE instances and statuses?
gcloud compute instances list
What is the command to describe the status of a single instance on GCE?
gcloud compute instances describe example-instance
What is a machine type on GCE?
Set of virtualized hardware resources available to a virtual machine (VM) instance, including system memory size, virtual CPU (vCPU) count, and persistent disk limits
What machine types can you choose from in GCE?
general-purpose, memory-optimized, and compute-optimized.
On GCE, what is each vCPU implemented as?
A single hardware hyper-thread on one of the available CPU Platforms.
What are the use cases for adding a vGPU to a GCE instance?
Graphics-intensive workloads, such as 3D visualization, 3D rendering, or virtual applications.
What is a Guest Environment on a GCE VM instance?
Set of scripts, daemons, and binaries that read the content of the metadata server to make a virtual machine run properly on Google Compute Engine
What does live migration allow for in GCE instances?
Virtual machine instances to keep running even when a host system event occurs, such as a software or hardware update.