AWS Certified Solutions Architect – Professional (SAP-C02) — Question 309

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?

Answer options

Correct answer: B

Explanation

Option B is the correct choice because utilizing a single, pre-configured VPC with an established transit gateway attachment minimizes operational overhead, as it avoids the need to repeatedly create and delete VPCs or routing tables. Options A and C introduce significant complexity and delay by provisioning new VPCs or entirely new AWS accounts for short-lived test environments. Option D adds unnecessary overhead by requiring containerization and the deployment of a complex Amazon EKS cluster.