JN0-223 practice question 4 of 15
Which two statements about the REST API are correct? (Choose two.)
Full set: 66 questionsA fundamental architectural constraint of REST (Representational State Transfer) is statelessness. This means the server does not maintain any client session state between requests. Each request from a client must contain all the information necessary for the server to understand and process it, making the application itself stateless. Because the server does not store session information, the responsibility for maintaining the state of a session (e.g., authentication tokens, user context) is delegated to the client. The client must include this state information with every subsequent request to the server.
A. The server is explicitly designed to be stateless in a REST architecture and does not maintain application session state.
D. This statement is incorrect as it directly contradicts the core "stateless" principle of the REST architectural style.
1. Juniper Networks Official Documentation: In the Junos OS REST API Guide
it is stated
"The Junos OS REST API is a stateless RESTful API. The server does not store any information about the client’s state. Each request from a client must contain all of the information necessary to service the request."
Source: Junos OS REST API Guide
"Junos OS REST API Overview" section.
2. Academic Publication (Primary Source): The concept of REST was defined by Roy T. Fielding in his doctoral dissertation. He specifies the stateless constraint.
Source: Fielding
R. T. (2000). Architectural Styles and the Design of Network-based Software Architectures. University of California
Irvine. Chapter 5
Section 5.1.3 "Stateless". The text states
"...each request from client to server must contain all of the information necessary to understand the request... Session state is therefore kept entirely on the client."
DOI: https://www.ics.uci.edu/~fielding/pubs/dissertation/restarchstyle.htm#sec513
Keep practicing
Take the free JN0-223 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other JN0-223 practice questions
- Question 1Which two programming languages have a NETCONF library supported by Juniper Networks? (Ch…
- Question 2A REST API client uses which two HTTP methods to execute RPC requests on the server? (Cho…
- Question 3Which statement is valid regarding YAML and JSON?
- Question 5Which development model is the classic approach to software development?
- Question 6Which statement is correct about DevOps?
- Question 9Which two statements are valid regarding Junos automation? (Choose two.)
