Google Cloud Associate Cloud Engineer — Question 199

Your company runs one batch process in an on-premises server that takes around 30 hours to complete. The task runs monthly, can be performed offline, and must be restarted if interrupted. You want to migrate this workload to the cloud while minimizing cost. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because migrating the workload to a Compute Engine VM allows for flexibility in starting and stopping the instance as needed, which is ideal for a monthly batch process. Options A, C, and D involve using Spot VMs or managed groups, which may not be suitable for a long-running job that requires reliability and must be restarted if interrupted.