Google Cloud Associate Cloud Engineer — Question 293
You are migrating your company’s on-premises compute resources to Google Cloud. You need to deploy batch processing jobs that run every night. The jobs require significant CPU and memory for several hours but can tolerate interruptions. You must ensure that the deployment is cost-effective. What should you do?
Answer options
- A. Use the M1 machine series on Compute Engine.
- B. Containerize the batch processing jobs and deploy them on Compute Engine.
- C. Use Spot VMs on Compute Engine.
- D. Use custom machine types on Compute Engine.
Correct answer: C
Explanation
Using Spot VMs on Compute Engine is the most cost-effective option for batch processing jobs that can tolerate interruptions, as they are significantly cheaper than regular VMs. The M1 machine series and custom machine types may not provide the same cost savings and flexibility for interrupted jobs, while containerizing the tasks, although beneficial for orchestration, does not directly address cost-efficiency.