A SysOps administrator needs to deploy a custom application update to a fleet of Amazon EC2 instances by using AWS Systems Manager Run Command. The administrator wants to execute the deployment in a rolling manner to maintain application availability, ensuring that at least instances remain online and healthy during the process. Additionally, the deployment must stop immediately if more than instances fail the installation to prevent further errors across the fleet.
Which two configurations should the administrator specify when executing the Run Command? (Select TWO.)
- Set the Max Concurrency rate control parameter to or .Answer
- Set the Max Errors rate control parameter to or .Answer
- CSet the Max Concurrency rate control parameter to or .
- DConfigure a target patch group with the tag key 'PatchGroup' and associate it with a custom patch baseline.
- EConfigure an IAM role with the 'iam:AssumeRole' permission for the Systems Manager service role instead of 'iam:PassRole' permissions.
Answer
To configure the rolling deployment correctly using AWS Systems Manager Run Command, the administrator must set the Max Concurrency rate control parameter to or and the Max Errors rate control parameter to or .
The correct configurations are setting the Max Concurrency rate control parameter to or and the Max Errors rate control parameter to or . Setting Max Concurrency to limits the active deployment target count to instances at any time, leaving instances () active to serve traffic. Setting Max Errors to halts the execution of the Run Command across the remaining fleet as soon as instances report a failure, minimizing the impact of a faulty deployment.
Step-by-Step Solution
Key Concept
AWS Systems Manager Run Command rate controls (Max Concurrency and Max Errors) allow SysOps administrators to manage rolling deployments and control fault tolerance across large fleets of instances.