AWS Certified SysOps Administrator – Associate (legacy) — Question 824
What does enabling a sticky session with ELB do?
Answer options
- A. Routes all the requests to a single DNS
- B. Ensures that all requests from the user's session are sent to multiple instances
- C. Binds the user session with a specific instance
- D. Provides a single ELB DNS for each IP address
Correct answer: C
Explanation
Enabling sticky sessions (session affinity) on an ELB binds a user's session to a specific backend EC2 instance, ensuring all subsequent requests from that user during the session are routed to the same instance. This is useful for stateful applications that store session data locally on the server. Options A, B, and D are incorrect because sticky sessions do not alter DNS routing or distribute a single session's requests across multiple instances.