A strong answer
A strong candidate frames Trace the exact journey of a TCP packet from Container A (10.244.1.5) to Container B (10.244.2.9) on a different Kubernetes node under both a VXLAN. around the exact memory layout, compiler semantics, and hardware execution model covered in [Virtual Ethernet (veth) Pairs, Linux Network Bridges (cni0), and CNI Pod-to-Pod Packet Routing]. Walk through Pod NetNS eth0 -> veth pair -> Host NetNS cni0 bridge -> routing table -> vxlan0 UDP 8472 encapsulation -> physical eth0 -> remote vxlan0 decapsulation, and explain AWS VPC ENI secondary IP exhaustion.
When a new Kubernetes Pod starts, unshare(CLONE_NEWNET) creates a brand-new Network Namespace containing only a down loopback interface (lo). How does the Container Network Interface (CNI) plugin connect that isolated namespace to the rest of the cluster, and why do large 1500-byte packets suddenly drop or fragment with Message too long when you enable VXLAN overlay networking across nodes?
When engineers encounter this bottleneck in production, a surface-level API description rarely explains what went wrong. In real workloads, every line of code executes against concrete hardware constraints: fixed-width memory cells, CPU cache lines, kernel descriptor tables, network socket buffers, or accelerator memory buses. Without a clear mental model of Virtual Ethernet (veth) Pairs, Linux Network Bridges (cni0), and CNI Overlay (VXLAN) vs Direct Routing, debugging degrades into guesswork—tuning timeouts, adding retries, or scaling instances blindly while the underlying architectural flaw remains untouched.
In a production interview, always connect the specification rule to its concrete runtime consequence: state what lives on the stack versus the heap or static storage segment, how the compiler or operating system validates alignments, lifetimes, and error codes, and what happens under adversarial or boundary inputs (such as zero-length buffers, integer overflow, concurrent mutation, or partial I/O). Backing your explanation with a small trace of register/memory state transitions immediately separates senior systems engineers from candidates who only memorized syntax.
What the interviewer is listening for
- Mastery of core invariant: Trace how a
vethvirtual ethernet pair and Linux Bridge (cni0) connect a Pod's isolated Network Namespace to the host. - Mastery of core invariant: Diagnose and prevent
VXLAN(50-byte) andWireGuard(60-byte) MTU Blackholes wherepingsucceeds and TLS/HTTP hangs. - Mastery of core invariant: Inspect live sockets and packets inside distroless containers using
nsenter -t <pid> -nfrom the host namespace. - Hardware and ABI awareness: Explaining how sizes, alignments, calling conventions, or kernel boundaries behave on real 64-bit targets rather than relying on implementation-defined assumptions.
- Defensive engineering: Naming the exact compiler flags (
-Wall -Wextra -Werror), static analyzers, or runtime sanitizers (-fsanitize=address,undefined,thread) that verify correctness in CI.
Common mistakes
- Explaining only surface syntax without tracing the underlying memory addresses, ownership lifetime, or kernel/user-space state transitions.
- Assuming undefined behavior (such as signed overflow, uninitialized reads, strict-aliasing violations, or dangling pointers) will "just work" because it passed an unoptimized
-O0debug build. - Ignoring return codes, partial reads/writes, alignment padding, or cleanup paths when an allocation or syscall fails midway through a function.