Migrate a monthly, 30-hour offline batch job that must be restartable if interrupted and minimize cost. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Migrate the workload to a Compute Engine VM and start and stop the instance as needed..
Why this is the answer
For a monthly, 30-hour offline batch job that needs to be restartable and cost-effective, a standard Compute Engine VM that is started and stopped as needed is the most suitable option. This approach ensures the job can run reliably for its duration and be restarted without data loss if interrupted, as standard VMs are not preempted. Stopping the VM when not in use minimizes costs, as you only pay for compute resources while the instance is running. Spot VMs (and Spot nodes in GKE) are significantly cheaper but can be preempted at any time, making them unsuitable for a job that must be restartable and complete within a specific window without guaranteed uptime. While an instance template with Spot VMs and a managed instance group offers some resilience, the core issue of preemption for a critical, restartable job remains.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed