
Answer-first summary for fast verification
Answer: Build a Firestore bundle, and deploy bundles to Cloud CDN.
To optimize content delivery while decreasing cost and latency for a Firebase app serving the same top ten news stories daily to a large global audience, the best approach is to build a Firestore bundle and deploy bundles to Cloud CDN. Firestore bundles allow you to package query results together, which can then be served via Cloud CDN. This reduces the number of reads from Firestore, thereby decreasing cost, and leverages the global distribution of Cloud CDN to reduce latency. Enabling serializable isolation (A) is more about transaction consistency than performance optimization. Deploying a US multi-region Firestore location (B) might reduce latency for users in the US but not globally. Creating a Firestore index on the news story date (D) could improve query performance but doesn't directly address the global distribution or cost reduction needs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can you optimize content delivery, reduce latency, and minimize costs for a Firestore-backed Firebase app that serves the same top ten daily news stories to a large global audience?
A
Enable serializable isolation in the Firebase app.
B
Deploy a US multi-region Firestore location.
C
Build a Firestore bundle, and deploy bundles to Cloud CDN.
D
Create a Firestore index on the news story date.
No comments yet.