DOP-C02 exam dumps

DOP-C02 practice question 278 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 278

Select 3

A company is running a highly dynamic application using Amazon ECS on Fargate. The application experiences unpredictable traffic spikes and needs to scale automatically to handle the load. The development team wants to ensure that the scaling of tasks aligns with the application's demands while maintaining cost efficiency. Which of the following steps should the team take to implement an effective auto-scaling strategy?

  1. A

    Configure an ECS service to use a capacity provider with auto-scaling enabled.

  2. B

    Set up a target tracking scaling policy for the ECS service based on the average CPU utilization metric.

  3. C

    Enable RDS storage auto-scaling to handle database layer scalability.

  4. D

    Use the DynamoDB On-Demand capacity mode for handling unpredictable traffic.

  5. E

    Deploy the Kubernetes Cluster Autoscaler to scale ECS tasks automatically.

Show answer and explanation

Correct answers: A, B, D

Explanation

To implement an effective auto-scaling strategy for ECS running on Fargate, the team needs to focus on ECS-specific scaling mechanisms. Configuring a capacity provider with auto-scaling and setting up a target tracking policy ensures that ECS tasks scale in response to application demand. Additionally, using DynamoDB On-Demand capacity mode helps the database layer to handle unpredictable traffic spikes. RDS storage auto-scaling and Kubernetes Cluster Autoscaler are not relevant for this scenario as they address different AWS services or workloads.

  • A. Correct.

    Correct: ECS capacity providers with auto-scaling enabled allow tasks to scale automatically based on demand. This ensures that the ECS service can adjust to traffic spikes effectively.

  • B. Correct.

    Correct: A target tracking scaling policy based on CPU utilization helps ensure that ECS tasks scale dynamically based on workload, maintaining performance and cost efficiency.

  • C. Incorrect.

    Incorrect: While RDS storage auto-scaling is beneficial for scaling database storage, it is not directly related to scaling ECS tasks in this scenario. This option addresses a different layer of scaling.

  • D. Correct.

    Correct: Using DynamoDB On-Demand capacity mode allows the database to scale automatically with unpredictable traffic, complementing the ECS auto-scaling setup.

  • E. Incorrect.

    Incorrect: The Kubernetes Cluster Autoscaler is specific to Amazon EKS and does not apply to ECS. Therefore, it cannot be used to scale ECS tasks.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

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

Start timed exam