A company uses AWS Systems Manager to manage and patch Amazon EC2 instances. The EC2 instances are registered by IP address in a target group behind an Application Load Balancer (ALB). New security protocols require instances to be removed from service during patching, but attempts now produce errors. Which combination of solutions will resolve the errors? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Implement the AWSEC2-PatchLoadBalanacerInstance Systems Manager Automation document to manage the patching process., Use Systems Manager Maintenance Windows to automatically remove the instances from service to patch the instances..
Why this is the answer
The AWSEC2-PatchLoadBalancerInstance Systems Manager Automation document is designed to safely patch EC2 instances behind a load balancer by deregistering them, patching, and then re-registering them. This directly addresses the requirement to remove instances from service during patching and resolves the errors. Systems Manager Maintenance Windows allow you to define a recurring schedule for performing administrative tasks like patching. By combining Maintenance Windows with the AWSEC2-PatchLoadBalancerInstance document, the patching process can be automated and performed during specified off-peak hours, ensuring instances are removed from service gracefully. Changing the target type to instance type is not necessary and may not resolve the underlying issue of safely removing instances during patching. The existing Systems Manager document is not optimized for this specific scenario, as indicated by the errors. State Manager is for configuration management, not for orchestrating load balancer interactions during patching.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed