Q48 — AWS DOP-C02 Ch.2
Question 48 of 100 | ← Chapter 2
A company wants to use AWS Systems Manager documents to bootstrap physical laptops for developers. The bootstrap program code is stored in GitHub. A DevOps engineer has already created a Systems Manager activation, installed the Systems Manager Agent on the laptops, and registered the activation ID. What set of steps should be taken next?
- A. Configure the Systems Manager document to use the AWS-RunShellScript command to copy files from GitHub to Amazon S3, then use the aws-downloadContent plugin with sourceType set to S3.
- B. Configure the Systems Manager document to use the aws-configurePackage plugin with an install action pointing to the Git repository.
- C. Configure the Systems Manager document to use the aws-downloadContent plugin with sourceType set to GitHub and SourceInfo containing repository details. ✓
- D. Configure the Systems Manager document to use the aws:softwareInventory plugin and run scripts from the Git repository.
Correct Answer: C. Configure the Systems Manager document to use the aws-downloadContent plugin with sourceType set to GitHub and SourceInfo containing repository details.
Explanation
The scenario requires bootstrapping physical laptops using Systems Manager documents with bootstrap code hosted in GitHub. Option C directly satisfies this by configuring the aws-downloadContent plugin with sourceType=GitHub and appropriate SourceInfo—enabling Systems Manager to fetch content from GitHub natively. Other options either lack direct GitHub integration (A, D) or misuse plugins not designed for downloading arbitrary code (B). Therefore, C is correct.