exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 7 discussion

A company's application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. On the first day of every month at midnight, the application becomes much slower when the month-end financial calculation batch executes. This causes the CPU utilization of the EC2 instances to immediately peak to 100%, which disrupts the application.
What should a solutions architect recommend to ensure the application is able to handle the workload and avoid downtime?

  • A. Configure an Amazon CloudFront distribution in front of the ALB.
  • B. Configure an EC2 Auto Scaling simple scaling policy based on CPU utilization.
  • C. Configure an EC2 Auto Scaling scheduled scaling policy based on the monthly schedule.
  • D. Configure Amazon ElastiCache to remove some of the workload from the EC2 instances.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
cmthiru
Highly Voted 3 years, 7 months ago
Answer - C; Scheduled scaling allows you to set your own scaling schedule. In this case the scaling action can be scheduled to occur just prior to the time that the reports will be run each month. Scaling actions are performed automatically as a function of time and date. This will ensure that there are enough EC2 instances to serve the demand and prevent the application from slowing down. CORRECT: "Configure an EC2 Auto Scaling scheduled scaling policy based on the monthly schedule" is the correct answer.
upvoted 47 times
rein_chau
2 years, 7 months ago
I agree, because of this clue: "This causes the CPU utilization of the EC2 instances to IMMEDIATELY peak to 100%". You must schedule to scale up b beforehand because the spike takes place IMMEDIATELY.
upvoted 6 times
...
...
FR99
Highly Voted 3 years, 7 months ago
Answer is 'C'
upvoted 13 times
...
GB32
Most Recent 1 year ago
I go with C as well that makes sense, especially if we have predictable web traffic data insights then it's easy to set the schedule up for scaling/
upvoted 1 times
...
LEEOscar
1 year, 1 month ago
Scheduled scaling, also known as scheduled auto scaling, is a feature provided by cloud computing platforms like Amazon Web Services (AWS) that allows users to automatically adjust the number of resources (such as compute instances or containers) in a cloud environment based on predefined schedules or conditions. answer is C
upvoted 1 times
...
mfaktas
1 year, 5 months ago
Selected Answer: C
The answer is C because the ec2's are already autoscaled and that didnt solve the issue so there has to be another action which is to schedule procedure.
upvoted 1 times
...
jatric
1 year, 8 months ago
Agreed correct answer should be 'C' as CPU utilization reaches to 100% immediately so it makse sens to have auto scalling policy based on scheduled time.
upvoted 1 times
...
Mouncif
2 years, 1 month ago
the Answer is CE according to this https://aws.amazon.com/kinesis/data-analytics/
upvoted 1 times
...
Sachin032
2 years, 3 months ago
Selected Answer: C
Thats the perfect policy
upvoted 2 times
...
thensanity
2 years, 4 months ago
as the time is predictable, scheduled scaling can be applied in this scenario.
upvoted 1 times
...
system88
2 years, 4 months ago
Selected Answer: C
C is the answer. We know correct time.
upvoted 1 times
...
Uncle_D
2 years, 5 months ago
I would go with C, because the issues occurs on schedule (that has factor of predictability). However, As an architect I also look at CPU (B). For example, if i am autoscaling at 7:00 pm that with the understanding the CPU% is taken into consideration as a threshold before it scheduled is triggered. What if the application peaks randomly prior slightly to the triggered scheduled. I would apply the schedule with cpu range of percentage as a buffer in the event random spike occurs around the established time.
upvoted 1 times
...
keshavgoyal
2 years, 7 months ago
Selected Answer: B
If we go with option B, we can simple take care of scenarios where the application can face outage due to lack of resources, sure if we schedule the ASG, we will have some resources available before the CPU utilisation reaches 100%, but here the key is "100%", so if we set the ASG threshold for CPU utilities at 70%, the resources will be available before time, of course give that the application is not spiking the CPU utilisation randomly (from 40% to 80-90% directly)
upvoted 2 times
...
Admiral
2 years, 7 months ago
B. the answer is B, since the spike is tied to CPU utilization
upvoted 1 times
...
Suya
2 years, 8 months ago
My answer is C
upvoted 1 times
...
bikshu
2 years, 8 months ago
i will go with C
upvoted 1 times
...
joe2211
3 years, 4 months ago
Selected Answer: C
vote C
upvoted 1 times
...
RidzV
3 years, 5 months ago
Schedule of spike in traffic is known. Hence correct answer would be C.
upvoted 1 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