AWS Certified SAP on AWS – Specialty (PAS-C01) — Question 35
A company is planning to migrate its SAP workloads to AWS. The company will use two VPCs. One VPC will be for production systems, and one VPC will be for non-production systems. The company will host the non-production systems and the primary node of all the production systems in the same Availability Zone.
What is the MOST cost-effective way to establish a connection between the production systems and the non-production systems?
Answer options
- A. Create an AWS Transit Gateway. Attach the VPCs to the transit gateway. Add the appropriate routes in the subnet route tables.
- B. Establish a VPC peering connection between the two VPCs. Add the appropriate routes in the subnet route tables.
- C. Create an internet gateway in each VPUse an AWS Site-to-Site VPN connection between the two VPCs. Add the appropriate routes in the subnet route tables.
- D. Set up an AWS Direct Connect connection between the two VPCs. Add the appropriate routes in the subnet route tables.
Correct answer: B
Explanation
The correct answer is B because VPC peering is a cost-effective solution for connecting two VPCs within the same region, allowing resources to communicate without incurring data transfer fees associated with other methods. Options A, C, and D involve additional costs and complexities, making them less suitable for a straightforward connection between production and non-production systems.