nerdexam
Google

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.

Optimizing Cloud Costs

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)
  • A
    79% (15)
  • B
    5% (1)
  • C
    5% (1)
  • D
    11% (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.

AA Preemptible or Spot VM on Compute EngineCorrect

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.

BA custom VM in a pay-as-you-go model on Compute Engine

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.

CA standard VM in a pay-as-you-go model on Compute Engine

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.

DA Cloud Function with a small memory limit

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

#Compute Engine#Preemptible VMs#Cost Optimization#Workload Management

Community Discussion

No community discussion yet for this question.

Full CLOUD-DIGITAL-LEADER Practice