Skip to main content

Associate Cloud Engineer practice question · Planning and implementing a cloud solution

A team runs a large, fault-tolerant batch data-processing job on Compute Engine a few times per quarter.

A team runs a large, fault-tolerant batch data-processing job on Compute Engine a few times per quarter. They want the deepest possible discount off on-demand pricing, do not want a 1- or 3-year contract, and can tolerate individual VMs being stopped with only a few seconds of notice. Which option best meets these requirements?

  • ARun the batch workers as Spot VMs
  • BBuy a 3-year resource-based committed use discount
  • CRely on automatic sustained use discounts
  • DRun the batch workers on sole-tenant nodes
Show the answer and explanation

Correct answer: A) Run the batch workers as Spot VMs

Spot VMs give the largest Compute Engine discount (60–91%) with no commitment, in exchange for possible preemption at any time. That makes them the right fit for interruption-tolerant batch jobs. CUDs need a commitment, SUDs give smaller discounts, and sole-tenant nodes cost extra.

Why each option is right or wrong

  • A) Correct. Spot VMs use excess Compute Engine capacity at a 60–91% discount off on-demand prices and need no commitment. In exchange, Compute Engine can preempt them at any time with a best-effort shutdown period of up to 30 seconds. Google recommends them for fault-tolerant work such as batch processing.
  • B) Incorrect. Resource-based CUDs need a 1- or 3-year commitment to a minimum amount of resources, which the team explicitly doesn't want. For a job that only runs a few times per quarter, they would also pay for capacity that sits idle.
  • C) Incorrect. Sustained use discounts only apply to resources used for more than 25% of a billing month, and they top out at about a 30% net discount. That is far below what Spot VMs offer, and an occasional batch job may not qualify at all.
  • D) Incorrect. Sole-tenant nodes give the project dedicated physical servers for isolation or licensing reasons. They add a sole-tenancy premium of 10% on top of the vCPU and memory cost, so they cost more, not less.
Exam domain
Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.