AWS Certified DevOps Engineer – Professional — Question 120
A company wants to use AWS Systems Manager documents to bootstrap physical laptops for developers. The bootstrap code is stored in GitHub. A DevOps engineer has already created a Systems Manager activation, installed the Systems Manager agent with the registration code, and installed an activation ID on all the laptops.
Which set of steps should be taken next?
Answer options
- A. Configure the Systems Manager document to use the AWS-RunShellScript command to copy the files from GitHub to Amazon S3, then use the aws-downloadContent plugin with a sourceType of S3.
- B. Configure the Systems Manager document to use the aws-configurePackage plugin with an install action and point to the Git repository.
- C. Configure the Systems Manager document to use the aws-downloadContent plugin with a sourceType of GitHub and sourcelnfo with the repository details.
- D. Configure the Systems Manager document to use the aws:softwarelnventory plugin and run the script from the Git repository.
Correct answer: C
Explanation
The correct answer is C, as it specifies using the aws-downloadContent plugin with a sourceType of GitHub, which is necessary for directly accessing the bootstrap code stored in GitHub. Option A is incorrect because it suggests an unnecessary step of copying files to S3, while B fails to address the use of GitHub directly. Option D is not suitable as the aws:softwarelnventory plugin is intended for software inventory management, not for executing bootstrap scripts from a Git repository.