DOP-C02 exam dumps

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

Single answer

Your company utilizes an Amazon EC2-based application stack, and you are tasked with deploying a new version of the application. The team is debating between using a mutable deployment pattern or an immutable deployment pattern. Which of the following describes a key advantage of using a mutable deployment pattern over an immutable one?

  1. A

    It allows in-place updates, reducing resource usage during deployments.

  2. B

    It ensures zero-downtime deployments by using new instances for every change.

  3. C

    It eliminates the risk of configuration drift by replacing the entire infrastructure.

  4. D

    It guarantees that the old environment is always available for rollback.

Show answer and explanation

Correct answer: A

Explanation

Mutable deployments involve making changes to the existing infrastructure in-place, which can reduce resource usage during deployment processes. However, they come with risks such as configuration drift and increased potential for downtime. This contrasts with immutable deployments, which create new instances for the updated application, ensuring consistency and easier rollback.

  • A. Correct.

    This is correct. Mutable deployments perform in-place updates to existing resources, which often results in reduced resource consumption compared to immutable deployments.

  • B. Incorrect.

    This is incorrect. Zero-downtime deployments are typically associated with immutable deployment patterns, where new instances are provisioned for the updated version.

  • C. Incorrect.

    This is incorrect. Immutable deployments, not mutable deployments, eliminate configuration drift by always provisioning a fresh environment for updates.

  • D. Incorrect.

    This is incorrect. Immutable deployments often allow for easier rollback by keeping the old environment intact, but mutable deployments modify the existing resources in-place, making rollback more complex.

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