Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 316 discussion

A software company needs to create short-lived test environments to test pull requests as part of its development process. Each test environment consists of a single Amazon EC2 instance that is in an Auto Scaling group.

The test environments must be able to communicate with a central server to report test results. The central server is located in an on-premises data center. A solutions architect must implement a solution so that the company can create and delete test environments without any manual intervention. The company has created a transit gateway with a VPN attachment to the on-premises network.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Create an AWS CloudFormation template that contains a transit gateway attachment and related routing configurations. Create a CloudFormation stack set that includes this template. Use CloudFormation StackSets to deploy a new stack for each VPC in the account. Deploy a new VPC for each test environment.
  • B. Create a single VPC for the test environments. Include a transit gateway attachment and related routing configurations. Use AWS CloudFormation to deploy all test environments into the VPC.
  • C. Create a new OU in AWS Organizations for testing. Create an AWS CioudFormation template that contains a VPC, necessary networking resources, a transit gateway attachment, and related routing configurations. Create a CloudFormation stack set that includes this template. Use CloudFormation StackSets for deployments into each account under the testing OU. Create a new account for each test environment.
  • D. Convert the test environment EC2 instances into Docker images. Use AWS CloudFormation to configure an Amazon Elastic Kubernetes Service (Amazon EKS) cluster in a new VPC, create a transit gateway attachment, and create related routing configurations. Use Kubernetes to manage the deployment and lifecycle of the test environments.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Richaqua
Highly Voted 1 year ago
This question is very vague. It doesn't say whether each test env is an a separate VPC or a separate account. Not sure why Transit gateway is used here.
upvoted 7 times
...
joleneinthebackyard
Highly Voted 1 year ago
Selected Answer: B
A: no need for new VPC for each test B: sounds ok C: creating new OU for each test? -> out D: too complex since need to containerize from code in EC2 instance
upvoted 5 times
...
AzureDP900
Most Recent 1 week ago
B Option B creates a single VPC for all test environments, which allows them to share the same transit gateway attachment and routing configurations. This approach can simplify the network configuration and reduce the overhead of managing multiple VPCs. Each test environment still has its own isolated network space within the shared VPC, ensuring security and isolation between environments. In fact, option B is a good solution when the requirements don't specify that each test environment needs to have its own isolated network space. Since the test environments only need to communicate with a central server in an on-premises data center, using a single VPC might be sufficient.
upvoted 1 times
...
red_panda
6 months, 2 weeks ago
Selected Answer: A
I'm going with A. There is no needed to have the Transit Gateway without more VPCs for each account. It's also a best practices to have separate environments to isolate test.
upvoted 2 times
helloworldabc
3 months, 1 week ago
jusy b
upvoted 1 times
...
...
career360guru
1 year ago
Selected Answer: B
Choice is between A & B. Given there are no other requirements for using stacksets B is most simple.
upvoted 3 times
titi_r
7 months, 2 weeks ago
What's the purpose of the transit gateway in this case and what you'll do if you want to delete a single test environment? I lean more to A.
upvoted 2 times
...
JMAN1
10 months, 2 weeks ago
I am following your answer. :)
upvoted 1 times
...
...
nublit
1 year ago
Selected Answer: B
B is the best answer
upvoted 1 times
...
Ustad
1 year ago
Selected Answer: B
LEAST operational overhead -> B no need to over-complicate it
upvoted 1 times
...
KungLjao
1 year ago
Selected Answer: B
Not sure abot the benefits od using a stack set in this case, going with B
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 ...