Bird
0
0

You need to design a REST API for a multi-layered system where clients do not communicate directly with the server but through intermediaries. Which REST constraint ensures this design is valid?

hard📝 Application Q8 of 15
Rest API - REST API Fundamentals
You need to design a REST API for a multi-layered system where clients do not communicate directly with the server but through intermediaries. Which REST constraint ensures this design is valid?
ALayered system
BStatelessness
CCacheable responses
DUniform interface
Step-by-Step Solution
Solution:
  1. Step 1: Understand multi-layered system design

    Clients communicate through intermediaries like proxies or gateways.
  2. Step 2: Identify REST constraint supporting this

    The layered system constraint allows such architecture.
  3. Final Answer:

    Layered system -> Option A
  4. Quick Check:

    Multi-layer communication = Layered system [OK]
Quick Trick: Layered system allows intermediaries between client and server [OK]
Common Mistakes:
MISTAKES
  • Confusing layered system with statelessness
  • Thinking cacheable responses apply here
  • Assuming uniform interface covers layers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes