nerdexam
Google

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #47

PROFESSIONAL-CLOUD-DATABASE-ENGINEER Question #47: Real Exam Question with Answer & Explanation

The correct answer is C. Build a Firestore bundle, and deploy bundles to Cloud CDN.. Firestore bundles allow you to package the results of Firestore queries into a static data file that can be cached and served via Cloud CDN. Since the top ten news stories are the same for all users throughout the day, this content is highly cacheable. Deploying bundles to Cloud

Optimizing Cloud Database Performance and Cost

Question

Your organization is running a Firestore-backed Firebase app that serves the same top ten news stories on a daily basis to a large global audience. You want to optimize content delivery while decreasing cost and latency. What should you do?

Options

  • AEnable serializable isolation in the Firebase app.
  • BDeploy a US multi-region Firestore location.
  • CBuild a Firestore bundle, and deploy bundles to Cloud CDN.
  • DCreate a Firestore index on the news story date.

Explanation

Firestore bundles allow you to package the results of Firestore queries into a static data file that can be cached and served via Cloud CDN. Since the top ten news stories are the same for all users throughout the day, this content is highly cacheable. Deploying bundles to Cloud CDN distributes the cached content to edge locations globally, dramatically reducing latency for international users and eliminating repeated Firestore reads - which directly lowers cost. Option A (serializable isolation) addresses transaction consistency, not delivery performance. Option B (US multi-region Firestore) improves availability and durability but does not cache content at the edge for global audiences. Option D (Firestore index on date) would speed up query execution but does nothing to reduce repeated reads or global latency.

Topics

#Firestore#Cloud CDN#Performance Optimization#Cost Optimization

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER Practice