Google Cloud Professional Cloud Developer — Question 138
Your team is writing a backend application to implement the business logic for an interactive voice response (IVR) system that will support a payroll application. The IVR system has the following technical characteristics:
• Each customer phone call is associated with a unique IVR session.
• The IVR system creates a separate persistent gRPC connection to the backend for each session.
• If the connection is interrupted, the IVR system establishes a new connection, causing a slight latency for that call.
You need to determine which compute environment should be used to deploy the backend application. Using current call data, you determine that:
• Call duration ranges from 1 to 30 minutes.
• Calls are typically made during business hours.
• There are significant spikes of calls around certain known dates (e.g., pay days), or when large payroll changes occur.
You want to minimize cost, effort, and operational overhead. Where should you deploy the backend application?
Answer options
- A. Compute Engine
- B. Google Kubernetes Engine cluster in Standard mode
- C. Cloud Functions
- D. Cloud Run
Correct answer: D
Explanation
Cloud Run is the most suitable option for deploying the backend application because it is designed to handle stateless applications and can automatically scale based on incoming requests, which is ideal for handling variable call volumes during peak times. Compute Engine and Google Kubernetes Engine would require more management and overhead, while Cloud Functions may not be appropriate for long-duration calls with persistent connections.