nerdexam
Juniper

JN0-224 · Question #133

Which two statements about the REST API are correct? (Choose two.)

The correct answer is B. The REST API application is stateless. C. The TCP session state is maintained by the client. REST (Representational State Transfer) is an architectural style for designing networked applications, and its key principles include: Statelessness (B): Each request from the client to the server must contain all the information needed to understand and process the request…

NETCONF, RESTCONF, and gRPC

Question

Which two statements about the REST API are correct? (Choose two.)

Options

  • AThe TCP session state is maintained by the server.
  • BThe REST API application is stateless.
  • CThe TCP session state is maintained by the client
  • DThe REST API application is stateful.

How the community answered

(38 responses)
  • A
    5% (2)
  • B
    92% (35)
  • D
    3% (1)

Explanation

REST (Representational State Transfer) is an architectural style for designing networked applications, and its key principles include: Statelessness (B): Each request from the client to the server must contain all the information needed to understand and process the request. The server does not store any session state between requests, meaning each request is independent and does not rely on previous ones. TCP Session State (C): While REST itself is stateless, the underlying TCP connection's state, such as keeping the connection alive or managing retries, is handled by the client. The server does not retain information about the TCP connection beyond the processing of the individual

Topics

#REST API#stateless#TCP session state#client-side state

Community Discussion

No community discussion yet for this question.

Full JN0-224 Practice