Recall & Review
beginner
What is the main purpose of the Container Network Interface (CNI) in Kubernetes?
CNI provides a standard way to configure network interfaces for containers, enabling them to communicate within a Kubernetes cluster.
Click to reveal answer
beginner
Name two popular CNI plugins used in Kubernetes.
Calico and Flannel are two popular CNI plugins that provide networking capabilities for Kubernetes clusters.
Click to reveal answer
intermediate
How does CNI help with container IP address management?
CNI plugins allocate and assign IP addresses to containers, ensuring each container has a unique IP for communication.
Click to reveal answer
intermediate
What file format does CNI use to define network configurations?
CNI uses JSON files to define network configurations that specify how container interfaces should be set up.
Click to reveal answer
intermediate
Explain the role of the CNI plugin during pod creation in Kubernetes.
When a pod is created, the CNI plugin is called to set up the network interface, assign an IP, and connect the pod to the cluster network.
Click to reveal answer
What does CNI stand for in Kubernetes networking?
✗ Incorrect
CNI stands for Container Network Interface, which standardizes container networking.
Which file format is used to configure CNI plugins?
✗ Incorrect
CNI configurations are defined using JSON files.
Which of the following is NOT a CNI plugin?
✗ Incorrect
Docker Swarm is a container orchestration tool, not a CNI plugin.
What is the role of a CNI plugin when a pod starts?
✗ Incorrect
CNI plugins assign IP addresses and set up network interfaces for pods.
Why is CNI important in Kubernetes?
✗ Incorrect
CNI standardizes how container networking is configured and managed.
Describe what the Container Network Interface (CNI) does in a Kubernetes cluster.
Think about how containers get connected inside the cluster.
You got /4 concepts.
List some common CNI plugins and explain why you might choose one over another.
Consider what features or needs your cluster might have.
You got /4 concepts.