exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 753 discussion

A company is running its AWS infrastructure across two AWS Regions. The company has four VPCs in the eu-west-1 Region and has two VPCs in the us-east-1
Region. The company also has an on-premises data center in Europe that has two AWS Direct Connect connections in eu-west-1.
The company needs a solution in which Amazon EC2 instances in each VPC can connect to each other by using private IP addresses. Servers in the on-premises data center also must be able to connect to those VPCs by using private IP addresses.
What is the MOST cost-effective solution that meets these requirements?

  • A. Create an AWS Transit Gateway in each Region, and attach each VPC to the transit gateway in that Region. Create cross-Region peering between the transit gateways. Create two transit VIFs, and attach them to a single Direct Connect gateway. Associate each transit gateway with the Direct Connect gateway.
  • B. Create VPC peering between each VPC in the same Region. Create cross-Region peering between each VPC in different Regions. Create two private VIFs, and attach them to a single Direct Connect gateway. Associate each VPC with the Direct Connect gateway.
  • C. Create VPC peering between each VPC in the same Region. Create cross-Region peering between each VPC in different Regions. Create two public VIFs that are configured to route AWS IP addresses globally to on-premises servers.
  • D. Create an AWS Transit Gateway in each Region, and attach each VPC to the transit gateway in that Region. Create cross-Region peering between the transit gateways. Create two private VIFs, and attach them to a single Direct Connect gateway. Associate each VPC with the Direct Connect gateway.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Jupi
Highly Voted 3 years, 1 month ago
A - In correct. It will work, but there is cost for each transit gateway B - Correct. https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/transit-gateway-vs-vpc-peering.html "Lower cost — With VPC peering you only pay for data transfer charges. Transit Gateway has an hourly charge per attachment in addition to the data transfer fees. " C - public VIFs is for public IP D - for transit gateways, you need transit VIFs, not private VIFs..
upvoted 15 times
MikelH93
1 year, 6 months ago
i go A first but after reading this article i go B https://cloudonaut.io/advanved-aws-networking-pitfalls-that-you-should-avoid/
upvoted 1 times
...
...
asfsdfsdf
Highly Voted 2 years, 4 months ago
A is the only correct answer Why not B? 1) VPC peering edge to edge is not possible also its not trasetive with VPN / DC - how on-prem servers will be able to communicate with VPCs on another region? https://docs.aws.amazon.com/vpc/latest/peering/invalid-peering-configurations.html#edge-to-edge-vgw 2) you cant associate VPCs to a direct connect GW only virtual private GW or transit GW https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-gateways-intro.html C - uses public VIFs cant be correct D - will not route traffic between regions as it uses private VIFs and not transit VIFs For A its documented architecture - Two DCs, Two VIFs, DX GW and inter-region transit peering, here: https://docs.aws.amazon.com/whitepapers/latest/hybrid-connectivity/aws-dx-dxgw-with-aws-transit-gateway-multi-regions-and-aws-public-peering.html
upvoted 8 times
...
marszalekm
Most Recent 10 months, 1 week ago
In B it states: "Associate each VPC with the Direct Connect gateway." you can't do that directly, you must use VGW. If this is implied, then B is of course the best.
upvoted 1 times
...
nhorcajada
1 year, 1 month ago
Selected Answer: A
its A https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/aws-direct-connect-aws-transit-gateway.html
upvoted 1 times
...
Jesuisleon
1 year, 6 months ago
Selected Answer: B
Can someone enlighted me for it seems for me that one private VIF mapped into one direct connect gateway, so "Create two private VIFs, and attach them to a single Direct Connect gateway" seems strange for me. I searched in the internet only find one direct connection support 50 private VIFs and 500 VPCs, but I didn't find the relationship between direct connection gateway and private VIF( not direct connection and private VIF )
upvoted 2 times
Jesuisleon
1 year, 6 months ago
or how many direct connection gateways can one single direct connection have ?
upvoted 1 times
...
...
Heer
1 year, 10 months ago
For those who have selected B : This solution would be effective in allowing EC2 instances in each VPC to connect to each other using private IP addresses, and for the on-premises data center to connect to the VPCs using private IP addresses. However, this solution may not be the most cost-effective option, as the cost of the two private VIFs and the Direct Connect gateway can add up. Additionally, there may be additional latency when communicating between VPCs in different Regions due to the cross-Region peering. Option A is the right answer here The most cost-effective solution for this scenario is to create a transit gateway in each Region and connect all the VPCs to the transit gateways. You can then configure a Direct Connect connection to each transit gateway and route all the traffic between the VPCs through the transit gateways. This will allow all instances in the VPCs to connect to each other and to the on-premises data center by using private IP addresses, and it will minimize the overall cost of the solution.
upvoted 2 times
...
evargasbrz
1 year, 11 months ago
Selected Answer: B
I'll go with B - it's the most cost-effective solution comparing to A
upvoted 2 times
...
alxjandroleiva
2 years, 1 month ago
Selected Answer: B
Clearly B choice, most cost-effective
upvoted 2 times
...
JohnPi
2 years, 1 month ago
Selected Answer: A
AWS Transit Gateway + transit VIF
upvoted 3 times
JohnPi
2 years, 1 month ago
option B cost less (you do not pay the transit gateway) but is missing the VGW (each VGW is attached to a VPC)
upvoted 1 times
...
...
pinhead900
2 years, 2 months ago
Selected Answer: A
you can ONLY associate a transit gateway or a virtual private gateway to the direct connect gateways, therefore B cannot be correct https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-gateways-intro.html
upvoted 4 times
...
hilft
2 years, 4 months ago
B. Forum is right. This is a terrible question. I would go for a real-world environment. As an architect, I would always go for transit gateway because peering over peering got scalability issues.
upvoted 1 times
...
bkrish
2 years, 7 months ago
Selected Answer: B
B for cost-effective solution and it make use of DC gateway
upvoted 1 times
...
Ni_yot
2 years, 9 months ago
Will go with B as well. We must use private VIFs for connectivity. https://aws.amazon.com/premiumsupport/knowledge-center/public-private-interface-dx/
upvoted 1 times
...
futen0326
2 years, 9 months ago
Selected Answer: B
Not enough VPCs for A to be correct, we're going for cost-efficiency.. B will work fine here.
upvoted 1 times
...
Clandestine60
2 years, 10 months ago
Selected Answer: B
B is the answer. cross-region vpc peering handles inter-vpc communication and 2 private VIFs are all thats needed for the ON-prem DC to the differnt VPC connections. 1 private VIF for 1 direct connect connection and the 2nd private VIF for the second DConnect connection. This is possible because we are using a DConnect gateway. with DC gateway, we just need a single private VIF for connectivity to multiple VPCs. Details Here: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/direct-connect.html
upvoted 1 times
...
HellGate
2 years, 10 months ago
Selected Answer: D
Answer is D. This question ask on Transit Gateway Association. https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-gateways-intro.html
upvoted 1 times
...
ByomkeshDas
2 years, 10 months ago
Seems option B has lowest cost. But there they have said to create only 2 Private VIFs. But there are total 4+2=6 VPCs in the two regions. So it require 6 private VIFs not 2. Otherwise option A is correct.
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 ...