ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 236 - Professional Cloud Developer discussion

Report
Export

You are a lead developer working on a new retail system that runs on Cloud Run and Firestore. A web UI requirement is for the user to be able to browse through alt products. A few months after go-live, you notice that Cloud Run instances are terminated with HTTP 500: Container instances are exceeding memory limits errors during busy times

This error coincides with spikes in the number of Firestore queries

You need to prevent Cloud Run from crashing and decrease the number of Firestore queries. You want to use a solution that optimizes system performance What should you do?

A.
Create a custom jndex over the products
Answers
A.
Create a custom jndex over the products
B.
Modify the query that returns the product list using cursors with limits
Answers
B.
Modify the query that returns the product list using cursors with limits
C.
Modify the Cloud Run configuration to increase the memory limits
Answers
C.
Modify the Cloud Run configuration to increase the memory limits
D.
Modify the query that returns the product list using integer offsets
Answers
D.
Modify the query that returns the product list using integer offsets
Suggested answer: B
asked 18/09/2024
Michele Valvason
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first