exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 442 discussion

A company has developed a web application that runs on Amazon EC2 instances in one AWS Region. The company has taken on new business in other countries and must deploy its application into other regions to meet low-latency requirements for its users. The regions can be segregated, and an application running in one region does not need to communicate with instances in other regions.
How should the company's Solutions Architect automate the deployment of the application so that it can be MOST efficiently deployed into multiple regions?

  • A. Write a bash script that uses the AWS CLI to query the current state in one region and output a JSON representation. Pass the JSON representation to the AWS CLI, specifying the --region parameter to deploy the application to other regions.
  • B. Write a bash script that uses the AWS CLI to query the current state in one region and output an AWS CloudFormation template. Create a CloudFormation stack from the template by using the AWS CLI, specifying the --region parameter to deploy the application to other regions.
  • C. Write a CloudFormation template describing the application's infrastructure in the resources section. Create a CloudFormation stack from the template by using the AWS CLI, specify multiple regions using the --regions parameter to deploy the application.
  • D. Write a CloudFormation template describing the application's infrastructure in the Resources section. Use a CloudFormation stack set from an administrator account to launch stack instances that deploy the application to other regions.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
donathon
Highly Voted 3 years, 7 months ago
D A stack set lets you create stacks in AWS accounts across regions by using a single AWS CloudFormation template. All the resources included in each stack are defined by the stack set's AWS CloudFormation template. As you create the stack set, you specify the template to use, as well as any parameters and capabilities that template requires. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html
upvoted 34 times
...
awsec2
Highly Voted 3 years, 7 months ago
d: https://sanderknape.com/2017/07/cloudformation-stacksets-automated-cross-account-region-deployments/
upvoted 5 times
jimmy_sticks
3 years, 6 months ago
based on your link it is C
upvoted 2 times
shammous
3 years, 6 months ago
There is no --regions parameter. The right parameter is --region. Also, you need to use CFo stackset to deploy stacks to other regions (MOST efficiently) "AWS CloudFormation StackSets extends the functionality of stacks by enabling you to create, update, or delete stacks across multiple accounts and regions with a single operation. Using an administrator account, you define and manage an AWS CloudFormation template, and use the template as the basis for provisioning stacks into selected target accounts across specified regions." Ref: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfnstacksets.html
upvoted 1 times
...
...
...
SkyZeroZx
Most Recent 1 year, 10 months ago
Selected Answer: D
Answer is D. "Stack set" is the key.
upvoted 1 times
...
dmscountera
2 years, 6 months ago
Selected Answer: D
Based on all comments
upvoted 2 times
...
jj22222
3 years, 2 months ago
DDDDDDDDDDD
upvoted 1 times
...
cldy
3 years, 4 months ago
D. Write a CloudFormation template describing the applicationג€™s infrastructure in the Resources section. Use a CloudFormation stack set from an administrator account to launch stack instances that deploy the application to other regions.
upvoted 2 times
...
AzureDP900
3 years, 4 months ago
D is right answer
upvoted 1 times
...
andylogan
3 years, 5 months ago
It's D
upvoted 1 times
...
WhyIronMan
3 years, 5 months ago
I'll go with D
upvoted 3 times
...
Waiweng
3 years, 5 months ago
it's D create cloud formation Stack set first
upvoted 3 times
...
Kian1
3 years, 5 months ago
I will go with D
upvoted 2 times
...
Ebi
3 years, 5 months ago
I go with D
upvoted 5 times
...
sanjaym
3 years, 6 months ago
D for sure.
upvoted 2 times
...
halfdeaf
3 years, 6 months ago
Answer is D. "Stack set" is the key. A stack set lets you create stacks in AWS accounts across regions by using a single AWS CloudFormation template.
upvoted 2 times
hilft
2 years, 9 months ago
excellent keyword
upvoted 1 times
...
lalitsrana
3 years, 6 months ago
A stack set lets you create stacks in AWS accounts across regions by using a single AWS CloudFormation template. All the resources included in each stack are defined by the stack set's AWS CloudFormation template. As you create the stack set, you specify the template to use, as well as any parameters and capabilities that template requires.
upvoted 1 times
...
...
elf78
3 years, 6 months ago
D - quoting to the first paragraph of https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfnstacksets.html
upvoted 1 times
...
newme
3 years, 6 months ago
D. create-stack doesn't have --regions parameter. create-stack-instances has --regions parameter, but it's to add stack instances to the stack set. So it's first parameter is --stack-set-name.
upvoted 1 times
...
T14102020
3 years, 6 months ago
Correct answer is D. We need to create a stack set first to create stack instances using the CloudFormation template associated it. You cannot directly create a stack in different regions without first creating a stack set.
upvoted 1 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago