Google Cloud Associate Cloud Engineer — Question 118

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: C

Explanation

The correct answer is C because using a Compute Engine VM allows for manual control over starting and stopping the instance, which is ideal for a long-running and infrequent batch job. Options A and B may introduce interruptions due to the nature of Preemptible VMs, which are not suitable for workloads that need to be restarted. Option D, while potentially efficient, adds complexity that may increase costs unnecessarily for a simple batch process.