Networking Deep Dive›Kubernetes Dataplane · Cheat sheet & self-check
Learning Hub / Kubernetes & Platform / Networking Deep Dive

Kubernetes Dataplane · wrap-up

Cheat sheet & self-check

12 questions across 4 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. What's the main difference between an overlay and a routed (native) pod network?

    Show answer

    B. Overlays work on any network but add header overhead (MTU). Routed modes avoid encapsulation but need the underlying network to know pod routes.

    From lesson 05 · CNI plugins compared
  2. Q2. Which CNI would you pick if you need NetworkPolicy and deep flow visibility with an eBPF dataplane?

    Show answer

    B. Cilium implements policy (including L7 and FQDN) in eBPF and ships Hubble for flow observability. Flannel alone doesn't enforce NetworkPolicy.

    From lesson 05 · CNI plugins compared
  3. Q3. What does Multus do?

    Show answer

    B. Multus is a meta-plugin: the default CNI provides eth0, and extra NetworkAttachmentDefinitions add net1, net2… (common in telecom and storage).

    From lesson 05 · CNI plugins compared
  4. Q4. Why do large clusters move away from kube-proxy's iptables mode?

    Show answer

    B. Thousands of Services mean very long chains. IPVS and nftables use hash-based lookups; eBPF uses efficient maps.

    From lesson 06 · Services, kube-proxy & eBPF
  5. Q5. What does externalTrafficPolicy: Local do for a LoadBalancer Service?

    Show answer

    B. With Cluster (default), traffic may hop to another node and get SNATed, which hides the client IP. Local avoids the hop and keeps the IP.

    From lesson 06 · Services, kube-proxy & eBPF
  6. Q6. What does an eBPF 'kube-proxy replacement' change?

    Show answer

    B. Services look the same to users. The dataplane underneath changes, often with better performance and visibility.

    From lesson 06 · Services, kube-proxy & eBPF
  7. Q7. A pod's resolv.conf has 'options ndots:5'. What happens when it looks up 'api.example.com'?

    Show answer

    B. ndots:5 makes most external names go through every search domain first, multiplying queries and adding latency. A trailing dot or lower ndots avoids it.

    From lesson 07 · DNS end to end
  8. Q8. What does a headless Service (clusterIP: None) return from DNS?

    Show answer

    B. Headless Services skip the virtual IP. Clients get pod IPs directly, which StatefulSets use for stable names like db-0.db.

    From lesson 07 · DNS end to end
  9. Q9. How do you make pods resolve names in corp.internal via the company's DNS servers?

    Show answer

    B. CoreDNS can forward specific zones to specific upstream servers, and everything else to the node's resolvers.

    From lesson 07 · DNS end to end
  10. Q10. A LoadBalancer Service on bare metal stays <pending> forever. Why?

    Show answer

    B. Clouds provide a controller that creates load balancers. On bare metal you need your own implementation.

    From lesson 08 · Load balancing & proxies
  11. Q11. What's the main trade-off between MetalLB L2 mode and BGP mode?

    Show answer

    B. L2 mode is great for small sites; BGP gives real load distribution and faster failover in data centres.

    From lesson 08 · Load balancing & proxies
  12. Q12. Your app behind an L4 load balancer and a proxy sees every request coming from the proxy's IP. What can restore the real client IP?

    Show answer

    B. Each hop must pass the client IP along: PROXY protocol at L4, forwarded headers at L7, and the app must trust only known proxies.

    From lesson 08 · Load balancing & proxies