Design Resilient Architectures

Which practices allow a stateless microservice to handle successive requests on different instances? (Choose two.)

Choose 2 answers

Show the answer

Correct answersA. Store session data in a shared external data store.D. Include necessary request context in each request.

AWhy this is right: An external store makes session data available regardless of which instance handles the request.

BWhy not this: Session data held only in memory is unavailable to other instances.

CWhy not this: Required stickiness ties a session to an instance rather than removing instance dependence.

DWhy this is right: Each instance receives the context needed to process the request without relying on previous local requests.

External session storage and self-contained requests let any healthy instance handle a request. Instance-local sessions and required stickiness create dependence on a particular instance.