DOP-C02 exam dumps

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

Single answer

Your DevOps team is managing an application deployed on Amazon EC2 instances within an Auto Scaling Group behind an Application Load Balancer (ALB). The team needs to introduce updates to the application while ensuring minimal downtime. After a discussion, the team decides to use a mutable deployment pattern over an immutable deployment pattern. Which of the following is a key characteristic of using a mutable deployment pattern in this scenario?

  1. A

    The application is updated on existing EC2 instances in place.

  2. B

    New EC2 instances with the updated application version are launched, and old instances are terminated after traffic is shifted.

  3. C

    A blue/green deployment strategy is automatically implemented for safe rollback.

  4. D

    The deployment minimizes risks as it avoids changes to running instances.

Show answer and explanation

Correct answer: A

Explanation

In a mutable deployment pattern, changes are applied directly to the existing infrastructure, such as updating the application on running EC2 instances. While this approach can reduce resource usage and deployment time, it carries risks of downtime or instability if the update introduces issues. In contrast, an immutable deployment pattern creates new infrastructure with the updated version, making rollback safer and more reliable.

  • A. Correct.

    Correct. Mutable deployments involve updating the application on the existing EC2 instances in place, which can lead to potential risks if the update fails.

  • B. Incorrect.

    Incorrect. This describes an immutable deployment pattern, where new instances with the updated application are created, and old instances are eventually decommissioned.

  • C. Incorrect.

    Incorrect. A blue/green deployment strategy aligns with an immutable deployment pattern, not a mutable one.

  • D. Incorrect.

    Incorrect. Mutable deployment does not inherently minimize risks as it modifies running instances, which can lead to downtime or errors if the update fails.

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