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

A finance company is running its business-critical application on current-generation Linux EC2 instances. The application includes a self-managed MySQL database performing heavy I/O operations. The application is working fine to handle a moderate amount of traffic during the month. However, it slows down during the final three days of each month due to month-end reporting, even though the company is using Elastic Load Balancers and Auto Scaling within its infrastructure to meet the increased demand.
Which of the following actions would allow the database to handle the month-end load with the LEAST impact on performance?

  • A. Pre-warming Elastic Load Balancers, using a bigger instance type, changing all Amazon EBS volumes to GP2 volumes.
  • B. Performing a one-time migration of the database cluster to Amazon RDS, and creating several additional read replicas to handle the load during end of month.
  • C. Using Amazon CloudWatch with AWS Lambda to change the type, size, or IOPS of Amazon EBS volumes in the cluster based on a specific CloudWatch metric.
  • D. Replacing all existing Amazon EBS volumes with new PIOPS volumes that have the maximum available storage size and I/O per second by taking snapshots before the end of the month and reverting back afterwards.
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
donathon
Highly Voted 3 years, 7 months ago
B A\C\D: Would not solve the problem as the bottleneck is on the DB. Amazon ELB is able to handle the vast majority of use cases for our customers without requiring "pre-warming" (configuring the load balancer to have the appropriate level of capacity based on expected traffic). In certain scenarios, such as when flash traffic is expected, or in the case where a load test cannot be configured to gradually increase traffic, we recommend that you contact us to have your load balancer "pre-warmed". We will then configure the load balancer to have the appropriate level of capacity based on the traffic that you expect. We will need to know the start and end dates of your tests or expected flash traffic, the expected request rate per second and the total size of the typical request/response that you will be testing.
upvoted 36 times
challenger1
3 years, 4 months ago
"The bottleneck is on the DB" - well said.
upvoted 1 times
...
...
Moon
Highly Voted 3 years, 7 months ago
I support "B" answer. A: is not appropriate as the pre-warming ELB requires to contact AWS, and that is recommended if the traffic is expecting to have sudden increase in 5 minutes duration. C: not practical. D: does not add much enhancement. Plus the question never talked about snapshots!
upvoted 19 times
...
nimbus_00
Most Recent 6 months, 3 weeks ago
Selected Answer: B
Amazon RDS + Read Replicas
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: B
keyword = read replicas B
upvoted 1 times
...
hilft
2 years, 9 months ago
I'm also going for B. with the LEAST amount of performance degradation.
upvoted 1 times
...
aandc
2 years, 9 months ago
Selected Answer: B
D is based on metric, still could have performance degradation. "LEAST amount of performance degradation"
upvoted 1 times
...
HellGate
3 years, 2 months ago
C B and D need too much manual works and there is still possibility of failure by unexpected events.
upvoted 1 times
...
zoliv
3 years, 3 months ago
B; month-end reporting == READ REPLICAS
upvoted 1 times
...
pititcu667
3 years, 3 months ago
Selected Answer: B
Which of the following actions would enable the database to manage the month-end load with the LEAST amount of performance degradation? For me this is key moving all the reads to a read replica will be highly efficient .
upvoted 1 times
...
peddyua
3 years, 3 months ago
B is an overkill, solution needs to solve the issue for the last 3 days that's why C seems more relevant, you can test it in stage to know how much time it takes to switch EBS so then you can schedule it ahead of time. Plus read replica comes with a cost and the rest of the time it won't do anything.
upvoted 1 times
...
tkanmani76
3 years, 3 months ago
Option C is right - Refer https://aws.amazon.com/blogs/storage/automating-amazon-ebs-volume-resizing-with-aws-step-functions-and-aws-systems-manager/
upvoted 2 times
...
AzureDP900
3 years, 4 months ago
last three days of each month owing to month-end reporting is key here in this question, I will go with B. C doesn't make any sense to me
upvoted 2 times
...
StelSen
3 years, 5 months ago
Both B & C technically will work and satisfies the requirement. But I will choose C. Because we already know high volumes are just last 3 days. So, I will execute the lambda on 26th 11pm to change it to IOPS and run the lambda again on 1st 6am of the month to revert to original. Just bare in mind, adding read replicas comes with heavy cost and no use to do this just for 3 days high usage.
upvoted 1 times
...
tgv
3 years, 5 months ago
CCC: --- "You can now increase volume size, adjust performance, or change the volume type while the volume is in use. You can continue to use your application while the change takes effect. Spiking Demand – You are running a relational database on a Provisioned IOPS volume that is set to handle a moderate amount of traffic during the month, with a 10x spike in traffic during the final three days of each month due to month-end processing. You can use Elastic Volumes to dial up the provisioning in order to handle the spike, and then dial it down afterward." --> https://aws.amazon.com/blogs/aws/amazon-ebs-update-new-elastic-volumes-change-everything/ ---- Option C refers to the attached EBS volumes (not EC2 instances) While option B might work as well, I don't see the need of creating several additional read replicas to be used just in the final three days of the month. AUrora MySQL with Auto-Scaling Read Replicas would have been nice
upvoted 6 times
...
student22
3 years, 5 months ago
C This will handle the spike.
upvoted 1 times
student22
3 years, 5 months ago
Changing to B
upvoted 1 times
...
...
Kopa
3 years, 5 months ago
after reading all comments i choose C as from the link https://aws.amazon.com/blogs/aws/amazon-ebs-update-new-elastic-volumes-change-everything/
upvoted 1 times
...
DerekKey
3 years, 6 months ago
C correct - Amazon EBS Elastic Volumes - By using Amazon CloudWatch with AWS Lambda you can automate volume changes to meet the changing needs of your applications.
upvoted 3 times
TiredDad
3 years, 6 months ago
But that seems like a reactive approach and would have atleast some impact on the performance. We want LEAST impact on the performance and hence read replicas should be the solution
upvoted 1 times
StelSen
3 years, 5 months ago
It can be proactive. We already know last 3 days are high vol. So, I will execute the lambda on 26th 11pm to change it to IOPS and run the lambda again on 1st of the month to decrease. Just bare in mind, adding read replicas comes with heavy cost and no use to do this just for 3 days high usage.
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