Flashcardsfor IT Certifications

D4: Optimizing Application Performance

AWS Certified Generative AI Developer – Professional exam practice questions · 11 flashcards

Question
Latency-cost trade-offs?
1 / 11

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

Last updated: · Report an error on this page

Show all 11 Optimizing Application Performance practice questions and answers
  1. Latency-cost trade-offs?
    Pre-compute, smaller/latency-optimized models, parallel calls, streaming.
  2. Pre-computation?
    Generate summaries/embeddings ahead of time.
  3. Parallel requests?
    Run independent model/retrieval calls concurrently.
  4. Response streaming benefit?
    Reduces perceived latency (time to first token).
  5. Performance benchmarking?
    Measure p50/p95 latency, tokens/sec under load.
  6. Retrieval performance tuning?
    Index optimization, query preprocessing, hybrid search with custom scoring.
  7. Concurrent invocation management?
    Limit concurrency to quotas; queue excess; use cross-Region inference.
  8. Tuning model parameters?
    Adjust temperature, top-p/top-k, max tokens per task via A/B tests.
  9. API call profiling?
    X-Ray/CloudWatch to find slow components.
  10. Efficient service communication?
    Keep-alive connections, regional co-location, async messaging.
  11. Scenario: users wait 8 s before seeing any text. Quick fix?
    Enable response streaming.