
Answer-first summary for fast verification
Answer: A distributed, eventually consistent NoSQL database cluster with sufficient quorum.
Preemptible VM instances are cost-effective but can be terminated by Google Cloud with a 30-second notice, making them suitable only for fault-tolerant, stateless, or interruptible workloads. Analyzing the options: - **A. A scalable in-memory caching system**: Not suitable. In-memory caches rely on low-latency access and persistent data availability. Preemption would cause data loss, cache misses, and increased backend load, compromising performance and reliability. - **B. The organization's public-facing website**: Not suitable. Public websites require high availability and consistent uptime. Preemptible VMs could lead to frequent downtime, poor user experience, and potential revenue loss. - **C. A distributed, eventually consistent NoSQL database cluster with sufficient quorum**: Suitable. This application is fault-tolerant by design. The distributed nature and quorum allow the cluster to handle node failures (e.g., from preemption) without data loss or downtime. Eventually consistency ensures temporary inconsistencies are resolved, making it resilient to interruptions. - **D. A GPU-accelerated video rendering platform that retrieves and stores videos in a storage bucket**: Suitable. Video rendering is a batch processing workload. It retrieves source videos from and stores outputs in persistent storage (e.g., Cloud Storage), allowing jobs to be restarted if a VM is preempted. GPU preemptible VMs are cost-effective for such interruptible tasks. Both options C and D are suitable for preemptible VMs. However, the question has only 4 options, and the response format requires selecting **one** correct answer. Option C is chosen as the most explicit fit because it directly emphasizes fault tolerance (distributed, quorum-based) and eventual consistency, which aligns perfectly with preemptible VM use cases. Option D is also valid, but C's design inherently manages interruptions more robustly for database operations.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Which type of application is appropriate for using preemptible VM instances to reduce virtual machine costs for an organization?
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.
No comments yet.