Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 390 discussion

A company hosts a three-tier ecommerce application on a fleet of Amazon EC2 instances. The instances run in an Auto Scaling group behind an Application Load Balancer (ALB). All ecommerce data is stored in an Amazon RDS for MariaDB Multi-AZ DB instance.

The company wants to optimize customer session management during transactions. The application must store session data durably.

Which solutions will meet these requirements? (Choose two.)

  • A. Turn on the sticky sessions feature (session affinity) on the ALB.
  • B. Use an Amazon DynamoDB table to store customer session information.
  • C. Deploy an Amazon Cognito user pool to manage user session information.
  • D. Deploy an Amazon ElastiCache for Redis cluster to store customer session information.
  • E. Use AWS Systems Manager Application Manager in the application to manage user session information.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
fruto123
Highly Voted 1 year, 3 months ago
Selected Answer: AD
It is A and D. Proof is in link below. https://aws.amazon.com/caching/session-management/
upvoted 26 times
pentium75
6 months ago
This doesn't say anything about durability
upvoted 2 times
...
...
Marco_St
Highly Voted 6 months, 3 weeks ago
Selected Answer: BD
I did not get why A is most voted? The question did not mention anything about fixed routing target so the ALB should route traffic randomly to each server. Then we just need to provide cache session management to avoid session lost issue instead of using sticky session.
upvoted 9 times
...
Uzbekistan
Most Recent 4 months ago
Selected Answer: BD
Option A suggests using sticky sessions (session affinity) on the Application Load Balancer (ALB). While sticky sessions can help route requests from the same client to the same backend server, it doesn't directly address the requirement for durable storage of session data. Sticky sessions are typically used to maintain session state at the load balancer level, but they do not provide data durability in case of server failures or restarts. Option A - is not correct ! ! ! So answer is option B and D ! ! !
upvoted 1 times
...
jjcode
4 months, 2 weeks ago
why does it matter to store user sessions durably? they EXPIRE, why would a company care about storing user sessions, thats not something thats done in the real world, those things are usually data dumped, or overwritten with new session tokens LOL, this whole question is &^%&*^$#@%^
upvoted 3 times
...
tuso
5 months, 1 week ago
I think the question is intended to mean "Combination of services", as some answers say "to store" or "to manage". So i am going for A+B, as sticky sessions are intended to manage the sessions and DynamoDB to store durably.
upvoted 1 times
...
pentium75
6 months, 1 week ago
Selected Answer: AB
Going for AB. Sticky Sessions to "optimize customer session management during transactions" and DynamoDB to "store session data durably". D, ElastiCache does NOT allow "durable" storage. Just because there's an article that contains both words "ElastiCache" and "durable" does not prove the contrary. C and E, Cognito and Systems Manager, have nothing to do with the issue.
upvoted 3 times
dkw2342
4 months ago
I agree that ElastiCache for Redis is not a durable KV store. But what about the phrasing? "Which solutions will meet these requirements? (Choose two.)" Solutions (plural) implies two ways to *independently* fulfill the requirements. If you're supposed to select a combination of options, it's usually phrased like this: "Which combination of solutions ..."
upvoted 1 times
...
avdxeqtr
5 months, 4 weeks ago
https://aws.amazon.com/blogs/developer/elasticache-as-an-asp-net-session-store/ Amazon ElastiCache for Redis is highly suited as a session store to manage session information such as user authentication tokens, session state, and more. Simply use ElastiCache for Redis as a fast key-value store with appropriate TTL on session keys to manage your session information. Session management is commonly required for online applications, including games, e-commerce websites, and social media platforms.
upvoted 2 times
avdxeqtr
5 months, 4 weeks ago
Correct link: https://aws.amazon.com/elasticache/redis/
upvoted 3 times
...
...
...
m_y_s
7 months ago
Selected Answer: BD
I don't understand what Sticky Session has to do with session storage. For the intent of the problem, I think DynamoDB and Redis are appropriate.
upvoted 4 times
pentium75
6 months, 1 week ago
"Session storage" is not the only requirement here. It is about 'optimizing customer session management during transactions', obviously it makes sense to host customer sessions on same node to easy the session management.
upvoted 2 times
...
...
daniel1
8 months, 2 weeks ago
Selected Answer: BD
Chatgpt4 says B and D Option A (Sticky sessions) is more for ensuring that a client's requests are sent to the same target once a session is established, but it doesn't provide a mechanism for durable session data storage across multiple instances. Option C (Amazon Cognito) is more for user identity management rather than session data storage during transactions. Option E (AWS Systems Manager Application Manager) is not a suitable or standard choice for session management in applications.
upvoted 4 times
pentium75
6 months, 1 week ago
Answers starting with "ChatGPT says ..." are usually wrong. In that case, B and D solve the same part of the requirement (storing session data), just B is durable (as required) while D is not durable (thus failing to meet the requirement). We still need to 'optimize customer session management'.
upvoted 3 times
...
...
TariqKipkemei
8 months, 3 weeks ago
Selected Answer: AD
Well, this documentation says it all. Option A is obvious, and D ElastiCache for Redis, can even support replication in case of node failure/session data loss. https://aws.amazon.com/caching/session-management/
upvoted 3 times
pentium75
6 months ago
ElastiCache can be HA and supports replication, but it remains a cache, which is by definition not durable.
upvoted 2 times
...
...
Guru4Cloud
10 months, 1 week ago
Selected Answer: AD
It is A and D. Proof is in link below. https://aws.amazon.com/caching/session-management/
upvoted 2 times
pentium75
6 months ago
That does not say anything about durability.
upvoted 1 times
...
...
coolkidsclubvip
11 months ago
Selected Answer: AB
cache is not durable...at all
upvoted 4 times
...
mrsoa
11 months, 2 weeks ago
Selected Answer: AD
go for AD
upvoted 1 times
...
Kaiden123
11 months, 2 weeks ago
Selected Answer: B
go with B
upvoted 2 times
...
msdnpro
11 months, 3 weeks ago
Selected Answer: AD
For D : "Amazon ElastiCache for Redis is highly suited as a session store to manage session information such as user authentication tokens, session state, and more." https://aws.amazon.com/elasticache/redis/
upvoted 2 times
dkw2342
4 months ago
Elsewhere they state: "Redis was not built to be a durable and consistent database. If you need a durable, Redis-compatible database, consider Amazon MemoryDB for Redis. Because MemoryDB uses a durable transactional log that stores data across multiple Availability Zones (AZs), you can use it as your primary database. MemoryDB is purpose-built to enable developers to use the Redis API without worrying about managing a separate cache, database, or the underlying infrastructure." https://aws.amazon.com/redis/
upvoted 1 times
...
pentium75
6 months ago
What about durability?
upvoted 1 times
...
...
mattcl
1 year ago
B and D: "The application must store session data durably" with Sticky sessions the application doesn't store anything.
upvoted 4 times
pentium75
6 months ago
Why would sticky sessions stop applicaton from storing anything?
upvoted 1 times
...
...
Axeashes
1 year ago
An option for data persistence for ElastiCache: https://aws.amazon.com/elasticache/faqs/#:~:text=Q%3A%20Does%20Amazon%20ElastiCache%20for%20Redis%20support%20Redis%20persistence%3F%0AAmazon%20ElastiCache%20for%20Redis%20doesn%E2%80%99t%20support%20the%20AOF%20(Append%20Only%20File)%20feature%20but%20you%20can%20achieve%20persistence%20by%20snapshotting%20your%20Redis%20data%20using%20the%20Backup%20and%20Restore%20feature.%20Please%20see%20here%20for%20details.
upvoted 2 times
pentium75
6 months ago
The opposite is true: "ElastiCache is ideally suited as a front end for AWS services like Amazon RDS and DynamoDB, providing extremely low latency for high-performance applications and offloading some of the request volume while these services (!!!) provide long-lasting data durability." ElastiCache can serve as a cache for DynamoDB and provide low latency while DynamoDB (!) provides durability.
upvoted 1 times
...
...
dpaz
1 year, 1 month ago
Selected Answer: AB
ElastiCache is not durable so session info has to be stored in DynamoDB.
upvoted 3 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in