All cards Flashcards
How many bytes of the body part of a request does AWS WAF consider?
It depends on the entity being protected by WAF.
- CloudFront distributions: up to 64 KB (default: 16 KB)
- Others: 8 KB
Exam questions will likely ask for the 8 KB limit only.
Last review: 2023-07-28
Source: https://docs.aws.amazon.com/waf/latest/developerguide/waf-oversize-request-components.html
How can you run multiple types of Layer 3 (IP) networks over a single DX connection?
Using separate VLANs between Customer and AWS Router in the DX location and separate VIFs between the AWS Router and AWS Region.
What’s the maximum number of VIFs on a single (dedicated) DX connection?
50 public/private VIFs + 1 transit VIF
What’s the maximum number of VIFs on a single hosted DX connection?
1 VIF
What’s layer 2 adjacency?
It means that two routers can communicate directly with each other, i.e. exchange frames directly with each other.
What does BGP use for authentication?
MD5
How can you extend a VLAN/BGP session to a customer site when using a service (COMS) provider?
Using Q-in-Q
What’s the networking standard for VLAN?
802.1Q
Which ASN range is reserved for private usage?
16 bit: 64.512 - 65.534
32 bit: 4.200.000.000 - 4.294.967.294
Last updated: 2023-08-24
Source: https://aws.amazon.com/vpn/faqs/
What’s VLAN 0 reserved for?
It stands for “NO VLAN”
What’s VLAN 1 often used for?
For the management VLAN
What problem does QinQ (802.1AD) solve?
That COMS provider that provide one single physical connection for multiple clients may have clients that are using the same VLAN numbers. QinQ solves that by adding an additional header in the ethernet frame.
What’s an C-TAG and what is it used for?
It stands for customer tag and refers to the 802.1Q header.
What’s an S-TAG and what is it used for?
It stands for service tag and refers to the 802.1AD header that service providers use to isolate customer traffic from each other (Q-in-Q).
What is happening when traffic in a Q-in-Q scenario arrives at the service provider (COMS provider) network?
The COMS provider adds the S-TAG to ensure traffic from different customers is isolated against each other.
What is happening when traffic in a Q-in-Q scenario leaves the service provider (COMS provider) network?
The COMS provider strips away the S-TAG to ensure customers only see their own VLAN IDs (via the 802.1Q header), but not the VLAN IDs of other customers.
What two type of ports exist on a switch in the context of 802.1Q?
Access ports and trunk ports
What’s a trunk port used for on a switch in the context of 802.1Q?
It’s a connection between two 802.1Q capable devices, able to transport and by that exchange the VLAN IDs when traffic is flowing between those devices.
In the context of 802.1Q, does an access port on a switch use VLAN tagging when sending data to a client?
No. Access ports use “regular” ethernet frames.
What is the main criteria to consider when choosing between dynamic vs static routing in a site-to-site VPN connection?
Whether the router supports BGP advertising - if so, choose dynamic routing, otherwise choose static routing.
What’s a single IPsec tunnel’s maximum throughput in Gbps?
1.25 Gbps
How can you scale a VPN tunnel beyond the maximum limit of 1.25 Gbps?
By using Transit Gateway with equal cost multi-path (ECMP) routing enabled over multiple VPN tunnels.
What’s the maximum throughput of Transit Gateway?
50 Gbps
Can you access an S3 bucket that is located in eu-central-1 via a public VIF that is connected to us-east-1?
Yes
How is information on BGP communities exchanged between systems?
Via labels/tags that are attached to advertised prefixes (so essentially, metadata)
Which well-known BGP community tag is used to instruct that no advertisement shall be done to any peers?
NO_ADVERTISE
Which format has a regular BGP community label/tag?
AS_NUMBER : OPERATOR_ASSIGNED_VALUE
(32 bit value, split into 2x16 bit)
What does the BGP community tag “7224:9100” stand for?
Instructs AWS to advertise the prefix that this tag is attached to only in the local AWS region
Last updated: 2023-09-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html
Which well-known BGP community tag is used by AWS on public prefixes to instruct that advertisements are not shared with external peers?
NO_EXPORT
What does the BGP community tag “7224:9200” stand for?
Instructs AWS to advertise the prefix that this tag is attached to only on the current continent
Last updated: 2023-09-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html
What does the BGP community tag “7224:9300” stand for?
Instructs AWS to advertise the prefix that this tag is attached to globally
Last updated: 2023-09-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html
If no BGP community tag is attached to an advertised prefix, how far (local region, continent, globally) is the prefix advertised?
Globally
What does the BGP community tag “7224:7100” stand for?
Indicates a “low preference”, i.e. low priority, for traffic
Last updated: 2023-09-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html
What does the BGP community tag “7224:8100” stand for?
Routes that originate from the same AWS Region in which the AWS Direct Connect point of presence is associated
Last updated: 2023-09-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html
What is AS Number 7224 used for?
It’s the AS Number owned by Amazon.com, used to advertise prefixes and BGP communities for Direct Connect.
What is BFD and where is it enabled?
Bidirectional Forwarding Detection - protocol for detecting failed routing paths, allowing quick recovery. Enabled by default on the AWS side, but needs to be enabled on the on-prem router (if not already done) to benefit from quicker recovery times.
What does the BGP community tag 7224:7300 indicate?
“High preference” of the associated path for returning traffic. For example, would be preferred over a path that has 7224:7200 (medium preference) as a tag.
Last updated: 2023-09-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html
Can you attach multiple VGWs to a VPC at the same time?
No
What VPN connectivity type does AWS VPN CloudHub support? (site-to-site VPN, client VPN, etc.)?
Site-to-site VPN, i.e. connectivity between multiple VPCs and remote networks. But NOT client VPN.
How can you configure an EC2 instance to use jumbo frames?
Either by shell command (sudo ip link set dev eth0 mtu 1500) or by modifying the ethernet interface’s configuration file (different per Linux distribution).
What is the private CIDR range for a class A network?
10.0.0.0 - 10.255.255.255
What is the IP address range for a class B network?
172.16.0.0 - 172.31.255.255
What is the private CIDR range for a class C network?
192.168.0.0 - 192.168.255.255
Does Auto-negotiation for a port have to be disabled in order to use DX?
It depends. For any ports with speeds higher than 1 Gbps: yes. For 1 Gbps ports it may be enabled, depending on the DX endpoint serving the connection.
Last revision: 2023-07-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/Welcome.html
Is 802.1Q VLAN encapsulation a hard requirement to use DX?
Yes. And that’s needed for the entire connection, so including any intermediate devices.
Last revision: 2023-07-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/Welcome.html
Which protocol and authentication does the client device have to support to be able to use DX?
Border Gateway Protocol (BGP) and BGP MD5 authentication.
Last revision: 2023-07-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/Welcome.html
Which Internet Protocol versions does DX support?
IPv4 and IPv6
Last revision: 2023-07-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/Welcome.html
What Ethernet frame sizes (i.e. at OSI layer 2 / link layer) does AWS Direct Connect support?
1522 or 9023
Last revision: 2023-07-28
Source: https://docs.aws.amazon.com/directconnect/latest/UserGuide/Welcome.html
Does VPC peering work across regions?
Yes
Last updated: 2023-08-12
Source: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/vpc-to-vpc-connectivity.html
What pricing model does VPC peering use?
The peering is free. Charges only apply for data transfers between AZs or regions.
Last updated: 2023-09-29
Source: https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html#vpc-peering-pricing
If you want to connect VPCs with each other, at which number of VPCs is it a good idea to consider alternatives to VPC peering?
~10
Last updated: 2023-08-12
Source: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/vpc-to-vpc-connectivity.html
Is Transit Gateway a global or regional resource?
Regional. But you can create peerings between Transit Gateways.
Last updated: 2023-08-12
Source: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/vpc-to-vpc-connectivity.html
What is the maximum number of Transit Gateways that you can connect over a single Direct Connect connection?
3
Last updated: 2023-08-12
Source: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/transit-gateway.html
What is a Transit VPC and how does it work?
Transit VPCs are a hub-and-spoke style network pattern where a central VPC (the transit VPC, or hub) connects other networks (VPCs, on-prem networks) through VPN (usually using BGP over IPSec).
It requires usage of EC2 instances where the VPN and routing software (sometimes also additional software such as IDP) runs, so it may increase higher cost and operational burden than other solutions. On the other hand it opens up for a lot of flexibility.
Last updated: 2023-08-12
Source: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/transit-gateway.html
What is the maximum bandwidth per VPN tunnel?
1.25 Gbps
Last updated: 2023-08-24
Source: https://aws.amazon.com/vpn/faqs/
How many VPC tunnels are used per VPN connection?
2, each with 1.25 Gbps throughput
Last updated: 2023-08-24
Source: https://aws.amazon.com/vpn/faqs/
What is a Virtual private gateway (VGW) and what is it used for?
A virtual private gateway (VGW) is part of a VPC that provides edge routing for AWS managed VPN connections and AWS Direct Connect connections. It’s the endpoint on the AWS side that a VPN or Direct Connect connection goes to.
Last updated: 2023-08-31
Sources:
- https://aws.amazon.com/vpc/faqs/
- https://aws.amazon.com/vpn/faqs/
- https://aws.amazon.com/directconnect/faqs/
What ASNs can I use to configure my Customer Gateway (CGW)?
ASN in the range 1 – 2.147.483.647 with noted exceptions can be used.
Last updated: 2023-08-24
Source: https://aws.amazon.com/vpn/faqs/
Once the virtual gateway is created, can I change or modify the Amazon side ASN?
No, you cannot modify the Amazon side ASN after creation. You can delete the virtual gateway and recreate a new virtual gateway with the desired ASN.
Last updated: 2023-08-24
Source: https://aws.amazon.com/vpn/faqs/
How many VPCs are supported per (private) VIF when using Direct Connect Gateway?
10
Last updated: 2023-08-24
Source: https://aws.amazon.com/directconnect/faqs/
How many Transit Gateways can be associated with an AWS Direct Connect gateway?
Up to 3.
So that’s 3 TGWs per Transit VIF. And you can only have 1 Transit VIF per DX connection.
Last updated: 2023-08-24
Source: https://aws.amazon.com/directconnect/faqs/
How many Transit VIFs are supported per Direct Connect connection?
Only 1
Last updated: 2023-08-24
Source: https://aws.amazon.com/directconnect/faqs/
Does AWS Transit Gateway Connect support static routes?
No, AWS Transit Gateway Connect does not support static routes. BGP is a minimum requirement.
Last updated: 2023-08-24
Source: https://aws.amazon.com/transit-gateway/faqs/
Does AWS Transit Gateway support IPv6?
Yes, AWS Transit Gateway supports attaching Amazon VPCs with IPv6 CIDRs.
Last updated: 2023-08-24
Source: https://aws.amazon.com/transit-gateway/faqs/
What is the maximum number of Transit Gateways per account? And can that be adjusted?
5 - and yes, it can
Last updated: 2023-08-24
Source: https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-quotas.html
What is the maximum number of attachments per Transit Gateways? And can that be adjusted?
5000 - and no, it cannot
Last updated: 2023-08-24
Source: https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-quotas.html
What is the maximum number of Transit Gateways attachments per VPC? And can that be adjusted?
5 - and no, it cannot
Last updated: 2023-08-24
Source: https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-quotas.html
What is a transit VIF attached to?
The only resource type it can attached to is a Direct Connect gateway. From the DX gatway, up to three Transit Gateways (TGWs) can be attached.
What is the Generic Routing Encapsulation (GRE) tunnel protocol and in which context is it used in an AWS networking environment?
Generic Routing Encapsulation (GRE) is a protocol that encapsulates packets in order to route other protocols over IP networks. It’s used by Transit Gateway’s “Connect” feature to ensure high performance. After creating a Connect attachment, one or more GRE tunnels (referred to as Transit Gateway Connect peers) are created to TGW with a third-party appliance.
Last updated: 2023-09-06
Source: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html
What is Transit Gateway Connect?
It allows establishing connectivity between SD-WAN infrastructure (third-party appliances) and AWS.
Last updated: 2023-09-06
Source: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html
What are reasons to choose a Transit VPC over Transit Gateway?
- Allows for deploying third-party vendor software for routing, layer 7 firewalls, IPS and IDS (which customers may also use on-prem, so management is easier for them)
- Enables non-AWS-native connectivity such as peering regular AWS regions with GovCloud regions
Last updated: 2023-09-06
Source: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/transit-vpc-solution.html
Does Transit Gateway support transitive routing?
Yes
Last updated: 2023-09-06
Source: https://docs.aws.amazon.com/prescriptive-guidance/latest/integrate-third-party-services/architecture-3.html
What are key elements of the architecture of a transit VPC?
- Hub and spoke model with one central VPC (transit VPC) and multiple hub VPCs
- VPCs connected through VPN connections (typically BGP over IPSec)
- Central VPC contains multiple EC2 instances running third-party routing software
What are the basic elements of an AWS PrivateLink architecture?
On the service provide side, a VPC endpoint service that points to a Network Load Balancer (NLB), which points to the application. On the consumer side, an interface endpoint that points to the VPC endpoint service.