exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 119 discussion

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 operationally 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
thanhnv142
Highly Voted 1 year, 2 months ago
D is correct: <During testing, users are being automatically logged out of the application at random times>: the cause is there is no data storage that stores user's session. We need a session data storage to store user session
upvoted 5 times
thanhnv142
1 year, 2 months ago
A. Enable smart sessions on the load balance: there is no smart session on ALB B. Enable session sharing on the load balancer: load balancer does not store session data C. storing session data in S3 introduces latency
upvoted 1 times
...
...
jamesf
Most Recent 9 months ago
Selected Answer: D
keywords: Amazon ElastiCache cluster
upvoted 1 times
...
dkp
1 year ago
Selected Answer: D
D is correct
upvoted 2 times
...
WhyIronMan
1 year, 1 month ago
Selected Answer: D
D is the correct one
upvoted 2 times
...
a54b16f
1 year, 3 months ago
Selected Answer: D
https://aws.amazon.com/blogs/developer/elasticache-as-an-asp-net-session-store/
upvoted 1 times
...
EricZhang
1 year, 11 months ago
Why not C? Compared to D C is serverless thus more operationally efficient.
upvoted 2 times
dzn
1 year, 2 months ago
This is why many web application frameworks support Redis and Memcached session. Also S3 is expensive to read, latency.
upvoted 3 times
...
lunt
1 year, 11 months ago
like comment by accident. S3 is an object store, its not a mounted FS as such, potential performance issues & consistency rule it out. Session data - keep it local, caching system like redis or DB. C actually requires a lot more work as who is now managing the sessions, the bucket, keeping all in sync?
upvoted 2 times
...
...
OrganizedChaos25
1 year, 11 months ago
Selected Answer: D
D is correct
upvoted 4 times
...
devnv
1 year, 11 months ago
agree with D
upvoted 1 times
...
2pk
1 year, 11 months ago
Yep D, session should be stored to share.
upvoted 1 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