Google Cloud Associate Cloud Engineer — Question 127
You have a batch workload that runs every night and uses a large number of virtual machines (VMs). It is fault-tolerant and can tolerate some of the VMs being terminated. The current cost of VMs is too high. What should you do?
Answer options
- A. Run a test using simulated maintenance events. If the test is successful, use preemptible N1 Standard VMs when running future jobs.
- B. Run a test using simulated maintenance events. If the test is successful, use N1 Standard VMs when running future jobs.
- C. Run a test using a managed instance group. If the test is successful, use N1 Standard VMs in the managed instance group when running future jobs.
- D. Run a test using N1 standard VMs instead of N2. If the test is successful, use N1 Standard VMs when running future jobs.
Correct answer: A
Explanation
The correct answer is A because using preemptible N1 Standard VMs will significantly reduce costs while allowing for fault tolerance. Option B does not consider cost-effective solutions, while C's managed instance group isn't necessary for this scenario, and D does not address the cost issue effectively.