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

An ecommerce website is deploying its web application as Amazon Elastic Container Service (Amazon ECS) container instances behind an Application Load
Balancer (ALB). During periods of high activity, the website slows down and availability is reduced. A solutions architect uses Amazon CloudWatch alarms to receive notifications whenever there is an availability issue so they can scale out resources. Company management wants a solution that automatically responds to such events.
Which solution meets these requirements?

  • A. Set up AWS Auto Scaling to scale out the ECS service when there are timeouts on the ALB. Set up AWS Auto Scaling to scale out the ECS cluster when the CPU or memory reservation is too high.
  • B. Set up AWS Auto Scaling to scale out the ECS service when the ALB CPU utilization is too high. Setup AWS Auto Scaling to scale out the ECS cluster when the CPU or memory reservation is too high.
  • C. Set up AWS Auto Scaling to scale out the ECS service when the service's CPU utilization is too high. Set up AWS Auto Scaling to scale out the ECS cluster when the CPU or memory reservation is too high.
  • D. Set up AWS Auto Scaling to scale out the ECS service when the ALB target group CPU utilization is too high. Set up AWS Auto Scaling to scale out the ECS cluster when the CPU or memory reservation is too high.
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
merlin6666
Highly Voted 3 years, 8 months ago
D: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-configure-auto-scaling.html To configure target tracking scaling policies for your service For Scaling policy type, choose Target tracking. For Policy name, enter a descriptive name for your policy. For ECS service metric, choose the metric to track. The following metrics are available: ECSServiceAverageCPUUtilization—Average CPU utilization of the service. ECSServiceAverageMemoryUtilization—Average memory utilization of the service. ALBRequestCountPerTarget—Number of requests completed per target in an Application Load Balancer target group.
upvoted 55 times
waqas
3 years, 8 months ago
ECSServiceAverageCPUUtilization—Average CPU utilization of the service. i we are going for this then C is not right in that case?????
upvoted 3 times
...
DS01
3 years, 7 months ago
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-autoscaling-targettracking.html refer step 3-- the answer should be C
upvoted 10 times
...
Stud
3 years, 8 months ago
Your link takes us to Answer C. The above mentioned are service metrics and not ALB metrics as pointed in option D.
upvoted 21 times
noahsark
3 years, 7 months ago
ALBRequestCountPerTarget—Number of requests completed per target in an Application Load Balancer target group. For Target value, enter the metric value that the policy should maintain. For example, use a target value of 1000 for ALBRequestCountPerTarget, or a target value of 75(%) for ECSServiceAverageCPUUtilization. https://docs.amazonaws.cn/en_us/AmazonECS/latest/developerguide/service-configure-auto-scaling.html
upvoted 2 times
andwill1001
3 years, 7 months ago
Again... requestcountpertarget metric is for the ALB target group. CPU util is for the service. The answer is in the text.
upvoted 3 times
Kuro091
2 years, 11 months ago
ALBRequestCountPerTarget metric is part of "ECS service metric". Like, I know it has "ALB" in the name but it's not part of ALB metric. It's counting the request to the ALB
upvoted 1 times
...
...
...
...
...
Always_Wanting_Stuff
Highly Voted 3 years, 7 months ago
For ECS service metric, choose the metric to track. The following metrics are available: ECSServiceAverageCPUUtilization—Average CPU utilization of the service. ECSServiceAverageMemoryUtilization—Average memory utilization of the service. ALBRequestCountPerTarget—Number of requests completed per target in an Application Load Balancer target group. CPU MENTIONED WITH SERVICE. NOT CPU & ALB. HAS TO BE C.
upvoted 19 times
...
alfredt
Most Recent 2 years, 9 months ago
Selected Answer: C
CCCCCC
upvoted 1 times
...
queen101
2 years, 10 months ago
CCCCCCCCCCCCCC
upvoted 1 times
...
Alfene
2 years, 10 months ago
It is C
upvoted 1 times
...
marklovesaws143
2 years, 10 months ago
Selected Answer: C
CCCCCCCCCCCCCC
upvoted 1 times
...
monazir
2 years, 11 months ago
Selected Answer: A
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html
upvoted 1 times
...
Taner22
2 years, 11 months ago
Selected Answer: C
I think C
upvoted 1 times
...
naveenagurjara
2 years, 11 months ago
C. Use Cloudwatch alarms to monitor the ECS Service utilization and scale out via ASG.
upvoted 1 times
...
slcheng
2 years, 11 months ago
Selected Answer: A
Review few times and statement mentioned "Amazon CloudWatch alarms to be notified when an availability problem occurs, allowing them to scale out resources." which answer fullfill the statement.
upvoted 1 times
...
jinxiao2010
3 years, 3 months ago
Selected Answer: A
It should be A. CPU utilization or memory usage is not a metric to tell the availability of the website.
upvoted 2 times
rac_sp
2 years, 8 months ago
that is correcto. For example, you can monitor withe the cloud watch The number of connections that were not successfully established between the load balancer and target. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html if there are two many, it means that the availability is a problem. then scale out !
upvoted 1 times
...
...
saifeddine92
3 years, 3 months ago
Selected Answer: D
i go with D
upvoted 1 times
...
Javatar
3 years, 4 months ago
it should C because there is no such thing ALB target group CPU utilization
upvoted 4 times
...
Salem_Express
3 years, 4 months ago
Selected Answer: D
it's better to rely on the aggregate CPU utilization of the target group as metric to scale out individual service in the group. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html
upvoted 1 times
...
yassora
3 years, 4 months ago
answer is C
upvoted 1 times
...
pierceh
3 years, 4 months ago
when the serviceג€™s CPU utilization is too high. Does 'the serviceג€™` mean lambda?? what does ג€™ mean and what has it to do with ECS?
upvoted 1 times
...
FF11
3 years, 4 months ago
Selected Answer: C
C is correct.
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 ...