exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 431 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 431
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer is migrating an on-premises web application to AWS. The web application allows users to log in and modify their user profiles. The web application consists of a web server and a relational database. The developer has created an Amazon Machine Image (AMI) that will be used to launch Amazon EC2 instances to provide the web server. The developer also has created a database in Amazon RDS.

As part of the migration, the developer wants to create an Amazon EC2 Auto Scaling group to launch the web server instances behind an Application Load Balancer. The launch configuration for the Auto Scaling group will specify the AMI for the web server.

Which additional step should the developer take to give the web application the ability to automatically scale?

  • A. Select an EC2 instance type that is large enough to handle increased demand.
  • B. Create an Amazon ElastiCache cluster. Configure the web application to store session state in the cluster.
  • C. Install the database on one of the EC2 instances. Recreate the AMI from that EC2 instance.
  • D. Create an RDS read replica. Configure the web application to use the read replica for all read operations.
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
DrCloud
Highly Voted 2 years, 3 months ago
Selected Answer: D
Scaling of Web tier is already addressed. Ask: additional step should the developer take? ==> Scale Database tier
upvoted 5 times
...
a15ce96
Most Recent 1 year, 1 month ago
Selected Answer: B
B. D also an appropriate one. The only thing I don't like is the statement "an (single) RDS replica". It surely increases throughput and helps to scale up the app, but how is "automatically" applicable for this? The question is not that clear though.
upvoted 1 times
...
kyoharo
1 year, 6 months ago
Selected Answer: D
Amazon RDS read replicas allow you to scale read capacity for database read-intensive workloads. In this scenario, the web application can benefit from read replicas to handle increased demand by offloading read operations to the read replica. This can improve the overall performance and scalability of the web application.
upvoted 1 times
...
DrDopey
2 years, 2 months ago
Selected Answer: B
Increasing the read capability of the RDS with a read replica won't assist the web application to automatically scale so an ElastiCache cluster is more appropriate
upvoted 1 times
...
joanneli77
2 years, 2 months ago
B and D are both plausible. No mention of whether application is dependent on session, and no mention of ratio of reads/writes. Actual questions are more precise, I think.
upvoted 3 times
...
tieyua
2 years, 3 months ago
Selected Answer: B
Question mentioned login and auto scaling, session should be the focus
upvoted 1 times
...
pancman
2 years, 3 months ago
Selected Answer: D
D is correct
upvoted 2 times
...
breathingcloud
2 years, 3 months ago
Selected Answer: B
Store the session state
upvoted 2 times
...
Phinx
2 years, 3 months ago
Selected Answer: D
D for me
upvoted 2 times
...
KT_Yu
2 years, 3 months ago
Selected Answer: B
Create an Amazon ElastiCache cluster. Configure the web application to store session state in the cluster. ElastiCache for Redis auto scaling is the ability to increase or decrease the desired shards or replicas in your ElastiCache for Redis service automatically. https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoScaling.html
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago