D4: Batching, Field Restriction, Pagination, Caching & Errors
Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards
Question
Why batch requests?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Batching, Field Restriction, Pagination, Caching & Errors practice questions and answers
- Why batch requests?Fewer round trips and better throughput.
- How to restrict returned data?Field masks / fields parameter (partial responses).
- How does pagination work?pageSize with pageToken/nextPageToken.
- Why cache API results?Reduce latency, cost and quota use for repeated reads.
- What are ETags used for?Conditional requests and optimistic concurrency.
- Which errors should be retried?Transient errors: 429, 500, 503, 504 and timeouts.
- Which errors should not be retried?Client errors like 400, 403, 404 (fix the request).
- What is exponential backoff?Increasing wait time between retries (with jitter).
- Why add jitter?Avoid many clients retrying simultaneously.
- Why retry only idempotent operations?Prevent duplicate side effects.