
Answer-first summary for fast verification
Answer: Migrate the workload to a Compute Engine VM. Start and stop the instance as needed.
The correct answer is C: 'Migrate the workload to a Compute Engine VM. Start and stop the instance as needed.' Preemptible VMs and nodes (options A, B, and D) are not suitable because preemptible instances can only run for up to 24 hours and can be stopped at any time, which means they cannot complete a task that takes 30 hours and must be restarted if interrupted. On the other hand, a standard Compute Engine VM (option C) can run for the necessary 30 hours uninterrupted and can be started and stopped as needed, ensuring the batch process completes successfully.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company operates a monthly batch process on an on-premises server. This process takes approximately 30 hours to finish, can run offline, and requires a restart if it gets interrupted at any point. You aim to migrate this workload to the cloud with a focus on minimizing costs. What approach should you take to accomplish this migration effectively?
A
Migrate the workload to a Compute Engine Preemptible VM.
B
Migrate the workload to a Google Kubernetes Engine cluster with Preemptible nodes.
C
Migrate the workload to a Compute Engine VM. Start and stop the instance as needed.
D
Create an Instance Template with Preemptible VMs On. Create a Managed Instance Group from the template and adjust Target CPU Utilization. Migrate the workload.