Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 287 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 287
Topic #: 1
[All Professional Cloud Developer Questions]

You maintain a popular mobile game deployed on Google Cloud services that include Firebase, Firestore, and Cloud 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?

  • A. Request a quota increase, and modify the application code to retry the Firestore API call with fixed backoff.
  • B. Request a quota increase, and modify the application code to retry the Firestore API call with exponential backoff.
  • C. Optimize database queries to reduce read/write operations, and modify the application code to retry the Firestore API call with fixed backoff.
  • D. Optimize database queries to reduce read/write operations, and modify the application code to retry the Firestore API call with exponential backoff.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
anshad666
1 month, 1 week ago
Selected Answer: D
Optimizing database queries: Reducing the number of read/write operations can prevent resource exhaustion and help Firestore handle higher traffic more efficiently. Exponential backoff: This is a best practice when handling rate-limited or resource-exhausted errors (like HTTP 429). It gradually increases the delay between retry attempts, reducing the load on the system and giving it time to recover.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...