Flashcardsfor IT Certifications

D1: Optimizing Gemini Apps for Cost, Latency & Availability

Google Cloud Professional Machine Learning Engineer exam practice questions · 10 flashcards

Question
Reduce cost?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Optimizing Gemini Apps for Cost, Latency & Availability practice questions and answers
  1. Reduce cost?
    Smaller models (Flash/Flash-Lite), shorter prompts, context caching, batch prediction.
  2. What is context caching?
    Reuse large repeated context at lower cost and latency.
  3. Batch prediction for Gemini?
    Asynchronous bulk requests at discounted price.
  4. Reduce latency?
    Smaller model, streaming responses, shorter outputs, nearby region.
  5. What is Provisioned Throughput?
    Reserved capacity for predictable performance.
  6. Dynamic shared quota?
    Pay-as-you-go capacity shared across customers.
  7. Improve availability?
    Global endpoint, retries with backoff, multi-region fallback.
  8. Handle 429 errors?
    Exponential backoff and Provisioned Throughput.
  9. Limit output cost?
    Set max output tokens.
  10. Thinking budget trade-off?
    More reasoning tokens improve quality but add cost/latency.