Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q001-a-web-application-in-a-private-subn
By definition, a private subnet does not have a route to the Internet Gateway (IGW) and the instances within it do not have public IPs....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q002-two-ec2-instances-in-the-exact-same
If they can reach the internet, the routing table and internet gateways are correct. The issue is security at the instance or subnet level....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q003-you-type-facebookcom-in-your-browse
1. Browser Cache: The browser checks its own DNS cache....
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q004-your-company-has-two-vpcs-in-differ
AWS VPC Peering does not support Transitive Edge Routing....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q005-what-is-the-difference-between-an-a
- ALB (Layer 7): Operates at the Application layer. It understands HTTP/HTTPS headers, URLs, and cookies. You use it when you need path-b......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q006-a-customer-complains-of-intermitten
A 502 Bad Gateway from an ALB means the ALB tried to communicate with the target instance, but the connection dropped or the target retur......
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q007-your-database-is-in-a-private-subne
The problem is that Network ACLs are stateless. ...
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q008-users-resolve-apimyappcom-half-of-t
This is classic DNS caching behavior related to TTL (Time To Live). ...
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q009-a-ddos-attack-is-targeting-your-app
A SYN flood exhausts the server's TCP connections by sending SYN packets but never responding to the SYN-ACK, leaving half-open connectio......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q010-explain-the-difference-between-snat
Network Address Translation alters IP headers as packets transit a router/firewall....
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q011-we-have-a-bgp-vpn-connection-establ
This is absolutely an MTU (Maximum Transmission Unit) mismatch issue....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q012-your-company-acquired-another-start
VPC Peering strictly prohibits routing between overlapping CIDR blocks (e.g., both VPCs use 10.0.0.0/16) because the routing tables would......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q013-a-user-complains-they-cannot-connec
The service is bound exclusively to the loopback interface (127.0.0.1 or localhost). ...
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q014-what-is-anycast-dns-and-why-do-cdns
In standard Unicast networking, one IP address points to exactly one server in the world. ...
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q015-you-use-an-aws-global-accelerator-f
If the Australian user connects directly to the ALB, their TCP handshake and HTTP data traverse the public internet across multiple ISP h......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q016-your-api-server-gets-heavily-traffi
In Unix/Linux operating systems, everything is a file—including network sockets. ...
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q017-how-do-you-secure-data-in-transit-b
No, traffic inside an AWS VPC is not inherently encrypted by default (unless crossing AZs on specific modern instance types like Nitro wh......
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q018-you-need-to-block-traffic-from-a-sp
The best place to block it is the outermost perimeter, the Network ACL (NACL) or AWS WAF....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q019-you-see-many-connections-in-the-tim
TIME_WAIT is not an error; it is a normal part of the TCP teardown process....
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q020-if-an-ip-address-is-192168110-24-wh
The /24 is CIDR (Classless Inter-Domain Routing) notation. It means the first 24 bits (3 octets) of the 32-bit IPv4 address are locked as......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q021-when-architecting-a-new-service-how
- TCP (Transmission Control Protocol): Is a connection-oriented, stateful protocol. It guarantees delivery through acknowledgments, autom......
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q022-two-physical-data-centers-are-conne
This is called Asymmetric Routing....
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q023-your-company-hosts-100-different-ht
In the early days of the internet, this was impossible—each HTTPS domain required its own dedicated IP address because the server didn't ......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q024-how-does-the-traceroute-command-act
traceroute cleverly exploits the IP TTL (Time To Live) field....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q025-a-malicious-insider-plugs-a-laptop-
This is an ARP Spoofing (ARP Poisoning) attack....
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q026-your-company-policy-mandates-that-a
This requires a Hub-and-Spoke Egress Architecture utilizing AWS Transit Gateway (TGW)....
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q027-why-is-the-tech-industry-pushing-he
HTTP/1.1 and HTTP/2 are built on TCP. TCP suffers from "Head-of-Line Blocking"—if a single packet is lost, the entire TCP stream pauses t......
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q028-users-inside-the-corporate-office-n
This is achieved via Split-Horizon DNS....
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q029-your-company-has-a-10-gbps-direct-c
This is classic behavior in a Long Fat Network (LFN)—high bandwidth, high latency....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q030-a-purist-network-engineer-argues-th
NAT was heavily popularized primarily as a hack to solve IPv4 Address Exhaustion. Because there are only ~4 billion IPv4 addresses, we hi......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q031-what-is-a-vlan-and-what-problem-doe
A VLAN (Virtual Local Area Network) allows network engineers to logically segment a single physical switch into multiple isolated virtual......
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q032-in-kubernetes-what-is-the-architect
- Service Type: LoadBalancer (Layer 4): When you declare this, Kubernetes requests the cloud provider (AWS/GCP) to physically provision a......
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q033-your-infrastructure-team-completely
This is an issue with the Java Virtual Machine (JVM) DNS Cache....
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q034-what-is-the-difference-between-a-la
- Layer 2 Switch: Operates at the Data Link layer. It moves packets strictly within the same local network. It forwards traffic based pur......
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q035-your-saas-company-provides-a-databa
This is the exact use case for AWS PrivateLink (VPC Endpoint Services)....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q036-you-see-logs-indicating-that-packet
This is an IP Spoofing attack. The attacker manually alters the IP header of their malicious packet to falsely claim it originated from a......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q037-define-what-a-vpn-virtual-private-n
A VPN is a technology that allows a remote device to establish a secure, encrypted "tunnel" across the dangerous public internet, virtual......
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q038-a-major-isp-accidentally-misconfigu
This is called a BGP Route Leak (or BGP Hijacking, if malicious)....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q039-in-a-corporate-network-an-attacker-
This is a MAC Flooding attack....
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q040-when-a-server-wants-to-send-data-to
The server makes the decision using the Subnet Mask....
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q041-you-enable-vpc-flow-logs-on-a-produ
VPC Flow Logs capture every packet at the ENI (Elastic Network Interface) level. Each log entry includes source IP, destination IP, port,......
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q042-ipv4-address-spaces-are-running-out
While IPv6 solves address exhaustion, it hasn't replaced IPv4 due to compatibility, operational complexity, and cost:...
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q043-your-latency-between-london-and-tok
This is a classic TCP Window Size limitation over high-latency links. TCP's congestion window grows slowly, and it's fundamentally design......
Senior DevOps / SRE [L2]
Networking
⚡ Scenario networking-q044-youre-designing-a-microservices-arc
There are three main service discovery approaches, each with tradeoffs:...
Junior / Associate DevOps [L1]
Networking
⚡ Scenario networking-q045-a-security-policy-mandates-that-all
By default, AWS Security Groups allow all outbound traffic (egress rule 0.0.0.0:0 on all protocols). Restricting this follows the princip......
Staff SRE / Principal Architect [L3]
Networking
⚡ Scenario networking-q046-a-data-transfer-between-two-aws-reg
This illustrates the fundamental difference between AWS's internal backbone and the public internet....