PROFESSIONAL-CLOUD-DEVELOPER · Question #304
PROFESSIONAL-CLOUD-DEVELOPER Question #304: Real Exam Question with Answer & Explanation
The correct answer is D: Optimize database queries to reduce read/write operations, and modify the application code to. https://cloud.google.com/knowledge/kb/resource-exhausted-errors-found-while-accessing- firestore-or-datastore-via-api-000004804
Question
You maintain a popular mobile game deployed on Google Cloud services that include Firebase, Firestore, and Cloud Run functions. Recently, the game experienced a surge in usage, and the application encountered HTTP 429 RESOURCE_EXHAUSTED errors when accessing the Firestore API. The application has now stabilized. You want to quickly fix this issue because your company has a marketing campaign next week and you expect another surge in usage. What should you do?
Options
- ARequest a quota increase, and modify the application code to retry the Firestore API call with
- BRequest a quota increase, and modify the application code to retry the Firestore API call with
- COptimize database queries to reduce read/write operations, and modify the application code to
- DOptimize database queries to reduce read/write operations, and modify the application code to
Explanation
https://cloud.google.com/knowledge/kb/resource-exhausted-errors-found-while-accessing- firestore-or-datastore-via-api-000004804
Topics
Community Discussion
No community discussion yet for this question.