A SysOps Administrator is configuring automated monthly patching for a fleet of Amazon EC2 instances running Red Hat Enterprise Linux (RHEL). The administrator creates a custom patch baseline named RHEL-Critical-Baseline to approve only critical security updates. The target EC2 instances are tagged with the tag key Patch Group and the value RHEL-Production. The SSM Agent is running on all target instances, and an IAM instance profile with the AmazonSSMManagedInstanceCore policy is attached to all of them. The administrator then configures a Systems Manager State Manager association to run the AWS-RunPatchBaseline document on the instances tagged with Patch Group: RHEL-Production. During execution, the administrator observes that the instances are being patched, but they are receiving all updates from the default AWS-provided RHEL patch baseline rather than the custom RHEL-Critical-Baseline. Which action will resolve this issue?
- Register the RHEL-Production patch group with the RHEL-Critical-Baseline custom patch baseline.Answer
- BModify the State Manager association parameters to pass the custom baseline name RHEL-Critical-Baseline directly into the AWS-RunPatchBaseline document.
- CConfigure an IAM policy for the EC2 instances' instance profile that includes iam:PassRole permissions for the custom patch baseline ARN.
- DUpdate the VPC route table associated with the private subnets hosting the instances to add a route to the local internet gateway (IGW) for SSM endpoint communication.