exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 113 discussion

An application running on an Amazon EC2 instance in VPC-A needs to access files in another EC2 instance in VPC-B. Both are in separate AWS accounts. The network administrator needs to design a solution to configure secure access to EC2 instance in VPC-B from VPC-A. The connectivity should not have a single point of failure or bandwidth concerns.
Which solution will meet these requirements?

  • A. Set up a VPC peering connection between VPC-A and VPC-B.
  • B. Set up VPC gateway endpoints for the EC2 instance running in VPC-B.
  • C. Attach a virtual private gateway to VPC-B and set up routing from VPC-A.
  • D. Create a private virtual interface (VIF) for the EC2 instance running in VPC-B and add appropriate routes from VPC-A.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
yakman
Highly Voted 3 years, 9 months ago
Answer A for sure. https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
upvoted 77 times
aguy9
3 years, 9 months ago
I agree, answer is A
upvoted 4 times
youngoose
3 years, 9 months ago
A correct.
upvoted 4 times
...
...
kuman
3 years, 8 months ago
Answer is A. VPC peering supports cross account, cross region, and cross VPC within the same account and does not have bandwidth limitation.
upvoted 9 times
Ravinder2021
3 years, 8 months ago
but the question says that they are in different AWS Accounts
upvoted 2 times
esinan
3 years, 2 months ago
you can connect different accounts each other: https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
upvoted 2 times
...
...
Uzbekistan
1 year, 3 months ago
Both are in separate AWS accounts, read carefully question ! ! !
upvoted 1 times
...
...
manan728
3 years, 7 months ago
This question was on my test that I passed on Nov 20 2021. I picked A. Roughly half of the questions are from this 500 examtopics dump. But other half were unheard of new and lengthy ones in my test. Some of those questions had similarities but had twisted options. Good luck ya'll.
upvoted 9 times
...
...
sgupta_22
Highly Voted 3 years, 9 months ago
A is correct and not D. Though D also looks correct. Reason is Private Virtual Interface will need to be created in that VPC from where you are trying to access the other VPC. This question says that EC2 instance from VPCA will access EC2 instance of VPC B, so ideally Private Virtaul Interface must be created in VPCA to meet the requirement whereas option D says to create it in VPCB. Hence, the option D is incorrect https://aws.amazon.com/premiumsupport/knowledge-center/public-private-interface-dx/
upvoted 30 times
...
Uzbekistan
Most Recent 1 year, 3 months ago
Selected Answer: D
Option D is the most appropriate solution for enabling secure access from VPC-A to the EC2 instance in VPC-B, which are in separate AWS accounts. Here's why: D. Create a private virtual interface (VIF) for the EC2 instance running in VPC-B and add appropriate routes from VPC-A: This option involves setting up a Direct Connect private virtual interface (VIF) between VPC-A and VPC-B. This provides a private, dedicated connection between the VPCs, ensuring secure communication. By configuring the appropriate routes, traffic from the EC2 instance in VPC-A can reach the EC2 instance in VPC-B securely. Using AWS Direct Connect eliminates single points of failure and provides consistent, reliable bandwidth for communication between the VPCs.
upvoted 1 times
...
17Master
2 years, 9 months ago
Selected Answer: A
https://docs.aws.amazon.com/vpc/latest/peering/create-vpc-peering-connection.html#create-vpc-peering-connection-remote You can request a VPC peering connection with a VPC that's in another AWS account. Before you begin, ensure that you have the AWS account number and VPC ID of the VPC to peer with. After you've created the request, the owner of the accepter VPC must accept the VPC peering connection to activate it.
upvoted 1 times
...
Curious76
2 years, 10 months ago
Selected Answer: A
A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses. 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, or with a VPC in another AWS account. The VPCs can be in different regions (also known as an inter-region VPC peering connection).
upvoted 1 times
...
qax2022
2 years, 10 months ago
Selected Answer: A
Should be A. vpc gateway is not for vpcs, but subnets.
upvoted 1 times
...
zammusaz304
2 years, 10 months ago
Selected Answer: A
AAAA for sureee
upvoted 1 times
...
Saja_24
2 years, 10 months ago
Selected Answer: A
Q. What if my peering connection goes down? AWS uses the existing infrastructure of a VPC to create a VPC peering connection; it is neither a gateway nor a VPN connection, and does not rely on a separate piece of physical hardware. There is no single point of failure for communication or a bandwidth bottleneck. Inter-Region VPC Peering operates on the same horizontally scaled, redundant, and highly available technology that powers VPC today. Inter-Region VPC Peering traffic goes over the AWS backbone that has in-built redundancy and dynamic bandwidth allocation. There is no single point of failure for communication. Transit virtual interface To connect to your resources hosted in an Amazon VPC (using their private IP addresses) through a transit gateway, use a transit virtual interface. With a transit virtual interface, you can: Connect multiple Amazon VPCs in the same or different AWS account using Direct Connect. https://aws.amazon.com/premiumsupport/knowledge-center/public-private-interface-dx/ Answer is A
upvoted 2 times
Jobair
2 years, 8 months ago
If the route destination of the VPC peering connection overlaps with that of a Direct Connect or VPN connection, the route may be invalid https://support.huaweicloud.com/intl/en-us/vpc_faq/vpc_faq_0069.html Not sure why we are looking into Direct Connect, DX should be used to connect to on-premises VPN
upvoted 1 times
...
...
Iliyan_Azure
2 years, 11 months ago
A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses. 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, or with a VPC in another AWS account. The VPCs can be in different regions . AWS uses the existing infrastructure of a VPC to create a VPC peering connection; it is neither a gateway nor a VPN connection, and does not rely on a separate piece of physical hardware. There is no single point of failure for communication or a bandwidth bottleneck. https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
upvoted 1 times
...
naveenagurjara
3 years ago
Selected Answer: A
VIF is ONLY when you have a Direct Access connection to on prem.
upvoted 1 times
...
fsanaja1
3 years, 3 months ago
Selected Answer: D
D correct, because it is mentioed EC2 to EC2 no hole VPC to VPC which can contain other instances
upvoted 2 times
bora4motion
2 years, 11 months ago
read more about VIFs.
upvoted 2 times
...
...
FF11
3 years, 6 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
muhsin
3 years, 6 months ago
Ans:A it is not D Because as you can see from the link VIF works with Direct connect or virtual private gateway. So after you attach the interface you still need to have DC or VPG. https://docs.aws.amazon.com/cli/latest/reference/directconnect/create-private-virtual-interface.html#:~:text=A%20private%20virtual%20interface%20can%20be%20connected%20to%20either%20a%20Direct%20Connect%20gateway%20or%20a%20Virtual%20Private%20Gateway%20(VGW).
upvoted 1 times
...
Sharan_25_v
3 years, 6 months ago
Selected Answer: A
A is the easier option
upvoted 1 times
...
Mashuaws
3 years, 7 months ago
A should be the answer https://d1.awsstatic.com/whitepapers/lambda-architecure-on-for-batch-aws.pdf
upvoted 1 times
...
jc966
3 years, 7 months ago
D To connect to your resources hosted in an Amazon Virtual Private Cloud (Amazon VPC) using their private IP addresses, use a private virtual interface. With a private virtual interface, you can: Connect VPC resources (such as Amazon Elastic Compute Cloud (Amazon EC2) instances or load balancers) on your private IP address or endpoint. https://aws.amazon.com/premiumsupport/knowledge-center/public-private-interface-dx/
upvoted 1 times
...
banjojoe
3 years, 8 months ago
i think this is (d) - https://aws.amazon.com/premiumsupport/knowledge-center/public-private-interface-dx/ "To connect to your resources hosted in an Amazon Virtual Private Cloud (Amazon VPC) using their private IP addresses, use a private virtual interface. With a private virtual interface, you can: Connect VPC resources (such as Amazon Elastic Compute Cloud (Amazon EC2) instances or load balancers) on your private IP address or endpoint." the question mentions a direct connection to an ec2 instance, not vpc-to-vpc peering which opens up all the resources
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...