Bird
0
0

If a client sends 5 separate requests versus 1 batch request with 5 operations, what changes?

medium📝 Predict Output Q5 of 15
Rest API - Batch and Bulk Operations
If a client sends 5 separate requests versus 1 batch request with 5 operations, what changes?
AThe server processes requests 5 times faster
BThe number of round trips decreases from 5 to 1
CThe client uses 5 times more bandwidth
DThe batch request requires 5 times more authentication
Step-by-Step Solution
Solution:
  1. Step 1: Compare separate requests and batch request

    Separate requests each cause one round trip; batch combines them into one.
  2. Step 2: Understand the effect on round trips

    Batch reduces the number of round trips from 5 to 1.
  3. Final Answer:

    The number of round trips decreases from 5 to 1 -> Option B
  4. Quick Check:

    Batch reduces round trips count = A [OK]
Quick Trick: Batching lowers round trips, not server speed or bandwidth [OK]
Common Mistakes:
MISTAKES
  • Thinking server processes faster with batch
  • Assuming batch uses more bandwidth
  • Believing batch needs more authentication

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes