exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

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

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 435 discussion

A company is running its solution on AWS in a manually created VPC. The company is using AWS CloudFormation to provision other parts of the infrastructure. According to a new requirement, the company must manage all infrastructure in an automatic way.

What should the company do to meet this new requirement with the LEAST effort?

  • A. Create a new AWS Cloud Development Kit (AWS CDK) stack that strictly provisions the existing VPC resources and configuration. Use AWS CDK to import the VPC into the stack and to manage the VPC.
  • B. Create a CloudFormation stack set that creates the VPC. Use the stack set to import the VPC into the stack.
  • C. Create a new CloudFormation template that strictly provisions the existing VPC resources and configuration. From the CloudFormation console, create a new stack by importing the Existing resources.
  • D. Create a new CloudFormation template that creates the VPC. Use the AWS Serverless Application Model (AWS SAM) CLI to import the VPC.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
saggy4
Highly Voted 1 year, 2 months ago
Selected Answer: C
D - SAM cannot used for importing and currently we are already using Cloudformation B - Stacksets used to create multiple stacks and currently we are using Cloudformation A - CDK , we will need to change all the entire stack from Cloudformation to CDK C - We can import existing resources in Cloudformation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html
upvoted 10 times
...
AzureDP900
Most Recent 5 months, 3 weeks ago
Option C provides a straightforward way to manage the existing infrastructure in an automatic way with minimal effort.
upvoted 1 times
...
JoeTromundo
6 months, 3 weeks ago
Selected Answer: C
"Use the stack set to import the VPC into the stack." CloudFormation stack sets are designed for deploying stacks across multiple accounts and regions. They are NOT meant for importing existing resources into a single VPC or stack.
upvoted 2 times
...
titi_r
1 year ago
Selected Answer: C
C - correct.
upvoted 2 times
...
titi_r
1 year ago
Selected Answer: C
C - correct.
upvoted 2 times
...
VerRi
1 year, 1 month ago
Selected Answer: C
B means to create a stack set just for VPC, we don't need a stack set to handle just 1 resource
upvoted 3 times
...
career360guru
1 year, 1 month ago
Selected Answer: B
Option B
upvoted 1 times
...
marszalekm
1 year, 2 months ago
Selected Answer: C
I discarded B, because IMO stack sets are not needed.
upvoted 3 times
...
TheCloudGuruu
1 year, 2 months ago
Selected Answer: B
Create a CloudFormation stack
upvoted 1 times
...
arberod
1 year, 2 months ago
Selected Answer: B
agree B
upvoted 1 times
arberod
1 year, 2 months ago
Changed to C
upvoted 1 times
...
...
HunkyBunky
1 year, 2 months ago
Selected Answer: C
I guess C A - is out, because CDK not allow to import any exists resources B - is out, becuase StackSets are used only for create multiple stacks and manage them from a single stack D - is out, because AWS SAM cli - can't be used for import resources in CF
upvoted 4 times
...
kejam
1 year, 2 months ago
Selected Answer: B
Answer B: Because CloudFormation is already in use. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html
upvoted 2 times
...
kejam
1 year, 2 months ago
Selected Answer: A
Answer A: https://aws.amazon.com/blogs/devops/how-to-import-existing-resources-into-aws-cdk-stacks/ https://docs.aws.amazon.com/cdk/v2/guide/cli.html#cli-import
upvoted 1 times
kejam
1 year, 2 months ago
Changing my answer to B: Answer B: Because CloudFormation is already in use. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html
upvoted 1 times
...
...
alexis123456
1 year, 2 months ago
Correct Answer is B
upvoted 2 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