Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

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

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

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 275 discussion

A company runs an internal browser-based application. The application runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. The Auto Scaling group scales up to 20 instances during work hours, but scales down to 2 instances overnight. Staff are complaining that the application is very slow when the day begins, although it runs well by mid-morning.

How should the scaling be changed to address the staff complaints and keep costs to a minimum?

  • A. Implement a scheduled action that sets the desired capacity to 20 shortly before the office opens.
  • B. Implement a step scaling action triggered at a lower CPU threshold, and decrease the cooldown period.
  • C. Implement a target tracking action triggered at a lower CPU threshold, and decrease the cooldown period.
  • D. Implement a scheduled action that sets the minimum and maximum capacity to 20 shortly before the office opens.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
asoli
Highly Voted 1 year, 8 months ago
Selected Answer: C
At first, I thought the answer is A. But it is C. It seems that there is no information in the question about CPU or Memory usage. So, we might think the answer is A. why? because what we need is to have the required (desired) number of instances. It already has scheduled scaling that works well in this scenario. Scale down after working hours and scale up in working hours. So, it just needs to adjust the desired number to start from 20 instances. But here is the point it shows A is WRONG!!! If it started with desired 20 instances, it will keep it for the whole day. What if the load is reduced? We do not need to keep the 20 instances always. That 20 is the MAXIMUM number we need, no the DESIRE number. So it is against COST that is the main objective of this question. So, the answer is C
upvoted 29 times
c10356a
11 months ago
There is no cooldown period in target tracking, but warm-up time.
upvoted 2 times
pentium75
10 months, 4 weeks ago
There is a cooldown period in the auto-scaling group, which helps 'keeping costs to a minimum' as instances would be removed sooner.
upvoted 4 times
...
...
mandragon
1 year, 6 months ago
If it stars with 20 instances it will not keep it all day. It will scale down based on demand. The scheduled action in Option A simply ensures that there are enough instances running to handle the increased traffic when the day begins, while still allowing the Auto Scaling group to scale up or down based on demand during the rest of the day. https://docs.aws.amazon.com/autoscaling/ec2/userguide/scale-your-group.html
upvoted 10 times
TheFivePips
8 months, 4 weeks ago
From what I can tell, you must specify an end time, or else it will run indefinitly. So I think A would be right, if they specified an end time. Otherwise C is more cost effective https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html
upvoted 3 times
...
xdkonorek2
12 months ago
This is right, setting desired capacity doesn't turn off autoscaling policies
upvoted 3 times
...
...
...
meowruki
Highly Voted 11 months, 3 weeks ago
Selected Answer: C
C. Implement a target tracking action triggered at a lower CPU threshold, and decrease the cooldown period. Here's the reasoning: Target Tracking Scaling Policy: With a target tracking scaling policy, you can set a target value for a specific metric, such as CPU utilization. The Auto Scaling group then adjusts the capacity to maintain that target. Lower CPU Threshold: By triggering the target tracking action at a lower CPU threshold, the Auto Scaling group can proactively add instances when the workload increases, helping to address the slowness at the beginning of the day. Decrease Cooldown Period: Reducing the cooldown period allows the Auto Scaling group to scale in and out more rapidly, making adjustments quicker in response to changing demand.
upvoted 6 times
meowruki
11 months, 3 weeks ago
Options A and D involve scheduled actions, which are time-based and may not be as responsive to immediate changes in demand. They also do not dynamically respond to varying workloads.
upvoted 2 times
...
...
AbhiBK
Most Recent 2 months, 3 weeks ago
Question is about cost effectiveness hence Use target tracking scaling policies to maintain a specific metric, such as CPU utilization or request count per target. This allows the Auto Scaling group to dynamically adjust the number of instances based on real-time demand. We do not need to have 20 instances up and running during start of the day.
upvoted 2 times
...
maryam_sh
2 months, 3 weeks ago
Selected Answer: A
Not C because: target tracking scaling attempts to maintain a target metric (like average CPU utilization). While more responsive, it would still react to increased load rather than pre-scaling. The initial slow period would persist as the scaling reacts to the increased demand rather than anticipating it.
upvoted 2 times
...
ChymKuBoy
4 months, 2 weeks ago
Selected Answer: A
A for sure.
upvoted 2 times
...
foha2012
10 months ago
Answer is A. Makes more sense to me.
upvoted 1 times
...
pentium75
10 months, 4 weeks ago
Selected Answer: C
A is not cost effective, it would set the number of instances to maximum even before the first employee arrives. D is not cost effective, it would cause the permanent use of 20 instances B could almost work, but if you configure small steps then it scales too slowly in the morning; if you configure big steps (like "add 8 instances at a time") it would scale in the morning but not be cost-efficient during the day. C would address the requirement, it would scale to meet a certain CPU utilization. Decreasing the cooldown period (which is not possible for the scaling policy itself but for the auto-scaling group) would help 'keeping costs to a minimum'.
upvoted 3 times
...
Mikado211
11 months, 1 week ago
Selected Answer: A
The question 369 is exactly the same problem, Since a scheduled scaling doesn't disable the autoscaling later in the day the A works perfectly well.
upvoted 3 times
...
Cyberkayu
11 months, 1 week ago
A. since only a boot storm issue at 9am and settle down in mid morning, 20 instance is enough to support the workload NOT C. Reduce threshold to trigger (lets say 50% from 80% utilization) and lower cool down period, will still take time to ramp up to max 20 instance.
upvoted 1 times
pentium75
10 months, 4 weeks ago
How would scaling up to the maximum number of instances "keep costs to a minimum"?
upvoted 2 times
...
...
MoshiurGCP
11 months, 2 weeks ago
Selected Answer: A
I would go with A. Autoscaling is still there and the problem is clearly in morning.
upvoted 4 times
pentium75
10 months, 4 weeks ago
WOuld not keep costs to a minimum
upvoted 2 times
...
...
wearrexdzw3123
1 year ago
My mistake, I should have chosen c. A lower threshold can expand in advance, and lowering cooling can increase the expansion frequency.
upvoted 3 times
...
wearrexdzw3123
1 year ago
Selected Answer: A
I choose option A because the root of the problem is the inability of the scaling speed in the morning to meet the demand, rather than what criteria to use for scaling.
upvoted 1 times
pentium75
10 months, 4 weeks ago
How would scaling up to the maximum number of instances "keep costs to a minimum"?
upvoted 2 times
...
...
TariqKipkemei
1 year, 1 month ago
To keep costs to a minimum target tracking is the best option. For example the scaling metric is the average CPU utilization of the EC2 auto scaling instances, and their average during the day should always be 80%. When CloudWatch detects that the average CPU utilization is beyond 80% at start of day, it will trigger the target tracking policy to scale out the auto scaling group to meet this target utilization. Once everything is settled and the average CPU utilization has gone below 80% at night, another scale in action will kick in and reduce the number of auto scaling instances in the auto scaling group.
upvoted 4 times
TariqKipkemei
1 year, 1 month ago
Option C is best
upvoted 2 times
...
...
Ramdi1
1 year, 2 months ago
Selected Answer: A
I am going A based on it stating upto 20 so you already know what they maximum they use which is n a sense consistent. however i can see why people have put C. I think they need more clarification on the questions.
upvoted 3 times
pentium75
10 months, 4 weeks ago
How would scaling up to the maximum number of instances "keep costs to a minimum"?
upvoted 2 times
...
...
Uzbekistan
1 year, 2 months ago
Selected Answer: A
A. Implement a scheduled action that sets the desired capacity to 20 shortly before the office opens.
upvoted 2 times
pentium75
10 months, 4 weeks ago
How would scaling up to the maximum number of instances "keep costs to a minimum"?
upvoted 2 times
...
...
Uzbekistan
1 year, 2 months ago
CHATGPT says Answers is A A. Implement a scheduled action that sets the desired capacity to 20 shortly before the office opens.
upvoted 1 times
...
BrijMohan08
1 year, 2 months ago
Selected Answer: A
Scaling Out: In the morning when you schedule the AWS EC2 scaling to have a minimum and maximum of 20 instances, if the load on your application increases beyond the current number of instances, AWS Auto Scaling will automatically launch new instances to meet the demand up to the maximum of 20 instances. Scaling In: As the load on your application decreases in the afternoon or night, AWS Auto Scaling will continuously monitor the health and load of your instances. If the instances are underutilized and can be terminated without affecting your application's performance, AWS Auto Scaling will automatically scale in by terminating excess instances, Why not D? If you specify the min instance, AWS will always keep the minimum number of instances (20 in this case) running.
upvoted 2 times
JA2018
1 day, 16 hours ago
borrowing pentium75's oft-repeated words for this thread .... How would scaling up to the maximum number of instances "keep costs to a minimum"?
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 ...