ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 192 - DOP-C02 discussion

Report
Export

A company has an AWS CodeDeploy application. The application has a deployment group that uses a single tag group to identify instances for the deployment of Application A. The single tag group configuration identifies instances that have Environment=Production and Name=ApplicattonA tags for the deployment of ApplicationA. The company launches an additional Amazon EC2 instance with Department=Marketing Environment^Production. and Name=ApplicationB tags. On the next CodeDeploy deployment of ApplicationA. the additional instance has ApplicationA installed on it. A DevOps engineer needs to configure the existing deployment group to prevent ApplicationA from being installed on the additional instance Which solution will meet these requirements?

A.
Change the current single tag group to include only the Environment=Production tag Add another single tag group that includes only the Name=ApplicationA tag.
Answers
A.
Change the current single tag group to include only the Environment=Production tag Add another single tag group that includes only the Name=ApplicationA tag.
B.
Change the current single tag group to include the Department=Marketmg Environment=Production and Name=ApplicationAtags
Answers
B.
Change the current single tag group to include the Department=Marketmg Environment=Production and Name=ApplicationAtags
C.
Add another single tag group that includes only the Department=Marketing tag. Keep the Environment=Production and Name=ApplicationA tags with the current single tag group
Answers
C.
Add another single tag group that includes only the Department=Marketing tag. Keep the Environment=Production and Name=ApplicationA tags with the current single tag group
D.
Change the current single tag group to include only the Environment=Production tag Add another single tag group that includes only the Department=Marketing tag
Answers
D.
Change the current single tag group to include only the Environment=Production tag Add another single tag group that includes only the Department=Marketing tag
Suggested answer: A

Explanation:

To prevent ApplicationA from being installed on the additional instance, the deployment group configuration needs to be more specific. By changing the current single tag group to include only theEnvironment=Productiontag and adding another single tag group that includes only theName=ApplicationAtag, the deployment process will target only the instances that match both tag groups. This ensures that only instances intended for ApplicationA with the correct environment and name tags will receive the deployment, thus excluding the additional instance with theDepartment=MarketingandName=ApplicationBtags.

AWS CodeDeploy Documentation:Working with instances for CodeDeploy

AWS CodeDeploy Documentation:Stop a deployment with CodeDeploy

Stack Overflow Discussion:CodeDeploy Deployment failed to stop Application

asked 16/09/2024
JAOID EL OUALITI
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first