DOP-C02 exam dumps

DOP-C02 practice question 275 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 275

Select 4

A company is running a web application that uses a combination of Amazon EC2 instances for compute, Amazon RDS for its relational database, and Amazon DynamoDB for storing session data. The application experiences unpredictable traffic spikes. The DevOps team wants to ensure the application scales automatically to handle traffic surges while optimizing costs. Which auto-scaling capabilities can be implemented to achieve this?

  1. A

    Configure EC2 Auto Scaling groups to scale the number of instances based on CPU utilization thresholds.

  2. B

    Enable Amazon RDS storage auto scaling to dynamically adjust the allocated storage as the database grows.

  3. C

    Use the DynamoDB Write Capacity Auto Scaling feature to adjust write capacity units based on traffic demands.

  4. D

    Implement Amazon ECS Capacity Providers to automatically scale the number of Amazon ECS tasks based on service metrics.

  5. E

    Configure the Amazon Aurora read replica auto-scaling feature to automatically adjust the number of read replicas based on query load.

Show answer and explanation

Correct answers: A, B, C, D

Explanation

The scenario requires leveraging auto-scaling capabilities across multiple AWS services to handle unpredictable traffic spikes efficiently. EC2 Auto Scaling ensures elasticity for the compute layer, RDS storage auto scaling manages the relational database storage, and DynamoDB Write Capacity Auto Scaling adjusts for session data traffic patterns. ECS Capacity Providers allow dynamic scaling of ECS tasks, ensuring the application can handle workload changes effectively. Aurora read replica auto-scaling is not relevant here since the question does not specify the use of Aurora.

  • A. Correct.

    Correct: EC2 Auto Scaling groups can scale the number of EC2 instances in or out based on metrics like CPU utilization, network traffic, or custom CloudWatch metrics.

  • B. Correct.

    Correct: Amazon RDS storage auto scaling automatically increases storage capacity as needed, preventing downtime due to storage exhaustion.

  • C. Correct.

    Correct: DynamoDB Write Capacity Auto Scaling adjusts the provisioned write capacity units dynamically based on traffic patterns, ensuring cost efficiency.

  • D. Correct.

    Correct: Amazon ECS Capacity Providers allow ECS tasks to scale dynamically based on service metrics and demand, ensuring efficient resource utilization.

  • E. Incorrect.

    Incorrect: While Amazon Aurora supports read replica auto-scaling, this feature is specific to Aurora and not applicable to the broader scenario outlined in the question, which focuses on RDS in general rather than Aurora.

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