Google Cloud Digital Leader — Question 181
An organization runs a batch data analysis workload on a virtual machine (VM). The workload can be easily restarted without losing work, and is not time critical. Organizations must choose the lowest cost option to run the workload. What option should they choose?
Answer options
- A. A Preemptible or Spot VM on Compute Engine
- B. A custom VM in a pay-as-you-go model on Compute Engine
- C. A standard VM in a pay-as-you-go model on Compute Engine
- D. A Cloud Function with a small memory limit
Correct answer: A
Explanation
The correct answer is A, as Preemptible or Spot VMs on Compute Engine are designed for cost savings and are ideal for non-critical workloads that can be restarted. Options B and C involve standard VM pricing, which is higher than using a Preemptible or Spot VM. Option D, a Cloud Function, is not suited for batch processing workloads that may require longer execution times.