An operations team manages a fleet of Amazon EC2 instances that require periodic software updates. They want to use AWS Systems Manager to apply patches automatically while ensuring that patches are tested before production deployment. Which approach meets these requirements?
Patch Manager automates the entire patching process by using a patch baseline to define which patches are approved, when they are approved (e.g., after a test period expressed in days), and how those rules are applied to tagged instance groups. Maintenance windows schedule when the patching runs on test and production fleets, ensuring production patches are installed only after the baseline's approval delay lets the test fleet validate them. This combination provides automation, a testing gate, and controlled rollout windows, which directly satisfies the requirement.
Why this answer
AWS Systems Manager Patch Manager, when combined with maintenance windows and a patch baseline configured with an approval delay after a test period, allows patches to be automatically applied to test instances first and then, after a defined waiting period, to production instances. This ensures patches are tested before production deployment without manual intervention, meeting the requirement for automated, staged patching.
Exam trap
The trap here is that candidates often confuse Run Command (a manual, ad-hoc tool) with Patch Manager (an automated, policy-driven service), or they assume that simply enabling automatic approval (Option B) is sufficient without considering the need for a testing delay.
How to eliminate wrong answers
Option A is wrong because using Automation to patch instances one by one does not inherently provide a test-before-production staging mechanism; it simply serializes patching without a defined approval delay. Option B is wrong because enabling automatic approval for all patches bypasses any testing period, applying patches to all instances immediately without validation. Option C is wrong because Run Command is a manual execution tool, not an automated solution, and it does not enforce a test period before production deployment.