
Answer-first summary for fast verification
Answer: Use a Systems Manager Run Command document to download and install the package. Use rate control to set concurrency to 30. Specify the target by using the user-defined tag as part of the Run Command document.
AWS Systems Manager Run Command includes built-in rate control features that let you manage the concurrency and error thresholds for executing commands across multiple instances. By specifying the user-defined tag as the target and setting the concurrency to 30, Run Command ensures that no more than 30 instances process the command simultaneously. This built-in feature provides the most operationally efficient way to meet the requirement without managing secondary tags or building custom orchestration with Lambda or Step Functions.
Author: Ritesh Yadav
Ultimate access to all questions.
Question #11 A company runs a business application on more than 300 Linux-based instances. Each instance has the AWS Systems Manager Agent (SSM Agent) installed. The company expects the number of instances to grow in the future. All business application instances have the same user-defined tag. A CloudOps engineer wants to run a command on all the business application instances to download and install a package from a private repository. To avoid overwhelming the repository, the CloudOps engineer wants to ensure that no more than 30 downloads occur at one time.
Which solution will meet this requirement in the MOST operationally efficient way?
A
Use a secondary tag to create 10 batches of 30 instances each. Use a Systems Manager Run Command document to download and install the package. Specify the target as part of the Run Command document by using the secondary tag. Run each batch one time.
B
Use an AWS Lambda function to automatically run a Systems Manager Run Command document that reads a list of instance IDs that have the user-defined tag. Set reserved concurrency for the Lambda function to 30.
C
Use a Systems Manager Run Command document to download and install the package. Use rate control to set concurrency to 30. Specify the target by using the user-defined tag as part of the Run Command document.
D
Use a parallel workflow state in AWS Step Functions to automatically run a Systems Manager Run Command document that reads a list of instance IDs that have the user-defined tag. Set the number of parallel states to 30. Run the Step Functions workflow 10 times.
No comments yet.