exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 54 discussion

A developer needs to migrate an online retail application to AWS to handle an anticipated increase in traffic. The application currently runs on two servers: one server for the web application and another server for the database. The web server renders webpages and manages session state in memory. The database server hosts a MySQL database that contains order details. When traffic to the application is heavy, the memory usage for the web server approaches 100% and the application slows down considerably.
The developer has found that most of the memory increase and performance decrease is related to the load of managing additional user sessions. For the web server migration, the developer will use Amazon EC2 instances with an Auto Scaling group behind an Application Load Balancer.
Which additional set of changes should the developer make to the application to improve the application's performance?

  • A. Use an EC2 instance to host the MySQL database. Store the session data and the application data in the MySQL database.
  • B. Use Amazon ElastiCache for Memcached to store and manage the session data. Use an Amazon RDS for MySQL DB instance to store the application data.
  • C. Use Amazon ElastiCache for Memcached to store and manage the session data and the application data.
  • D. Use the EC2 instance store to manage the session data. Use an Amazon RDS for MySQL DB instance to store the application data.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
clarksu
Highly Voted 1 year, 7 months ago
Selected Answer: B
Option B , how can you image using an EC2 as cache ....
upvoted 10 times
...
Untamables
Highly Voted 1 year, 7 months ago
Selected Answer: B
B Session stores are easy to create with Amazon ElastiCache for Memcached. https://aws.amazon.com/elasticache/memcached/ With Amazon RDS, you can deploy scalable MySQL servers in minutes with cost-efficient and resizable hardware capacity. https://aws.amazon.com/rds/mysql/
upvoted 10 times
...
sumanshu
Most Recent 4 months ago
Selected Answer: B
B) - in-memory data store for managing session state C) Eliminated - ElastiCache is not a suitable replacement for a relational database like MySQL when dealing with structured data and complex queries.
upvoted 1 times
...
65703c1
5 months, 1 week ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
KarBiswa
10 months, 2 weeks ago
Selected Answer: B
The additional requirement for the faster retrieval of data
upvoted 1 times
...
Aws_aspr
1 year, 2 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
nkelesidis
1 year, 3 months ago
Selected Answer: A
I choose A. It says that the most of the memory increase is related to the load of managing additional user sessions. So I think Memcached doesn't make sense. Also, isn't bad practice to store session information in db.
upvoted 1 times
ninomfr64
1 year, 2 months ago
Session Store is one of the main use case for ElastiCache for Memcached as pwe AWS website https://aws.amazon.com/elasticache/memcached/#:~:text=ElastiCache%20for%20Memcached.-,Session%20Store,-Session%20stores%20are
upvoted 3 times
...
...
Dun6
1 year, 7 months ago
Selected Answer: B
B it is
upvoted 6 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