Compute Engine Flashcards
What is Compute Engine?
Compute Engine is an IaaS solution offered by Google.
What are Compute Engine spot VMs?
Compute Engine Spot VMs are VMs that can be terminated at any time by Compute Engine. They are significantly less expensive but should only be used for fault-tolerant jobs.
What is an Instance Template?
An instance template is a template for creating VMs. In other words, a template represents the configuration that you would like to use to create new VMs. This allows you to create new VMs with the same configuration in a convenient manner.
What is an Instance Group?
An Instance Group is a feature that allows Compute Engine to automatically scale Compute Engine instances based on specific criteria. Keep in mind, you must provision your own load balancer.
If you don’t want your Compute Engine instance to have any downtime during host maintenance, what can you do?
By default, “Migrate VM instance” is enabled, which will migrate your VM instance to other hardware and avoid downtime.
By default, are Compute Engine instances automatically restarted if they are shutdown for non-user-initiated reasons?
Yes. However, this feature can be turned off.
Is it possible to modify the attached storage to a Compute Engine instance while it is running?
Yes.
What is a Network Interface Card?
A network interface is hardware or software used to connect to a network. In the case of a Compute Engine instance, its network interface is what makes it possible to connect to a subnetwork that belongs to a VPC Network. An instance can have up to 8 network interfaces.
Do MIGs require an Instance Template?
Yes. Without an Instance Template, a Managed Instance Group cannot be created.
Do MIGs support application-based health checks for autohealing?
Yes. You can enable health checks for applications running on MIGs. If an application is not healthy, Compute Engine will recreate the VM instance. Checking that an application is running is more precise than checking if a VM is running.
What is the difference between load balancing health checks and managed instance group health checks?
Load balancing health checks simply direct traffic way from unhealthy instances to healthy instances. Managed instance group health checks delete and recreate instances for non-healthy applications.
A Compute Engine instance Network Tag can be used as …
The target of a fire wall rule.
Is there an additional fee for using MIGs?
No. You simply pay for the resources that you use.
If you need to create a group of heterogenous Compute Engine instances, what can you do?
You can create a user-managed instance group
Is every Compute Engine instance associated with a VPC Network?
Yes. Every single Compute Engine instance is associated with a VPC Network.