
Google Associate Cloud Engineer
Get started today
Ultimate access to all questions.
You are managing a nightly batch workload that relies on a significant number of virtual machines (VMs) to complete its tasks. This workload is designed to be fault-tolerant, meaning it can handle scenarios where a few VMs are unexpectedly terminated without compromising overall performance. However, the current expense associated with running these VMs is proving to be exorbitant. What strategies can you implement to reduce the cost of these VMs while maintaining the fault-tolerant capability of the workload?
You are managing a nightly batch workload that relies on a significant number of virtual machines (VMs) to complete its tasks. This workload is designed to be fault-tolerant, meaning it can handle scenarios where a few VMs are unexpectedly terminated without compromising overall performance. However, the current expense associated with running these VMs is proving to be exorbitant. What strategies can you implement to reduce the cost of these VMs while maintaining the fault-tolerant capability of the workload?
Explanation:
The correct answer is A. Preemptible virtual machine (VM) instances are significantly cheaper than normal instances, making them a suitable option for fault-tolerant workloads that can tolerate some instances being terminated. Given that the batch workload runs every night, is fault-tolerant, and has a high current cost for VMs, using preemptible VMs is an ideal solution to reduce costs. Option A recommends running a test using simulated maintenance events to ensure the workload can handle VM terminations, and if successful, switching to preemptible N1 Standard VMs for future jobs.