Virtual Private Cloud (VPC) Networking Flashcards
Which of the following correctly describe NAT gateways?
a. The are redundant inside the availability zone
b. Must be patched
c. Scales from 5 Gbps to 45 Gbps
d. Are associated with security groups
e. Are automatically assigned an IP address
a. The are redundant inside the availability zone (Correct)
c. Scales from 5 Gbps to 45 Gbps (Correct)
e. Are automatically assigned an IP address (Correct)
b. Must be patched (Incorrect)
- NAT Gateways do not need to be patched
d. Are associated with security groups (Incorrect)
- NAT Gateways are not associated with security groups
True or False? You can’t have a subnet
that spans multiple Availability Zones.
True.
Explain how to create an Availability Zone-independent architecture.
To create an availability Zone-independent architecture, you need to create NAT gateways in each Availability Zone. And then, you just need to configure your routing to ensure that the resources use the NAT gateway in the same Availability Zone.
True or false? If you have resources in multiple Availability Zones and they share a NAT gateway, in the event that that NAT gateway’s Availability Zone is down, then the resources in the other Availability Zones are going to lose internet access.
True.
Security groups are ________ .
If you send a request from your instance, the response traffic to that request is allowed to flow in regardless of the inbound security group rules. Responses to allowed inbound traffic are
allowed to flow out regardless of the outbound rules.
stateful
True or False. So when you create a VPC,
you get a default Network ACL automatically,
and that, by default, denies all inbound
and outbound traffic for security reasons.
False. So when you create a VPC, you get a default Network ACL automatically, and that, by default, also allows all inbound and outbound traffic.
True or False. By default, each custom Network ACL denies all inbound and outbound traffic until you add rules.
True. By default, each custom Network ACL denies all inbound and outbound traffic until you add rules. So it’s the opposite of your default Network ACL. When you create a custom Network ACL, by default, it denies all inbound and outbound traffic until you go in and add those rules.
True or False? If you don’t explicitly associate a subnet with a Network ACL, then that subnet is automatically associated with the default Network ACL.
True. Each subnet in your VPC must be associated
with a Network ACL. If you don’t explicitly associate a subnet with a Network ACL, then that subnet is automatically associated with the default Network ACL.
You can block IP addresses
using __________, and you don’t do that using ________
Network ACLs, Security Groups
-If you need to block access. What level do you do it at? You always do that at the Network ACL-level.
True or false. In order to ensure a redundant network infrastructure, you must associate a custom Network ACL with a subnet.
False. A subnet itself can be associated with only 1 Network ACL at a time. So when you associate a Network ACL with a subnet, the previous association is removed.
What is the purpose of the numbers in a Network ACL?
Network ACLs contain a numbered list of rules
that are evaluated in order, starting with the lowest number first.
True or False? Network ACLs have separate inbound and outbound rules.
True. Network ACLs have separate inbound and outbound rules, and each rule can either allow or deny traffic.
_________ is a way of directly connecting
your data center to AWS. It’s useful for high-throughput workloads with lots of network traffic, and it’s helpful for when you need a stable and reliable secure connection.
Direct Connect
- For scenarios talking about, “You’ve got a VPN connection, it keeps dropping out. You need a stable and reliable connection that can handle high-throughput.” Think of Direct Connect.
_________ are used when you want to connect AWS services without leaving the Amazon’s internal network.
VPC endpoints
There’s 2 types of VPC endpoints.
There’s ________ endpoints and __________ endpoints. And __________ endpoints, basically, at the moment, just support S3 and DynamoDB.
interface, gateway, gateway