CS FundamentalsHardGATE CS

Which statement correctly contrasts a leaky bucket with a token bucket shaper?

  1. A. A token bucket outputs at a constant rate, while a leaky bucket allows bursts
  2. B. Both allow unlimited bursts as long as the average rate is met
  3. C. A leaky bucket outputs at a constant rate, while a token bucket allows bursts up to the bucket size and then the token rate
  4. D. A leaky bucket drops tokens, while a token bucket drops packets only when tokens remain

Correct answer: C. A leaky bucket outputs at a constant rate, while a token bucket allows bursts up to the bucket size and then the token rate

The leaky bucket smooths any input into a fixed output rate (excess packets wait or are dropped). The token bucket saves up credit while idle, so a source can send a burst of up to C bytes at line rate, then continues at ρ.

More Computer Networks questions

Exams that ask this topic