Exam DOP-C02 All QuestionsBrowse all questions from this exam
Question 77

A DevOps engineer is architecting a continuous development strategy for a company’s software as a service (SaaS) web application running on AWS. For application and security reasons, users subscribing to this application are distributed across multiple Application Load Balancers (ALBs), each of which has a dedicated Auto Scaling group and fleet of Amazon EC2 instances. The application does not require a build stage, and when it is committed to AWS CodeCommit, the application must trigger a simultaneous deployment to all ALBs, Auto Scaling groups, and EC2 fleets.

Which architecture will meet these requirements with the LEAST amount of configuration?

    Correct Answer: C

    To meet the requirement of triggering simultaneous deployment to all ALBs, Auto Scaling groups, and EC2 fleets with the least amount of configuration, creating a single AWS CodePipeline pipeline that deploys the application in parallel using a single AWS CodeDeploy application and unique deployment group for each ALB-Auto Scaling group pair is the most efficient approach. This setup ensures that all parts of the application are updated at the same time, leveraging parallel deployments while maintaining simplicity by using a single CodeDeploy application.

Discussion
rhinozDOption: C

You can just use one CodeDeploy application and multiple deployment groups in this case. so C.

devnv

C is the correct answer.

ParagSanyashivOption: C

C is correct.

xdkonorek2Option: B

B is the simplest :) During creation of deployment group: 1. select "Amazon EC2 Auto Scaling groups" 2. tip appears: "You can select up to 10 Amazon EC2 Auto Scaling groups to deploy your application revision to."

that1guy

Also B for me, you can target multiple ASGs as part of one deployment: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_TargetInstances.html#CodeDeploy-Type-TargetInstances-autoScalingGroups

thanhnv142

C is correct: <the application must trigger a simultaneous deployment> means deployment in parallel B and D: no mention of deployment in parallel A: <unique AWS CodeDeploy applications and deployment groups created for each ALB-Auto Scaling group pair> means there are multiple AWS CodeDeploy applications and deployment groups for each site, which is unnecessary

trungtdOption: C

Option B not feasible as it assumes a single deployment group can manage deployments across multiple ALBs and Auto Scaling groups simultaneously, which is not supported.

xdkonorek2Option: B

https://aws.amazon.com/about-aws/whats-new/2023/10/aws-codedeploy-multiple-load-balancers-amazon-ec2-applications/

Aja1

Option C deployed in parallel to all ALB-Auto Scaling group pairs simultaneously. This means that the deployment process is efficient and fast, and all ALBs and Auto Scaling groups receive updates at the same time.

marcoforexamOption: A

A AWS CodePipeline can target multiple AWS CodeDeploy applications.