DOP-C02 exam dumps

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

Select 3

Your team is managing an e-commerce application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). For the next deployment, your manager suggests using a mutable deployment pattern to reduce the operational overhead. Which of the following aspects BEST describe the risks or characteristics associated with mutable deployments compared to immutable deployments?

  1. A

    The existing EC2 instances are updated in place, which increases the risk of configuration drift.

  2. B

    Rollbacks are more complex because the previous application version and environment state might not be preserved.

  3. C

    Mutable deployments require deploying new EC2 instances and decommissioning the old ones, ensuring no configuration drift.

  4. D

    The deployment process is faster with mutable deployments since there is no need to provision new instances.

  5. E

    Testing and validation of the new deployment can be done in isolation before switching traffic in a mutable deployment.

Show answer and explanation

Correct answers: A, B, D

Explanation

Mutable deployments involve updating existing resources (e.g., EC2 instances) in place. While they are faster and might reduce operational overhead initially, they introduce risks like configuration drift and make rollbacks more complex. Immutable deployments, on the other hand, create new resources and switch traffic to them, avoiding these risks at the cost of more infrastructure management.

  • A. Correct.

    Correct: With mutable deployments, updates are applied directly to existing resources, which increases the chances of configuration drift if changes are not properly managed.

  • B. Correct.

    Correct: Because the updates occur in place, rolling back to a previous state can be challenging since the environment’s previous state might not be preserved.

  • C. Incorrect.

    Incorrect: This describes an immutable deployment pattern, where new resources are provisioned, and old ones are decommissioned to avoid configuration drift.

  • D. Correct.

    Correct: Mutable deployments are typically faster since they do not require provisioning entirely new resources, unlike immutable deployments.

  • E. Incorrect.

    Incorrect: Testing and validation in isolation before traffic switching is a characteristic of immutable deployments, where a new environment is created and tested before replacing the old one.

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