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?
A.
Create and deploy an AWS Lambda function in each desired Region. Configure the Lambda function to create a stack from an AWS CloudFormation template in that Region when the function is invoked.
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.
C.
Create an AWS Systems Manager document that defines the resources. Use the document to create the resources in the desired Regions.
D.
Create an AWS CloudFormation template that defines the load test resources. Use the AWS CLI deploy command to create a stack from the template in each Region.
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.
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
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.
==> Discard A: Requires additional application code (Lambda), violating "without additional application code.". Beside, Creating and managing multiple Lambda functions increases workload and is inefficient for large-scale deployment.
==> Discard C: AWS Systems Manager is not designed for infrastructure deployment, violating "deploy resources to multiple AWS Regions."
==> Discard D: Requires manual deployment per Region, violating "deploy resources to multiple AWS Regions" efficiently. This means you have to repeat the deployment process manually for each region, which is time-consuming and error-prone.
B: CloudFormation StackSet automates multi-region deployments, meeting "deploy resources to multiple AWS Regions" efficiently without additional application code.
If using Edge-Optimized endpoint, then the certificate must be in us-east-1
If using Regional endpoint, the certificate must be in the API Gateway region
B
https://aws.amazon.com/ru/about-aws/whats-new/2021/04/deploy-cloudformation-stacks-concurrently-across-multiple-aws-regions-using-aws-cloudformation-stacksets/
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Bibay
Highly Voted 1 year, 7 months agoUntamables
Highly Voted 1 year, 9 months agosumanshu
Most Recent 2 weeks agosumanshu
2 weeks agotrieudo
3 weeks, 1 day agoltfalcon
3 months, 3 weeks ago65703c1
7 months, 2 weeks agohsinchang
1 year, 3 months agorlnd2000
1 year, 4 months agosvrnvtr
1 year, 9 months ago