Recall & Review
beginner
What is container networking?
Container networking is the way containers communicate with each other and with the outside world. It connects containers so they can share data and services.
Click to reveal answer
intermediate
Name a common network model used in container orchestration platforms like Kubernetes.
The common network model is the "flat network" where every container gets its own IP address and can communicate directly with others without NAT (Network Address Translation).
Click to reveal answer
intermediate
What is a network namespace in container networking?
A network namespace isolates the network stack for a container. It means each container can have its own IP addresses, routing tables, and ports, separate from the host or other containers.
Click to reveal answer
advanced
Explain the role of a Container Network Interface (CNI).
CNI is a set of standards and plugins that help connect containers to networks. It manages IP address allocation and network setup for containers in a consistent way.
Click to reveal answer
advanced
What is the difference between bridge and overlay networks in container networking?
Bridge networks connect containers on the same host, like a local switch. Overlay networks connect containers across multiple hosts, creating a virtual network over the physical one.
Click to reveal answer
Which of the following best describes a network namespace?
✗ Incorrect
A network namespace isolates the network stack for a container, giving it its own IP and ports.
What does CNI stand for in container networking?
✗ Incorrect
CNI stands for Container Network Interface, a standard for configuring container networks.
Which network type connects containers across multiple hosts?
✗ Incorrect
Overlay networks create a virtual network over physical networks to connect containers on different hosts.
In Kubernetes, how do containers typically communicate within a pod?
✗ Incorrect
Containers in the same pod share the same network namespace, allowing them to communicate via localhost.
What is the main purpose of a bridge network in container environments?
✗ Incorrect
Bridge networks connect containers on the same host, acting like a virtual switch.
Describe how container networking allows containers to communicate within the same host and across multiple hosts.
Think about local vs virtual networks and how IP addresses are assigned.
You got /4 concepts.
Explain the concept of network namespaces and why they are important in container networking.
Imagine each container having its own private network space.
You got /4 concepts.