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

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

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: AD 🗳️

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, 8 months ago
Selected Answer: AD
It is A and D. Proof is in link below. https://aws.amazon.com/caching/session-management/
upvoted 28 times
babayomi
3 weeks, 5 days ago
Thanks, First consider the durability requirement of a session. It's never meant to be kept after the session terminates, tha5 said. You wouldn't need a pamanent database for a session. You would only require a catche, so that it can expire after a while when the session has already completed. That is why D is correct. A is required in the first place in order to initialize the use of the catche.
upvoted 2 times
...
pentium75
10 months, 2 weeks ago
This doesn't say anything about durability
upvoted 4 times
babayomi
3 weeks, 5 days ago
First consider the durability requirement of a session. It's never meant to be kept after the session terminates, tha5 said. You wouldn't need a pamanent database for a session. You would only require a catche, so that it can expire after a while when the session has already completed. That is why D is correct. A is required in the first place in order to initialize the use of the catche.
upvoted 2 times
...
...
...
Marco_St
Highly Voted 11 months, 1 week 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 13 times
babayomi
3 weeks, 5 days ago
AD First consider the durability requirement of a session. It's never meant to be kept after the session terminates, tha5 said. You wouldn't need a pamanent database for a session. You would only require a catche, so that it can expire after a while when the session has already completed. That is why D is correct. A is required in the first place in order to initialize the use of the catche.
upvoted 1 times
...
...
Sergantus
Most Recent 2 weeks, 3 days ago
Selected Answer: BD
We are not looking here for a combination of options, just two independent solutions. Because of the "durability" requirement - B - DynamoDB is durable D - ElastiCache for Redis although mostly used as in-memory cache, ElastiCache for Redis provides options for data persistence - RDB (Redis Database Backup) and AOF (Append-Only File). RDB periodically saves a snapshot of the dataset to disk, while AOF logs every write operation and replays it in case of a restart. ElastiCache for Redis also allows configuring replication groups with Multi-AZ and read replicas, providing additional redundancy and failover options.
upvoted 1 times
...
babayomi
3 weeks, 5 days ago
AD First consider the durability requirement of a session. It's never meant to be kept after the session terminates, tha5 said. You wouldn't need a pamanent database for a session. You would only require a catche, so that it can expire after a while when the session has already completed. That is why D is correct. A is required in the first place in order to initialize the use of the catche.
upvoted 1 times
...
Uzbekistan
8 months, 2 weeks 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 3 times
babayomi
3 weeks, 5 days ago
First consider the durability requirement of a session. It's never meant to be kept after the session terminates, tha5 said. You wouldn't need a pamanent database for a session. You would only require a catche, so that it can expire after a while when the session has already completed. That is why D is correct. A is required in the first place in order to initialize the use of the catche.
upvoted 1 times
...
...
jjcode
9 months 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 4 times
...
tuso
9 months, 3 weeks 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
10 months, 3 weeks 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 5 times
dkw2342
8 months, 2 weeks 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 3 times
...
avdxeqtr
10 months, 2 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
10 months, 2 weeks ago
Correct link: https://aws.amazon.com/elasticache/redis/
upvoted 3 times
...
...
...
m_y_s
11 months, 3 weeks 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 5 times
pentium75
10 months, 3 weeks 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 3 times
Sergantus
2 weeks, 3 days ago
Up until that node fails
upvoted 2 times
...
...
...
daniel1
1 year, 1 month 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
10 months, 3 weeks 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 4 times
...
...
TariqKipkemei
1 year, 1 month 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 4 times
pentium75
10 months, 2 weeks ago
ElastiCache can be HA and supports replication, but it remains a cache, which is by definition not durable.
upvoted 3 times
Sergantus
2 weeks, 3 days ago
You can configure Redis with persistence options
upvoted 2 times
...
...
...
Guru4Cloud
1 year, 2 months 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
10 months, 2 weeks ago
That does not say anything about durability.
upvoted 2 times
...
...
coolkidsclubvip
1 year, 3 months ago
Selected Answer: AB
cache is not durable...at all
upvoted 5 times
...
mrsoa
1 year, 3 months ago
Selected Answer: AD
go for AD
upvoted 1 times
...
Kaiden123
1 year, 4 months ago
Selected Answer: B
go with B
upvoted 2 times
...
msdnpro
1 year, 4 months 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
8 months, 2 weeks 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 2 times
...
pentium75
10 months, 2 weeks ago
What about durability?
upvoted 2 times
...
...
mattcl
1 year, 5 months ago
B and D: "The application must store session data durably" with Sticky sessions the application doesn't store anything.
upvoted 4 times
pentium75
10 months, 2 weeks ago
Why would sticky sessions stop applicaton from storing anything?
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 ...