exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 786 discussion

A company owns a chain of travel agencies and is running an application in the AWS Cloud. Company employees use the application to search for information about travel destinations. Destination content is updated four times each year.
Two fixed Amazon EC2 instances serve the application. The company uses an Amazon Route 53 public hosted zone with a multivalue record of travel.example.com that returns the Elastic IP addresses for the EC2 instances. The application uses Amazon DynamoDB as its primary data store. The company uses a self-hosted Redis instance as a caching solution.
During content updates, the load on the EC2 instances and the caching solution increases drastically. This increased load has led to downtime on several occasions. A solutions architect must update the application so that the application is highly available and can handle the load that is generated by the content updates.
Which solution will meet these requirements?

  • A. Set up DynamoDB Accelerator (DAX) as in-memory cache. Update the application to use DAX. Create an Auto Scaling group for the EC2 instances. Create an Application Load Balancer (ALB). Set the Auto Scaling group as a target for the ALB. Update the Route 53 record to use a simple routing policy that targets the ALB's DNS alias. Configure scheduled scaling for the EC2 instances before the content updates.
  • B. Set up Amazon ElastiCache for Redis. Update the application to use ElastiCache. Create an Auto Scaling group for the EC2 instances. Create an Amazon CloudFront distribution, and set the Auto Scaling group as an origin for the distribution. Update the Route 53 record to use a simple routing policy that targets the CloudFront distribution's DNS alias. Manually scale up EC2 instances before the content updates.
  • C. Set up Amazon ElastiCache for Memcached. Update the application to use ElastiCache Create an Auto Scaling group for the EC2 instances. Create an Application Load Balancer (ALB). Set the Auto Scaling group as a target for the ALB. Update the Route 53 record to use a simple routing policy that targets the ALB's DNS alias. Configure scheduled scaling for the application before the content updates.
  • D. Set up DynamoDB Accelerator (DAX) as in-memory cache. Update the application to use DAX. Create an Auto Scaling group for the EC2 instances. Create an Amazon CloudFront distribution, and set the Auto Scaling group as an origin for the distribution. Update the Route 53 record to use a simple routing policy that targets the CloudFront distribution's DNS alias. Manually scale up EC2 instances before the content updates.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
AndySH
Highly Voted 2 years, 9 months ago
Answer is A. DynamoDB Accelerator (DAX) is a fully managed, custom cache for DynamoDB. ElastiCache supports both Redis and Memcached and typically used to cache results from relational databases
upvoted 7 times
...
minmax
Most Recent 8 months, 3 weeks ago
Selected Answer: B
Correct answer is B -> During content updates, the load on the EC2 instances and the caching solution increases drastically The EC2 and Redis are the components that are in most need of an upgrade.
upvoted 1 times
minmax
8 months, 3 weeks ago
I was wrong. I didn't notice: -> Create an Amazon CloudFront distribution, and set the Auto Scaling group as an origin for the distribution. You can't have an ASG as an origin, which disqualifies this answer.
upvoted 1 times
...
...
evargasbrz
1 year, 11 months ago
Selected Answer: A
I'll go with A It's not possible to configure an Auto Scaling group as an origin for the distribution, so B is wrong.
upvoted 1 times
...
nsvijay04b1
2 years, 1 month ago
Selected Answer: B
Key points -> he company uses a self-hosted Redis instance as a caching solution. ( Managed Redis is obvious choice as you would make use of existing redis cache data migrated , DAX is overkill here micro secs latency ? really? ) -> During content updates, the load on the EC2 instances and the caching solution increases drastically. ( Need cloudfront as well, as load is on EC2 too not only DB)
upvoted 1 times
Byrney
2 years ago
A: The load is during *update* and on EC2 and Redis because the EC2 instance is writing to both Redis as well as DynamoDB for each update. DAX is a write through cache = 1 write only. https://aws.amazon.com/blogs/database/amazon-dynamodb-accelerator-dax-a-read-throughwrite-through-cache-for-dynamodb/ Cloudfront won't help here.
upvoted 1 times
...
...
asfsdfsdf
2 years, 4 months ago
Selected Answer: A
CF cant point to an ASG so B and D are out - MemCached is not HA so its out only A left
upvoted 4 times
...
Bigbearcn
2 years, 10 months ago
Selected Answer: A
It's A. B or D is wrong because cloudfront is not needed in this case.
upvoted 2 times
adsdadasdad
2 years, 8 months ago
Yet the content is "static" because it only gets updated 4 times a year? A makes sense but b and d are good alternatives. Go with A.
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 ...