0
0
GCPcloud~5 mins

Preemptible and Spot VMs in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a Preemptible VM in Google Cloud?
A Preemptible VM is a virtual machine that runs at a lower cost but can be stopped by Google Cloud at any time, usually within 24 hours. It's good for short, fault-tolerant tasks.
Click to reveal answer
intermediate
How does a Spot VM differ from a Preemptible VM?
Spot VMs are similar to Preemptible VMs but offer more flexible pricing and availability. They can be interrupted but may run longer and have different pricing models.
Click to reveal answer
beginner
Why would you choose a Preemptible or Spot VM over a regular VM?
Because they cost less, making them ideal for batch jobs, testing, or workloads that can handle interruptions without losing important data.
Click to reveal answer
intermediate
What happens to your data when a Preemptible VM is stopped?
The VM is stopped without warning, and any data stored on the VM's local disk is lost. Persistent disks keep data safe.
Click to reveal answer
advanced
How can you design your application to handle Preemptible VM interruptions?
Use checkpointing, save important data to persistent storage, and design your app to restart or continue work after interruptions.
Click to reveal answer
What is the maximum runtime for a Preemptible VM before it is stopped by Google Cloud?
A12 hours
B24 hours
C48 hours
DNo limit
Which of the following is a key benefit of using Spot VMs?
ALower cost with flexible availability
BGuaranteed uptime
CUnlimited runtime
DNo interruptions
What should you use to keep data safe when using Preemptible VMs?
APersistent disks
BLocal VM disk
CTemporary storage
DNo storage needed
Which workload is best suited for Preemptible or Spot VMs?
ACritical database servers
BReal-time user-facing apps
CBatch processing jobs
DLong-running backend services
What is a common strategy to handle VM interruptions?
ARunning only on regular VMs
BIgnoring interruptions
CUsing only local storage
DCheckpointing and saving state
Explain what Preemptible and Spot VMs are and when to use them.
Think about cheaper VMs that can be stopped anytime.
You got /5 concepts.
    Describe how to design an application to work well with Preemptible or Spot VMs.
    Focus on fault tolerance and data safety.
    You got /4 concepts.