PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice question 13 of 25

[Optimizing service performance] You need to reduce the cost of virtual machines (VM| for your organization. After reviewing different options, you decide to leverage preemptible VM instances. Which application is suitable for preemptible VMs?

Full set: 205 questions
Answer options
A: A scalable in-memory caching system
B: The organization's public-facing website
C: A distributed, eventually consistent NoSQL database cluster with sufficient quorum
D: A GPU-accelerated video rendering platform that retrieves and stores videos in a storage bucket Correct answer
Correct Answer:
D. A GPU-accelerated video rendering platform that retrieves and stores videos in a storage bucket
Explanation

Preemptible VMs are ideal for fault-tolerant, stateless, batch processing workloads that can withstand interruptions. A GPU-accelerated video rendering platform fits this perfectly. The rendering tasks are individual jobs (batch processing). If a VM is preempted, the specific rendering task can be rescheduled on a new preemptible instance. Storing the source and destination videos in an external, durable service like Cloud Storage ensures that the state is managed outside the ephemeral VM, making the workload stateless from the VM's perspective.

Why Incorrect

A. An in-memory caching system is stateful. Losing a preemptible node would result in losing the cached data, impacting application performance until the cache is repopulated.
B. A public-facing website requires high availability. The unpredictable termination of preemptible VMs would cause service interruptions and a poor user experience.
C. While a NoSQL cluster is fault-tolerant, frequent, unplanned node terminations would cause constant data rebalancing and cluster instability, severely degrading performance.

References

1. Google Cloud Documentation

"Preemptible VM instances"

Section: "Preemptible use cases". This section explicitly lists "batch processing jobs" and "rendering" as ideal use cases. It highlights that applications should be fault-tolerant and able to handle instance preemptions.

2. Google Cloud Documentation

"Creating and starting a preemptible VM instance". The documentation states

"Preemptible instances are a good choice if your applications are fault-tolerant and can withstand possible instance preemptions."

Scroll to Top