AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 238
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 sourceInfo with the repository details.
- D. Configure the Systems Manager document to use the aws:softwareInventory plugin and run the script from the Git repository.
Correct answer: C
Explanation
The correct answer is C because it allows the Systems Manager document to directly pull the bootstrap code from GitHub using the aws-downloadContent plugin, which is specifically designed for this purpose. Options A and B do not utilize the GitHub repository directly, and option D is not suitable as it focuses on software inventory rather than executing bootstrap scripts from a Git repository.