Google Cloud Professional Cloud DevOps Engineer — Question 70
You support a web application that runs on App Engine and uses CloudSQL and Cloud Storage for data storage. After a short spike in website traffic, you notice a big increase in latency for all user requests, increase in CPU use, and the number of processes running the application. Initial troubleshooting reveals:
✑ After the initial spike in traffic, load levels returned to normal but users still experience high latency.
✑ Requests for content from the CloudSQL database and images from Cloud Storage show the same high latency.
✑ No changes were made to the website around the time the latency increased.
✑ There is no increase in the number of errors to the users.
You expect another spike in website traffic in the coming days and want to make sure users don't experience latency. What should you do?
Answer options
- A. Upgrade the GCS buckets to Multi-Regional.
- B. Enable high availability on the CloudSQL instances.
- C. Move the application from App Engine to Compute Engine.
- D. Modify the App Engine configuration to have additional idle instances.
Correct answer: D
Explanation
The correct answer is D because modifying the App Engine configuration to include additional idle instances allows the application to scale up quickly in response to traffic spikes, reducing latency for users. Options A and B do not address the immediate issue of latency stemming from increased traffic, while option C involves a significant migration that may not resolve the latency problem effectively.