Ultimate access to all questions.
Your team is developing a backend application for an interactive voice response (IVR) system that handles payroll-related calls. The IVR system has these technical requirements:
Based on current call data:
The goal is to minimize cost, effort, and operational overhead. Which compute environment should host the backend application?
Explanation:
Given the requirements for handling persistent gRPC connections, automatic scaling during traffic spikes, and minimizing operational overhead and costs, Cloud Run (D) is the most suitable option. It supports HTTP/2/gRPC, scales automatically, and allows for long-lived connections with a timeout of up to 60 minutes, which fits within the call duration range of 1 to 30 minutes. Additionally, Cloud Run abstracts away infrastructure management, reducing operational overhead. Compute Engine (A) and Google Kubernetes Engine (B) would require manual scaling and management, increasing operational overhead. Cloud Functions (C) is not suitable due to its execution time limit of 9 minutes and its event-driven nature, which is not ideal for long sessions.