Q1 — AWS DOP-C02 Ch.2
Question 1 of 100 | ← Chapter 2
A company wants to use AWS Systems Manager Documents to guide developers on physical laptops. The guidance program code is stored in GitHub. Developers and deployment engineers have already created a Systems Manager activation, installed the Systems Manager Agent and registration code, and installed an activation identity on the laptops.
- 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 S3.
- B. Configure the Systems Manager document to use the aws:configurePackage plugin with install action and point to the Git repository.
- C. Configure the Systems Manager document to use the aws:downloadContent plugin with sourceType GitHub and provide repository details and source information. ✓
- 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 GitHub and provide repository details and source information.
Explanation
This question tests how to configure AWS Systems Manager Documents to pull content directly from GitHub. According to AWS documentation, the aws:downloadContent plugin supports downloading content from sources including GitHub, where the sourceType parameter can be set to GitHub. Correct configuration requires defining sourceType as GitHub and specifying repository path, branch, commit ID, etc. Option C aligns with this logic. Other options—such as S3 intermediary (A), configure package (B), or software inventory (D)—are not standard methods for direct GitHub content download.