Solved

Your Weather App Queries a Database Every 15 Minutes to Get

Question 16

Multiple Choice

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.
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.
D) Reduce the query frequency to once every hour until the database comes back online.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents