
Answer-first summary for fast verification
Answer: Cloud Functions
The question requires a managed service that automatically scales to zero to avoid costs during inactivity. Cloud Functions (A) is the only option that natively scales to zero, meaning no instances run when idle, eliminating costs. It is fully managed, aligning with the requirement. Compute Engine (B) is not managed and requires manual configuration to scale down, with managed instance groups maintaining at least one instance. Google Kubernetes Engine (C) is partially managed but incurs control plane costs even with zero nodes, and scaling to zero is complex and not guaranteed. App Engine flexible environment (D) always runs at least one instance, so it cannot scale to zero. Community discussion strongly supports A (95% consensus), noting its cost efficiency and automatic scaling, while highlighting limitations of other options.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are designing an application that will only be used during business hours. For the initial release, you want to use a managed service that automatically scales down to zero instances to avoid costs when the application is idle. Which primary compute option should you choose?
A
Cloud Functions
B
Compute Engine
C
Google Kubernetes Engine
D
AppEngine flexible environment
No comments yet.