DOP-C02 exam dumps

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

Select 2

Your organization manages a fleet of EC2 instances that scale dynamically based on traffic. You are tasked with ensuring all instances in the fleet are updated with the latest application version and security patches without downtime. You also need to ensure that the system can roll back if an issue is detected during the update process. Which combination of AWS services would best meet these requirements?

  1. A

    AWS Systems Manager for patch management and AWS CodeDeploy for orchestrating rolling updates.

  2. B

    AWS Elastic Beanstalk for managing updates and AWS Auto Scaling for traffic-based scaling.

  3. C

    AWS Auto Scaling for instance replacement and AWS Systems Manager for automation runbooks.

  4. D

    AWS Systems Manager for inventory collection and AWS CodeDeploy for blue/green deployments.

  5. E

    AWS OpsWorks for application deployment and AWS Auto Scaling for scaling the fleet automatically.

Show answer and explanation

Correct answers: A, D

Explanation

To manage a fleet of EC2 instances with dynamic scaling, AWS Systems Manager handles patch management and inventory collection, ensuring that all instances in the fleet are updated. AWS CodeDeploy complements this by providing reliable application deployment strategies, such as rolling updates and blue/green deployments, with rollback capabilities. This combination ensures minimal downtime and resilience during updates.

  • A. Correct.

    Correct: AWS Systems Manager can be used for patch management to ensure all instances are updated with the latest patches. AWS CodeDeploy is ideal for handling rolling updates or blue/green deployments with rollback capabilities.

  • B. Incorrect.

    Incorrect: While AWS Elastic Beanstalk can manage application deployments, it is not designed to directly manage fleets of EC2 instances at this level of granularity or handle patch management.

  • C. Incorrect.

    Incorrect: AWS Auto Scaling can replace instances, but it does not provide the application update or patch management capabilities required in this scenario. Automation runbooks in Systems Manager alone are not sufficient for seamless application updates.

  • D. Correct.

    Correct: AWS Systems Manager can collect inventory and manage updates, while AWS CodeDeploy supports blue/green deployments, which allow for zero-downtime updates and rollback functionality.

  • E. Incorrect.

    Incorrect: AWS OpsWorks is a configuration management service that can handle deployments, but it does not integrate as seamlessly with AWS Systems Manager for dynamic patching or support the rollback mechanisms provided by AWS CodeDeploy.

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