A SysOps Administrator is setting up automated patching for a fleet of Amazon EC2 instances using AWS Systems Manager Patch Manager. The administrator creates a custom patch baseline named 'Production-Security-Baseline' to install critical security updates. To target the instances, the administrator registers a patch group named 'Prod-Servers' and associates it with the custom baseline. The SSM Agent is verified as installed and running on all instances, and the 'AmazonSSMManagedInstanceCore' managed policy is attached to the IAM instance profile of each instance. The administrator tags the target instances with the key 'PatchGroup' and the value 'Prod-Servers'. During the next scheduled maintenance window, the administrator observes that the Systems Manager Run Command using the 'AWS-RunPatchBaseline' document executes successfully, but the instances are patched using the default baseline ('AWS-DefaultPatchBaseline') instead of 'Production-Security-Baseline'. Which of the following explains why the custom patch baseline was not applied to the instances?
- AThe IAM instance profile attached to the instances is missing the 'iam:PassRole' permission, which prevents the Systems Manager Run Command execution from assuming the role required to run the custom baseline.
- BThe custom patch baseline must be set as the default patch baseline in the AWS Region for the patch group association to override the default system baseline.
- The tag key used on the instances was 'PatchGroup', but AWS Systems Manager Patch Manager requires the tag key to be exactly 'Patch Group' (case-sensitive) to associate instances with a patch group.Cevap
- DThe instances are located in a private subnet and cannot resolve the Systems Manager endpoint because the VPC gateway endpoint for Systems Manager has not been associated with the subnet's route table.