
Answer-first summary for fast verification
Answer: 1. Run the batch job in a simulation of maintenance events. 2. If the test succeeds use preemptible N1 Standard VMs for future jobs.
**Correct Answer: D** Preemptible VMs can provide up to 80% discount over normal VMs for fault-tolerant workloads. The solution involves simulating maintenance events to test if the job can run properly even if some VMs are destroyed. If successful, preemptible N1 Standard VMs can be used for future jobs, significantly reducing costs. **Why not others?** - **A** suggests using a managed instance group but doesn't focus on cost-saving as effectively as preemptible VMs. - **B** recommends N1-standard VMs without leveraging the cost benefits of preemptible VMs. - **C** involves switching between N1 and N2 standard VMs, which doesn't directly address cost reduction. For more details, visit: [Preemptible VMs](https://cloud.google.com/preemptible-vms)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
To reduce the cost of a nightly batch job on your GCP project that uses a large number of VMs and is fault-tolerant, what should you do?
A
B
C
D
No comments yet.