Bird
0
0

Why might a REST API choose to limit the number of operations in a composite request?

hard📝 Conceptual Q10 of 15
Rest API - Advanced Patterns
Why might a REST API choose to limit the number of operations in a composite request?
ATo prevent server overload and ensure performance stability.
BBecause HTTP only supports up to 5 operations per request.
CTo force clients to send multiple requests for security reasons.
DBecause composite operations are deprecated in REST APIs.
Step-by-Step Solution
Solution:
  1. Step 1: Understand server resource limits

    Limiting operations prevents heavy load and keeps server responsive.
  2. Step 2: Evaluate other options

    HTTP has no fixed limit on operations; forcing multiple requests or deprecation are incorrect reasons.
  3. Final Answer:

    To prevent server overload and ensure performance stability. -> Option A
  4. Quick Check:

    Limit composite ops to protect server = D [OK]
Quick Trick: Limits protect server from heavy composite requests [OK]
Common Mistakes:
MISTAKES
  • Believing HTTP limits operations count
  • Thinking limits are for security forcing multiple requests
  • Assuming composite operations are deprecated

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes