Google Cloud Professional Cloud DevOps Engineer — Question 52

You support a stateless web-based API that is deployed on a single Compute Engine instance in the europe-west2-a zone. The Service Level Indicator (SLI) for service availability is below the specified Service Level Objective (SLO). A postmortem has revealed that requests to the API regularly time out. The time outs are due to the API having a high number of requests and running out memory. You want to improve service availability. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because adding more service instances in different zones and load balancing traffic can distribute the load effectively, reducing timeouts and improving availability. Option A is incorrect as changing the SLO does not solve the underlying issue of capacity. Option B only addresses the memory issue of a single instance, and option D does not improve availability under high load, as it only provides redundancy.