ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 6 - Professional Data Engineer discussion

Report
Export

Your weather app queries a database every 15 minutes to get the current temperature. The frontend is powered by Google App Engine and server millions of users. How should you design the frontend to respond to a database failure?

A.
Issue a command to restart the database servers.
Answers
A.
Issue a command to restart the database servers.
B.
Retry the query with exponential backoff, up to a cap of 15 minutes.
Answers
B.
Retry the query with exponential backoff, up to a cap of 15 minutes.
C.
Retry the query every second until it comes back online to minimize staleness of data.
Answers
C.
Retry the query every second until it comes back online to minimize staleness of data.
D.
Reduce the query frequency to once every hour until the database comes back online.
Answers
D.
Reduce the query frequency to once every hour until the database comes back online.
Suggested answer: B

Explanation:

https://cloud.google.com/sql/docs/mysql/manage-connections#backoff

asked 18/09/2024
107 gleann na ri charles
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first