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?
✗ Incorrect
Preemptible VMs can run up to 24 hours before Google Cloud stops them.
Which of the following is a key benefit of using Spot VMs?
✗ Incorrect
Spot VMs offer lower cost but can be interrupted, with flexible availability.
What should you use to keep data safe when using Preemptible VMs?
✗ Incorrect
Persistent disks keep data safe even if the VM is stopped.
Which workload is best suited for Preemptible or Spot VMs?
✗ Incorrect
Batch jobs can handle interruptions and benefit from lower costs.
What is a common strategy to handle VM interruptions?
✗ Incorrect
Checkpointing helps resume work after interruptions.
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.