
Answer-first summary for fast verification
Answer: Establish a single VPC for all test environments, incorporating a transit gateway attachment and associated routing configurations. Utilize AWS CloudFormation to deploy all test environments into this VPC.
The correct answer is B. Creating a single VPC for all test environments, as suggested in option B, includes a transit gateway attachment and related routing configurations, which reduces the operational overhead significantly. Utilizing AWS CloudFormation to deploy all test environments into this single VPC simplifies the management and automation of the environments without requiring the deployment of new stacks or VPCs for each test environment, as described in other options. This approach provides the least operational overhead while ensuring that the test environments can easily communicate with the central server located in the on-premises data center.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A software company requires short-lived test environments for testing pull requests within its development process. Each environment consists of a single EC2 instance within an Auto Scaling group and must communicate with a central server in an on-premises data center to report test results. The company has established a transit gateway with a VPN attachment to the on-premises network. A solutions architect needs to devise a solution that allows for the automatic creation and deletion of these test environments with minimal operational overhead. Which solution best meets these requirements?
A
Develop an AWS CloudFormation template that includes a transit gateway attachment and associated routing configurations. Use this template to create a CloudFormation stack set, deploying a new stack for each VPC in the account, and set up a new VPC for each test environment.
B
Establish a single VPC for all test environments, incorporating a transit gateway attachment and associated routing configurations. Utilize AWS CloudFormation to deploy all test environments into this VPC.
C
Create a new organizational unit (OU) in AWS Organizations dedicated to testing. Design an AWS CloudFormation template that encompasses a VPC, essential networking resources, a transit gateway attachment, and associated routing configurations. Use this template to create a CloudFormation stack set for deployment into each account under the testing OU, and establish a new account for each test environment.
D
Transform the test environment EC2 instances into Docker images. Employ AWS CloudFormation to set up an Amazon Elastic Kubernetes Service (Amazon EKS) cluster in a new VPC, create a transit gateway attachment, and establish associated routing configurations. Leverage Kubernetes to manage the deployment and lifecycle of the test environments.