
Ultimate access to all questions.
As a lead developer for a retail system running on Cloud Run and Firestore, you observe that Cloud Run instances are being terminated with HTTP 500: Container instances exceeding memory limits during peak traffic, coinciding with spikes in Firestore queries. How can you prevent Cloud Run crashes and reduce Firestore query volume while optimizing system performance?
A
Modify the query that returns the product list using cursors with limits.
B
Create a custom index over the products.
C
Modify the query that returns the product list using integer offsets.
D
Modify the Cloud Run configuration to increase the memory limits.