ExamQuestions.com

Register
Login
AWS Certified Solutions Architect Professional Exam Questions

Amazon

AWS Certified Solutions Architect Professional

296 / 465

Question 296:

You are having trouble maintaining session states on some of your applications using an Elastic Load Balancer(ELB). Requests from the same session should be routed to the same target in the target group. Which of the following is the quickest and cost-efficient method to implement this?

Answer options:

A.Disable Sticky session. Use Elasticache to put session data. Elasticache is easy to set up, manage, and scale a distributed in-memory cache environment in the cloud.
B.Use a special cookie to track the instance for each request to each listener. When the load balancer receives a request, it will then check to see if this cookie is present in the request.
C.Use the sticky session feature (also known as session affinity), enabling the load balancer to bind a user`s session to a specific instance. This ensures that all requests from the user during the session are sent to the same instance.
D.If your application does not have its own session cookie, then you can configure Elastic Load Balancing to create a session cookie by specifying your own stickiness duration.