When attached to an Amazon VPC (Virtual Private Cloud), the two primary components that provide connectivity with external networks are:
Internet Gateway (IGW): An Internet Gateway is a horizontally scaled, redundant, and highly available VPC component that allows communication between instances in your VPC and the Internet. It serves as a target in your VPC route tables for Internet-routable traffic, providing a path for outbound and inbound traffic.
Virtual Private Gateway (VGW): A Virtual Private Gateway is the Amazon VPC side of a VPN connection. It enables instances in your VPC to securely connect to your on-premises network over an IPsec VPN connection. This is essential for extending your on-premises data center into the cloud securely.
The question asked here attached to vpc , it is very simple NAT Gateway dont attached to VPC but created inside Public Subnet of VPC . Internet Gateway created and attached to VPC.
C. Internet Gateway (IGW): The Internet Gateway allows traffic to flow between your VPC and the internet. It provides a path for public internet connectivity to resources inside the VPC. This is essential for instances that need to communicate with external services on the internet.
B. NAT Gateway (NAT): The Network Address Translation (NAT) Gateway allows private instances within the VPC to access the internet while preventing incoming internet traffic from directly reaching those instances. It provides a way for private subnets to communicate with the internet for tasks like software updates, downloading packages, etc., without exposing the instances' public IPs.
For sure.
Since NAT gateway provides egress only access for instances in private subnets.
And IGW provides egress/Ingress access to resources in public subnets.
should be CD..
offer connection to external, means, the external can access the instances in VPC from internet and on-premise.
A NAT gateway is a Network Address Translation (NAT) service. You can use a NAT gateway so that instances in a private subnet can connect to services outside your VPC but external services cannot initiate a connection with those instances.
B & C are right answers.
B - NAT gateway provides egress only access for instances in private subnets.
C - IGW provides egress/Ingress access to resources in public subnets.
I strongly encourage you to create a VPC from scratch, be sure to use multi-AZ / multiple subnet design, soon you'll realize like Shaktimaan said:
B - NAT gateway provides egress only access for instances in private subnets.
C - IGW provides egress/Ingress access to resources in public subnets.
For SysOps level, we're not even worried about VPN tunnels, VPNs introduce topics such as IPSec...too complicated and an unnecessary topic for SysOps exam....keep it simple bro.
NAT only routes the internet access to the subnets, the correct answer is C&D, when using a VPN to connect the VPC to external network you do need the VGW so the answer is C & D
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.
sami_aniba
4 months, 1 week agoorg7
7 months agoalbert_kuo
8 months, 3 weeks agoMana2021
9 months agoalbert_kuo
11 months, 1 week agoFKZ
1 year, 1 month agowaterzhong
1 year, 10 months agoablazleon
2 years, 1 month agoaidenpearce01
2 years, 1 month agoeinn
2 years, 5 months agoShaktimaan
2 years, 6 months agoAMohanty
2 years, 6 months agoLuizMarques
2 years, 6 months agoCyril_the_Squirl
2 years, 6 months agoArjunu
2 years, 6 months agoNguyenLC1
2 years, 7 months agoLuizMarques
2 years, 6 months ago