CLOUD-DIGITAL-LEADER · Question #419
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
The correct answer is A. A Preemptible or Spot VM on Compute Engine. Preemptible or Spot VMs offer the lowest cost option on Compute Engine and are ideal for fault-tolerant, restartable, non-time-critical workloads.
Question
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?
Options
- AA Preemptible or Spot VM on Compute Engine
- BA custom VM in a pay-as-you-go model on Compute Engine
- CA standard VM in a pay-as-you-go model on Compute Engine
- DA Cloud Function with a small memory limit
How the community answered
(19 responses)- A79% (15)
- B5% (1)
- C5% (1)
- D11% (2)
Why each option
Preemptible or Spot VMs offer the lowest cost option on Compute Engine and are ideal for fault-tolerant, restartable, non-time-critical workloads.
Preemptible and Spot VMs are short-lived compute instances available at up to 91% discount compared to standard VMs. Because the workload can be restarted without data loss and has no time constraint, it perfectly fits the requirements for this lower-cost instance type.
A custom VM in pay-as-you-go mode offers flexibility in resource sizing but does not provide the deep discount of Preemptible or Spot VMs, making it more expensive.
A standard VM in pay-as-you-go mode is the baseline on-demand pricing with no discount, making it the most expensive option among the VM choices listed.
Cloud Functions are designed for event-driven, short-duration code execution and are not suited for sustained batch data analysis workloads that require VM-level compute.
Concept tested: Preemptible and Spot VM cost optimization for batch workloads
Source: https://cloud.google.com/compute/docs/instances/preemptible
Topics
Community Discussion
No community discussion yet for this question.