CiscoCisco
350-901 · Question #45
350-901 Question #45: Real Exam Question with Answer & Explanation
The correct answer is A: Different requests can be processed by different servers.. A stateless application processes each request independently without retaining any client-specific information from previous interactions on the server side.
Understanding and Using APIs
Question
Which two statements about a stateless application are true? (Choose two.)
Options
- ADifferent requests can be processed by different servers.
- BRequests are based only on information relayed with each request.
- CInformation about earlier requests must be kept and must be accessible.
- DThe same server must be used to process all requests that are linked to the same state.
- ENo state information can be shared across servers.
Explanation
A stateless application processes each request independently without retaining any client-specific information from previous interactions on the server side.
Common mistakes.
- C. This statement describes a stateful application, where information from earlier requests must be maintained on the server to process subsequent requests correctly.
- D. This statement describes session affinity or sticky sessions, a characteristic of stateful applications where client requests must be routed to the same server to maintain state.
- E. While stateless servers don't maintain internal state, they can still interact with external, shared state stores (like databases or distributed caches), so the statement that 'no state information can be shared across servers' is inaccurate.
Concept tested. Stateless application characteristics
Reference. https://learn.microsoft.com/en-us/azure/architecture/guide/design-principles/stateless-services
Topics
#Stateless Applications#API Design#Distributed Systems
Community Discussion
No community discussion yet for this question.