exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 107 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 107
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company is testing a web application that runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The company uses a blue/green deployment process with immutable instances when deploying new software.

During testing, users are being automatically logged out of the application at random times. Testers also report that, when a new version of the application is deployed, all users are logged out. The development team needs a solution to ensure users remain logged in across scaling events and application deployments.

What is the MOST efficient way to ensure users remain logged in?

  • A. Enable smart sessions on the load balancer and modify the application to check for an existing session.
  • B. Enable session sharing on the load balancer and modify the application to read from the session store.
  • C. Store user session information in an Amazon S3 bucket and modify the application to read session information from the bucket.
  • D. Modify the application to store user session information in an Amazon ElastiCache cluster.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bgc1
2 years, 2 months ago
Selected Answer: D
https://aws.amazon.com/caching/session-management/
upvoted 1 times
...
einn
2 years, 2 months ago
Selected Answer: B
Enabling session sharing on the load balancer allows user session information to be shared across multiple instances in an Auto Scaling group. This ensures that users remain logged in even when instances are added or removed from the group.
upvoted 1 times
...
einn
2 years, 2 months ago
Enabling session sharing on the load balancer allows user session information to be shared across multiple instances in an Auto Scaling group. This ensures that users remain logged in even when instances are added or removed from the group.
upvoted 1 times
...
Bulti
2 years, 3 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
Imstack
2 years, 4 months ago
D is correct
upvoted 1 times
...
SatenderRathee
2 years, 4 months ago
Selected Answer: D
The most efficient way to ensure users remain logged in is to modify the application to store user session information in an Amazon ElastiCache cluster. Amazon ElastiCache is a fully managed in-memory data store that can be used to store user session information. The in-memory nature of ElastiCache means that it can store and retrieve session data quickly, which is important for maintaining user sessions in a web application. Additionally, ElastiCache clusters can be scaled up or down as needed, making it a good choice for a web application that is running on an Auto Scaling group.
upvoted 3 times
...
SmileyCloud
2 years, 5 months ago
Selected Answer: D
D - correct. A,B - Smart session and session sharing do not mean anything. https://aws.amazon.com/getting-started/hands-on/building-fast-session-caching-with-amazon-elasticache-for-redis/
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago