Exam: AWS Certified Cloud Practitioner 0 Likes
A company needs to establish a connection between two VPCs. The VPCs (CLF-C02)
A company needs to establish a connection between two VPCs. The VPCs are located in two different AWS Regions. The company wants to use the existing infrastructure of the VPCs for this connection.
Which AWS service or feature can be used to establish this connection?
A) AWS Client VPN.
B) VPC peering.
C) AWS Direct Connect.
D) VPC endpoints.
Solution
Correct answer: B) VPC peering.
VPC peering allows you to connect two VPCs within the same AWS account or between different AWS accounts. It enables you to route traffic between the connected VPCs using private IP addresses as if they were part of the same network. VPC peering operates at the networking layer and does not require internet access or a VPN connection.
Here's why the other options wouldn't be suitable:
A. AWS Client VPN: This service is used to provide secure access to AWS resources and services from remote networks or users over a VPN connection. It's typically used for remote access to resources within a VPC, not for connecting VPCs across different regions.
C. AWS Direct Connect: This service is used to establish a dedicated network connection between your on-premises network and one AWS Region, providing a private, high-bandwidth, low-latency connection. It doesn't directly connect VPCs across different regions.
D. VPC endpoints: VPC endpoints enable you to privately connect your VPC to supported AWS services without requiring internet gateway, NAT devices, VPN connections, or AWS Direct Connect connections. They facilitate connectivity to AWS services like S3 or DynamoDB without traversing the public internet. However, they don't establish connectivity between VPCs across different regions.
Category: Cloud concepts