A developer needs to perform geographic load testing of an API. The developer must deploy resources to multiple AWS Regions to support the load testing of the API. How can the developer meet these requirements without additional application code?
Select an option, then click Submit answer.
Reference / correct answer:
Create an AWS CloudFormation template that defines the load test resources. Use the AWS CLI create-stack-set command to create a stack set in the desired Regions.
Most accepted answer: B. Create an AWS CloudFormation template that defines the load test resources. Use the AWS CLI create-stack-set command to create a stack set in the desired Regions.
Community votes: B=6, C=1
Selected Answer: B B. Create an AWS CloudFormation template that defines the load test resources. Use the AWS CLI create-stack-set command to create a stack set in the desired Regions. AWS CloudFormation StackSets allow developers to deploy CloudFormation stacks across multiple AWS accounts and regions with a single CloudFormation template. By using the AWS CLI create-stack-set command, the developer can deploy the same CloudFormation stack to multiple regions without additional application code, thereby meeting the requirement for geographic load testing of an API. upvoted 14 times
Selected Answer: B B https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html https://awscli.amazonaws.com/v2/documentation/api/2.1.30/reference/cloudformation/create-stack-set.html upvoted 8 times
Selected Answer: B A) Eliminated: Requires extra steps (deploying Lambda functions) and additional code, making it not optimal. B) Correct - CloudFormation stack sets are specifically designed for deploying resources across multiple Regions and accounts. C) Eliminated - AWS Systems Manager documents are used to automate tasks and manage instances, not specifically for deploying infrastructure across multiple Regions. upvoted 2 times sumanshu 1 year, 7 months ago D) Eliminated - Requires you to manually deploy the CloudFormation stack in each Region individually using the deploy command. upvoted 2 times sumanshu 1 year, 6 months ago D) Eliminated - the deploy command is designed for deploying a single CloudFormation stack in a specific region. If you need to deploy the same stack in multiple regions, you would have to run the deploy command separately for each region, specifying the appropriate region each time upvoted 2 times sumanshu 1 year, 6 months ago B) Correct - Using the create-stack-set command in AWS CloudFormation allows you to deploy resources across multiple AWS Regions with a single command. This is achieved by creating a stack set, which is a collection of AWS CloudFormation stacks that can be managed as a single unit across multiple accounts and regions. Once the stack set is created, you can add stack instances in the desired regions, upvoted 2 times ... ... ...
D) Eliminated - Requires you to manually deploy the CloudFormation stack in each Region individually using the deploy command. upvoted 2 times sumanshu 1 year, 6 months ago D) Eliminated - the deploy command is designed for deploying a single CloudFormation stack in a specific region. If you need to deploy the same stack in multiple regions, you would have to run the deploy command separately for each region, specifying the appropriate region each time upvoted 2 times sumanshu 1 year, 6 months ago B) Correct - Using the create-stack-set command in AWS CloudFormation allows you to deploy resources across multiple AWS Regions with a single command. This is achieved by creating a stack set, which is a collection of AWS CloudFormation stacks that can be managed as a single unit across multiple accounts and regions. Once the stack set is created, you can add stack instances in the desired regions, upvoted 2 times ... ...
D) Eliminated - the deploy command is designed for deploying a single CloudFormation stack in a specific region. If you need to deploy the same stack in multiple regions, you would have to run the deploy command separately for each region, specifying the appropriate region each time upvoted 2 times sumanshu 1 year, 6 months ago B) Correct - Using the create-stack-set command in AWS CloudFormation allows you to deploy resources across multiple AWS Regions with a single command. This is achieved by creating a stack set, which is a collection of AWS CloudFormation stacks that can be managed as a single unit across multiple accounts and regions. Once the stack set is created, you can add stack instances in the desired regions, upvoted 2 times ...