SOA-C02 practice question 8 of 10

[Deployment, Provisioning, and Automation] To manage Auto Scaling group instances that have OS vulnerabilities, the SysOps administrator needs an automated patching solution. Options:

Full set: 557 questions
Answer options
A: Use AWS Systems Manager Patch Manager to patch the instances during a scheduled maintenance window. In the AWS-RunPatchBaseline document, ensure that the RebootOption parameter is set to RebootIfNeeded. Correct answer
B: Use EC2 Image Builder pipelines on a schedule to create new Amazon Machine Images (AMIs) and new launch templates that reference the new AMIs. Use the instance refresh feature for EC2 Auto Scaling to replace instances.
C: Use AWS Config to scan for operating system vulnerabilities and to patch instances when the instance status changes to NON_COMPLIANT. Send an Amazon Simple Notification Service (Amazon SNS) notification to an operations team to reboot the instances during off-peak hours.
D: In the Auto Scaling launch template, provide an Amazon Machine Image (AMI) ID for an AWS- provided base image. Update the user data with a shell script to download and install patches.
Correct Answer:
A. Use AWS Systems Manager Patch Manager to patch the instances during a scheduled maintenance window. In the AWS-RunPatchBaseline document, ensure that the RebootOption parameter is set to RebootIfNeeded.
Explanation

Utilizing AWS Systems Manager Patch Manager to automate instance patching during scheduled maintenance windows ensures that vulnerabilities are patched effectively, while the RebootOption parameter allows instances to reboot only when necessary.

Why Incorrect

B. Using EC2 Image Builder creates new AMIs but does not ensure ongoing patch management in an automated way.
C. AWS Config does not patch instances; it primarily assesses compliance rather than perform remediation.
D. Updating user data for an AMI does not provide the automated patching capabilities actively and consistently needed for vulnerability management.

References
Scroll to Top