SAA-C03 exam dumps

SAA-C03 practice question 154 of 553

AWS Certified Solutions Architect - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAA-C03 Question 154

Single answer

A company is running containerized applications using Amazon Elastic Container Service (Amazon ECS) with the AWS Fargate launch type. The company wants to implement a solution that will automatically scale the number of running tasks in their ECS service based on CPU utilization. What should the Solutions Architect do to meet this requirement?

  1. A

    Enable Service Auto Scaling for the ECS service and define a scaling policy based on CPU utilization.

  2. B

    Use an Application Load Balancer (ALB) to monitor traffic and scale the ECS service automatically.

  3. C

    Manually increase or decrease the desired count of tasks in the ECS service based on CPU utilization metrics.

  4. D

    Deploy the ECS service to an Amazon EC2 Auto Scaling group to automatically scale tasks based on resource usage.

Show answer and explanation

Correct answer: A

Explanation

To automatically scale ECS tasks based on CPU utilization, you must enable Service Auto Scaling for the ECS service. This involves creating scaling policies that define when to add or remove tasks based on metrics like CPU utilization, which are collected by Amazon CloudWatch. Other options, such as manually scaling tasks or relying on an ALB or EC2 Auto Scaling, do not fulfill the requirement for automatic scaling of ECS tasks.

  • A. Correct.

    This is the correct option. Enabling Service Auto Scaling for the ECS service and defining a scaling policy based on CPU utilization allows the ECS service to automatically increase or decrease the number of tasks based on specified thresholds.

  • B. Incorrect.

    Incorrect. While an ALB can route traffic to ECS tasks, it does not directly enable scaling based on CPU utilization metrics. Auto Scaling policies need to be explicitly configured.

  • C. Incorrect.

    Incorrect. Manually scaling tasks is not automated and does not meet the requirement of automatic scaling based on CPU utilization.

  • D. Incorrect.

    Incorrect. Deploying ECS services to an EC2 Auto Scaling group does not automatically scale the number of ECS tasks. Auto Scaling groups scale EC2 instances, not ECS tasks.

Timed practice exam

Take a SAA-C03 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam