Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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