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 questionsPreemptible 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.
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.
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."
Keep practicing
Take the free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice questions
- Question 1[Building and implementing CI/CD pipelines for a service] You need to enforce several con…
- Question 2You deployed an application into a large Standard Google Kubernetes Engine (GKE) cluster.…
- Question 3You are responding to a high-priority incident where a critical, user-facing payment serv…
- Question 4[Applying Site Reliability Engineering (SRE) principles to a service] You support a user-…
- Question 5You are deploying an application that needs to access sensitive information. You need to …
- Question 6[Building and implementing CI/CD pipelines for a service] You are building an application…
