
Explanation:
The issue involves persistent high latency in an App Engine application after a traffic spike, affecting both CloudSQL and Cloud Storage requests, despite normal load levels and no errors. This suggests that the bottleneck is likely at the application layer, not the storage services. During the spike, App Engine may have scaled up instances to handle increased traffic, but the latency persisted because new instances experienced cold starts (slow initialization), leading to delayed request handling. Even after traffic normalized, the application might have retained scaled instances that were inefficient or overloaded, causing ongoing latency. The goal is to prevent latency during an upcoming spike.
Ultimate access to all questions.
No comments yet.
You manage a web application running on App Engine that utilizes Cloud SQL and Cloud Storage for data storage. Following a brief traffic surge, you observe significant latency across all user requests, elevated CPU usage, and an increased number of application processes—despite traffic returning to normal levels. Initial analysis shows:
With another traffic spike anticipated soon, how would you ensure users avoid latency issues?
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.