ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

461 / 500

Question 461:

Your team uses AWS CodeDeploy to automate the deployments to several AWS EC2 instances and on-premises instances. A deployment group is used to define which individual instances are included. For some testing activities, you need to remove one on-premises instance from the deployment group for two weeks. During the time, AWS CodeDeploy should not deploy any new revisions to this particular instance. Which of the following methods is the most appropriate?

Answer options:

A.Use the AWS CLI command aws deploy uninstall to uninstall the CodeDeploy agent and remove the configuration file from the on-premises instance.
B.Use the AWS CLI command aws deploy deregister to deregister the on-premises instance from the AWS CodeDeploy service.
C.Create another deployment group with a new tag that is not used by all the on-premises instances. Modify the CodeDeploy application to use this new deployment group.
D.Check the tag used by the deployment group and use the AWS CLI "aws deploy remove-tags-from-on-premises-instances" to remove the tag from the particular on-premises instance.