PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #23
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…
The correct answer is D. Modify the App Engine configuration to have additional idle instances. The symptom pattern - latency persists after load normalizes, affects both CloudSQL and Cloud Storage equally, no errors, no code changes - points to App Engine instance warm-up latency, not a database or storage issue. When the traffic spike hit, App Engine scaled up by…
Question
Options
- AUpgrade the GCS buckets to Multi-Regional.
- BEnable high availability on the CloudSQL instances.
- CMove the application from App Engine to Compute Engine.
- DModify the App Engine configuration to have additional idle instances.
How the community answered
(18 responses)- A17% (3)
- B6% (1)
- C6% (1)
- D72% (13)
Explanation
The symptom pattern - latency persists after load normalizes, affects both CloudSQL and Cloud Storage equally, no errors, no code changes - points to App Engine instance warm-up latency, not a database or storage issue. When the traffic spike hit, App Engine scaled up by spawning new instances, but those new instances had cold-start overhead. To prevent this before the next spike, configuring 'min_idle_instances' keeps pre-warmed instances alive and ready, eliminating the latency from cold starts. Options A and B target storage/database HA, which are unrelated to the observed cross-service latency. Option C (moving to Compute Engine) increases management overhead without solving the root cause.
Topics
Community Discussion
No community discussion yet for this question.