Virtual Private Cloud Quiz
An application needs to access data in another AWS account in the same region. Which of the following can be used to ensure that the data can be accessed as required?
A. Establish a NAT instance between both accounts.
B. Use a VPN between both accounts.
C. Use a NAT Gateway between both accounts.
D. Use VPC Peering between both accounts.
D. Use VPC Peering between both accounts.
Options A and C are incorrect because these are used when private resources are required to access the Internet.
Option B is incorrect because it’s used to create a connection between the On-premises and AWS resources.
AWS Documentation mentions the following about VPC Peering:
A VPC Peering connection is a networking connection between two VPCs that enables you to route traffic between them privately. Instances in either VPC can communicate with each other as if they are within the same network. You can create a VPC Peering connection between your own VPCs, with a VPC in another AWS account, or with a VPC in a different AWS Region.
For more information on VPC Peering, please visit the following URL:
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html