Ultimate access to all questions.
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?
Explanation:
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.