Interview Q&A · questions with model answers
Networking Interview Questions
Part of the study plan for: Site Reliability Engineer (SRE) · Cloud Engineer · DevOps Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked What is CIDR notation? How many usable addresses are in a /26, and in an AWS /26 subnet?
CIDR writes a block as a base address plus the number of fixed prefix bits. A /26 leaves 6 host bits, so 64 addresses; 62 are usable in classic networking (minus network and broadcast), and 59 in an…
-
Most asked What does TLS provide, and how does certificate validation work?
TLS provides encryption, integrity and server authentication. The server presents a certificate for its name, plus intermediates; the client checks the name, validity dates and that the chain leads…
-
Most asked What do 502, 503 and 504 errors from a load balancer usually mean?
502 Bad Gateway: the load balancer got an invalid or no response from the target (connection closed, reset, crashed process). 503 Service Unavailable: no healthy targets or the service is shedding…
-
What are the private IPv4 ranges, and what are 100.64.0.0/10 and 169.254.0.0/16 used for?
RFC 1918 private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. 100.64.0.0/10 is shared address space for carrier-grade NAT, also usable as a secondary VPC range for Kubernetes pods.…
-
What is MTU, and how can it break connections?
MTU is the largest packet a link carries (1500 on Ethernet, 9001 inside AWS VPCs, 1460 by default on Google Cloud VPCs, less through tunnels). If a packet is too big and has don't-fragment set, a…
-
What are ephemeral ports?
Temporary source ports the operating system assigns to the client side of an outgoing connection. Linux uses 32768-60999 by default, Windows 49152-65535, and AWS NAT gateways and load balancers…
-
What are the options for connecting on-premises networks to the cloud?
Site-to-site VPN (IPsec over the internet, quick and cheap, variable performance, lower MTU) and dedicated connections (AWS Direct Connect, Azure ExpressRoute, Google Cloud Interconnect) with…
-
What is a CDN and how does it improve performance and resilience?
A CDN serves content from edge locations near users, caching static and cacheable responses and forwarding the rest to the origin over optimised, kept-alive connections. It cuts latency, offloads…
-
What are VPC Flow Logs and what can't they tell you?
Flow logs record metadata about IP traffic on network interfaces: source and destination addresses and ports, protocol, bytes, packets and whether security groups/NACLs accepted or rejected it. They…