
Spot instances (long called "preemptible" instances, and the exam still uses both terms) are one of the most teachable cost-optimization tools on Compute Engine. They are also a near-guaranteed appearance on the Professional Cloud Architect exam, usually as a "pick the cheapest option that still meets the workload's requirements" question. The trick is recognizing when the workload tolerates interruption and when it does not.
When you create a VM on Compute Engine, one of the choices you make is the availability policy. You pick between a Standard instance and a Spot (preemptible) instance. A Standard instance gives you guaranteed availability at the normal on-demand price. A Spot instance is the same hardware at a steep discount, with one important catch: Google can reclaim that VM at any time to give the capacity to a higher-priority workload. When that happens, you get roughly a 30-second warning, and then the instance is terminated.
That is the entire trade-off. Cheaper compute in exchange for the right of Google to take the machine back. Everything you need to know about when to use them flows from that one fact.
Spot is a strong fit when the work is compute-heavy, can be checkpointed or restarted, and does not depend on persistent state living on the instance itself. A few categories the exam tends to draw from:
The common thread is interruption tolerance plus the ability to resume from somewhere durable. If the answer to "what happens if Google reclaims this VM in the middle of the job" is "we lose 30 seconds of work and try again," Spot is a good fit.
The flip side is anything that needs continuous, real-time uptime, where an interruption is not just inconvenient but actively breaks the product:
The pattern here is the inverse of the good fit list. The work demands continuous uptime, the state lives on the running instance, and an interruption causes user-visible damage. For these, you pay for Standard instances.
Spot questions on the Professional Cloud Architect exam almost always look the same. You are given a workload description and asked for the most cost-effective option. The decision tree is short:
The exam will sometimes try to trip you up by mixing signals. A "data processing pipeline" sounds like Spot at first glance, but if the question stresses real-time SLAs or per-event latency requirements, that pipeline needs Standard. Read for the words "batch," "checkpoint," "fault-tolerant," "interruption-tolerant," and "cost-optimize" as Spot signals. Read for "real-time," "uninterrupted," "high availability," "low latency," and "mission-critical" as Standard signals.
Google rebranded preemptible instances to Spot instances a few years back, but the older "preemptible" terminology still appears in documentation and on the exam. Treat them as the same thing for exam purposes. The behavior, the pricing model, and the 30-second termination warning are identical. If you see either word on a Professional Cloud Architect question, you are looking at the same product.
My Professional Cloud Architect course covers Spot instances alongside the rest of the compute material.