Batching and Streaming Quiz

5 questions Pass: 70% +25 pts

Quiz covering Performance Optimization

Batching and Streaming Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    What is the primary benefit of using streaming when deploying a GenAI model for user-facing applications?

  2. 2

    When implementing continuous batching (also known as iteration-level batching) in an LLM inference engine, what happens when a sequence in the batch finishes generation?

  3. 3

    Which of the following is a primary trade-off when increasing the batch size in a GenAI inference system?

  4. 4

    In the context of KV cache management, what is the main advantage of using PagedAttention?

  5. 5

    You are optimizing an LLM serving pipeline where requests have highly variable input and output lengths. Which strategy would most effectively minimize 'bubbles' (idle GPU time) in your computation?