Cloud Digital Leader Fundamental Cloud Concepts Practice Question
A company wants to run a batch job that processes data every night. They need to provision a VM for this task but want to minimize costs. The job can tolerate interruptions and can be resumed. Which Compute Engine VM option should they use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Preemptible VM
Preemptible VMs are short-lived, cost-effective instances that can be terminated at any time but are ideal for batch jobs that can handle interruptions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
VM with committed use discount
Why it's wrong here
Committed use discounts (CUDs) are pricing models that require a contractual commitment to run VMs for a 1- or 3-year term, with a corresponding discount on compute costs. For a nightly batch job that runs only for a few hours per day, a CUD would lock in capacity at a fixed cost regardless of actual usage, making it inefficient because you pay for the full term even when the VM is idle. Additionally, CUDs are best for predictable, always-on workloads; the sporadic, short-lived nature of nightly batch jobs would not benefit from the discount relative to the total cost of ownership. Thus, while CUDs lower the per-hour rate, they are economically mismatched for this use case.
- ✓
Preemptible VM
Why this is correct
Preemptible VMs are Compute Engine instances that are computationally identical to standard VMs but are offered at a significantly lower price (typically up to 60-80% cheaper) because Google can terminate them at any time should it need the capacity for other workloads. They are ideal for batch processing jobs that can be restarted or that use checkpointing, because a termination simply means the job can be resumed from the last saved state. For a nightly data processing job that is inherently fault-tolerant and can tolerate occasional interruptions, preemptible VMs provide the most cost-effective solution without sacrificing correctness if designed with retry logic.
- ✗
Sole-tenant node
Why it's wrong here
Sole-tenant nodes are physical servers that are dedicated to a single customer, providing strong workload isolation, compliance, and licensing benefits. This dedicated hardware model incurs higher costs than shared infrastructure because you are paying for the entire physical server regardless of utilization. For a batch job that processes data every night and has no regulatory or licensing requirement for dedicated hardware, sole-tenant nodes introduce unnecessary expense and complexity without any functional advantage.
- ✗
Standard VM
Why it's wrong here
Standard (on-demand) VMs are regular Compute Engine instances that run continuously until you explicitly stop them, with a per-second billing structure that reflects their unrestricted availability. They do not offer the cost savings of preemptible VMs, nor do they have the guaranteed capacity of committed use contracts; they are simply the default compute option for workloads that need persistent, reliable uptime. For a batch job that only runs nightly and can tolerate interruption, using standard VMs would mean paying the full on-demand rate during those hours, which is cost-inefficient compared to preemptible instances that offer the same compute capability at a fraction of the price.
Go deeper
Related to this question
Learn chapter
Compute Options on Google Cloud
Key term
Batch
Batch is a cloud computing service that runs large numbers of computing jobs as a group, or batch, without needing to manage individual servers.
Key term
Data
Data is raw, unprocessed information, like numbers, words, or measurements, that can be stored, processed, and analyzed by computers.
About these practice questions
Courseiva writes every GCDL question from scratch — 829 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.