300-435 · Question #103
What is a characteristic of REST APIs?
The correct answer is B. client-server based. A fundamental characteristic of REST APIs is their client-server based architecture, where clients initiate requests and servers process them independently.
Question
Options
- Astateful
- Bclient-server based
- CLayer 2 execution
- Ddevice-specific
How the community answered
(45 responses)- A2% (1)
- B91% (41)
- C2% (1)
- D4% (2)
Why each option
A fundamental characteristic of REST APIs is their client-server based architecture, where clients initiate requests and servers process them independently.
REST APIs are typically designed to be stateless, meaning each request from a client to a server must contain all the information needed to understand the request, and the server does not store client context between requests.
REST is an architectural style that mandates a client-server separation, where clients and servers operate independently. This clear separation improves portability, scalability, and simplifies components by distributing concerns.
REST APIs operate at the application layer (Layer 7) of the OSI model, using protocols like HTTP, and do not directly involve Layer 2 execution.
REST APIs are generally designed to be device-agnostic, meaning they can be accessed and consumed by various client devices (web browsers, mobile apps, other services) without being tied to a specific hardware or software device.
Concept tested: REST API characteristics (client-server)
Source: https://www.redhat.com/en/topics/api/what-is-rest-api
Topics
Community Discussion
No community discussion yet for this question.