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 537 discussion

A company runs a three-tier web application in the AWS Cloud that operates across three Availability Zones. The application architecture has an Application Load Balancer, an Amazon EC2 web server that hosts user session states, and a MySQL database that runs on an EC2 instance. The company expects sudden increases in application traffic. The company wants to be able to scale to meet future application capacity demands and to ensure high availability across all three Availability Zones.

Which solution will meet these requirements?

  • A. Migrate the MySQL database to Amazon RDS for MySQL with a Multi-AZ DB cluster deployment. Use Amazon ElastiCache for Redis with high availability to store session data and to cache reads. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
  • B. Migrate the MySQL database to Amazon RDS for MySQL with a Multi-AZ DB cluster deployment. Use Amazon ElastiCache for Memcached with high availability to store session data and to cache reads. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
  • C. Migrate the MySQL database to Amazon DynamoDB Use DynamoDB Accelerator (DAX) to cache reads. Store the session data in DynamoDB. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
  • D. Migrate the MySQL database to Amazon RDS for MySQL in a single Availability Zone. Use Amazon ElastiCache for Redis with high availability to store session data and to cache reads. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
alexandercamachop
Highly Voted 1 year ago
Selected Answer: A
Memcached is best suited for caching data, while Redis is better for storing data that needs to be persisted. If you need to store data that needs to be accessed frequently, such as user profiles, session data, and application settings, then Redis is the better choice
upvoted 15 times
nonameforyou
1 year ago
and for high availability, it's better than memcached
upvoted 1 times
nonameforyou
1 year ago
but does rds multi-az provide the needed scalability?
upvoted 2 times
wsdasdasdqwdaw
8 months, 2 weeks ago
it is multi-az cluster deployment, same as B, so yes, it is providing the needed scalability. Great explanation.
upvoted 1 times
...
...
...
...
osmk
Most Recent 4 months, 2 weeks ago
Selected Answer: A
Replication: Redis supports creating multiple replicas for read scalability and high availability.https://aws.amazon.com/elasticache/redis-vs-memcached/
upvoted 1 times
...
awsgeek75
5 months, 2 weeks ago
Selected Answer: A
A because of "Amazon EC2 web server that hosts user session states" C: RDS to DynamoDB doesn't make total sense D: Single zone is not HA Between A and B, A is suitable because of session state and Elasticache with Redis is more HA than option B
upvoted 1 times
...
mr123dd
6 months ago
Selected Answer: A
B: from what I know, Memcached provide better performance and simplicity but lower availability than redis. C: mysql is relational database, dynamodb is nosql D: single AZ
upvoted 1 times
...
pentium75
6 months ago
Selected Answer: A
ElastiCache for Redis supports HA, ElastiCache for Memcached does not: https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/SelectEngine.html C could in theory work, but session data is typically stored in ElastiCache, not in DynamoDB. D is not HA.
upvoted 2 times
...
Cyberkayu
6 months, 2 weeks ago
Selected Answer: B
'hosts user session states' in question, thus redis
upvoted 1 times
pentium75
6 months ago
Right, but Redis is A
upvoted 1 times
...
...
potomac
8 months ago
Selected Answer: A
Redis is a widely adopted in-memory data store for use as a database, cache, message broker, queue, session store, and leaderboard. https://aws.amazon.com/elasticache/redis/
upvoted 4 times
...
thanhnv142
8 months, 2 weeks ago
B is correct. We are left with 2 options: A and B. But it requires that the system be able to scale to meet future application capacity demands. Redis is very good. But its drawback is not scalable. Thats why they implement memcached.
upvoted 1 times
...
ErnShm
9 months, 3 weeks ago
A Redis as an in-memory data store with high availability and persistence is a popular choice among application developers to store and manage session data for internet-scale applications. Redis provides the sub-millisecond latency, scale, and resiliency required to manage session data such as user profiles, credentials, session state, and user-specific personalization.
upvoted 1 times
Gajendr
6 months, 2 weeks ago
Redis provides replication while memcached doesnt.
upvoted 1 times
...
...
Guru4Cloud
10 months, 2 weeks ago
Selected Answer: A
The key reasons why option A is preferable: RDS Multi-AZ provides high availability for MySQL by synchronously replicating data across AZs. Automatic failover handles AZ outages. ElastiCache for Redis is better suited for session data caching than Memcached. Redis offers more advanced data structures and flexibility. Auto scaling across 3 AZs provides high availability for the web tier
upvoted 1 times
...
ukivanlamlpi
11 months, 1 week ago
Selected Answer: B
the different between Redis and Memcache is that Memcache suuport multithread process to handle the increase of application traffic. https://aws.amazon.com/elasticache/redis-vs-memcached/
upvoted 2 times
pentium75
6 months ago
ElastiCache for Memcached says "No" for "High Availability" https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/SelectEngine.html
upvoted 1 times
...
...
TariqKipkemei
11 months, 2 weeks ago
Selected Answer: B
This requirement wins for me: "be able to scale to meet future application capacity demands". Memcached implements a multi-threaded architecture, it can make use of multiple processing cores. This means that you can handle more operations by scaling up compute capacity. https://aws.amazon.com/elasticache/redis-vs-memcached/#:~:text=by%20their%20rank.-,Multithreaded%20architecture,-Since%20Memcached%20is
upvoted 1 times
...
plndmns
12 months ago
cache reads is memcached right?
upvoted 1 times
...
MrAWSAssociate
1 year ago
Selected Answer: B
B is correct!
upvoted 3 times
...
AncaZalog
1 year, 1 month ago
is A not B
upvoted 4 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