ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

460 / 500

Question 460:

Your company owns an on-premises Ubuntu server in a local data center where several legacy applications are running. You want to use AWS CodeDeploy to deploy new application revisions to this particular on-premises instance but firstly you need to register the server in CodeDeploy and use an IAM user to perform the authentication. Which of the following methods is the most appropriate?

Answer options:

A.Create an IAM role for the on-premises server and assign the CodeDeploy permissions to the role. Use the register AWS CLI command to bind the IAM role with the server.
B.Include the IAM user in the CodeDeploy configuration file. Install the CodeDeploy agent in the server with the configuration file and the server will be registered in CodeDeploy automatically.
C.Use the AWS CLI command deploy register to create an IAM user for the on-premises server, save the IAM credentials to the configuration file in the server and register it with CodeDeploy.
D.Use the AWS CLI command deploy tag-resource to create an IAM user for the on-premises server, register it with CodeDeploy, and add a tag to the server. CodeDeploy will deploy new revisions to the server based on this particular tag.