Networking Flashcards
Is higher or lower priority preferred with Local preference?
Higher
Is shorter or longer path preferred with AS-PATH length?
Shortest AS path value preferred
Is higher or lower MED metric preferred?
Lowest MED metric
Which Origin code is preferred?
Prefer the route advertised by “network” command (I) over “redistributed” command (?)
Which path is preferred with IGP metric (MED2)?
Prefer the path whose next hop has the lowest IGP metric. (also referred as location cost in AWS)
What are the default SG rules?
Allows all inbound from the same security group. Allows all outbound.
What are the Scope BGP Communities?
7224:9100—Local AWS Region
7224:9200—All AWS Regions for a continent
- North America–wide
- Asia Pacific
- Europe, the Middle East and Africa
7224:9300—Global (all public AWS Regions)
If you don’t apply scope BGP tags, what happens by default?
Prefixes are advertised to all public AWS Regions (global) by default.
How do you setup BGP for multi-pathing?
Prefixes that are marked with the same communities, and have identical AS_PATH attributes
What are the advertised routes BGP Communities?
7224:8100—Routes that originate from the same AWS Region in which the AWS Direct Connect point of presence is associated.
7224:8200—Routes that originate from the same continent with which the AWS Direct Connect point of presence is associated.
No tag—Global (all public AWS Regions).
What BGP communities are reserved for DX?
The communities 7224:1 – 7224:65535 are reserved by AWS Direct Connect.
What happens to communities that are not supported for an AWS Direct Connect public connection?
They are removed
What is the NO_EXPORT BGP community tag for?
It’s supported for public virtual interfaces. All routes that AWS Direct Connect advertises to customers are tagged with the NO_EXPORT community tag.
Where are Lambda@Edge functions executed?
Regional Cache locations
Where are Cloudfront functions executed?
Edge locations
What are CloudFront functions suitable for?
- Cache key normalization
- Header manipulation (i.e. True-Client-IP)
- URL redirects or rewrites
- Request authorization
What does middlebox routing wizard do?
Middlebox routing wizard helps you by automatically creating the necessary route tables and routes (hops) to redirect traffic as needed.
What scenarios best suit middlebox routing wizard?
- Routing traffic to a middlebox appliance, for example, an Amazon EC2 instance that’s configured as a security appliance.
- Routing traffic to a Gateway Load Balancer. For more information, see the User Guide for Gateway Load Balancers.
How can you prevent TCP session timeouts involving a network firewall and GWLB?
Set the firewall keep-alive timers to less than 350 seconds.
For what does Route 53 Resolver automatically answers DNS queries?
- Local VPC domain names for EC2 instances (for example, ec2-192-0-2-44.compute-1.amazonaws.com).
- Records in private hosted zones (for example, acme.example.com).
3.For public domain names, Route 53 Resolver performs recursive lookups against public name servers on the internet.
What if you need to Route 53 resolver to handle more queries?
You can add more IP addresses to your existing endpoint in one or more AZs instead of adding another endpoint.
How is Route 53 resolver priced?
Resolver pricing is based on the number of IP addresses in your endpoints and on the number of DNS queries that the endpoint processes. Each endpoint includes a minimum of two IP addresses
If you create multiple outbound endpoints, how do you associate a rule with them?
Each rule specifies the outbound endpoint that DNS queries are forwarded from. If you create multiple outbound endpoints in an AWS Region and you want to associate some or all Resolver rules with every VPC, you need to create multiple copies of those rules.