Services & Networking

Configure and manage Kubernetes networking, services, and network policies (20% of exam).

This domain covers understanding connectivity between Pods, defining and enforcing Network Policies, using ClusterIP, NodePort, LoadBalancer service types and endpoints, using the Gateway API to manage Ingress traffic, knowing how to use Ingress controllers and Ingress resources, and understanding and using CoreDNS.
5 minutes 5 Questions

In the context of the CKA exam, Services and Networking form the backbone of cluster communication. Because Pods are ephemeral and their IP addresses change, **Services** define a logical set of Pods and a policy to access them. You must understand the four primary Service types: **ClusterIP** (def…

Concepts covered: Understand connectivity between Pods, Define and enforce Network Policies, Use ClusterIP, NodePort, LoadBalancer service types and endpoints, Use the Gateway API to manage Ingress traffic, Know how to use Ingress controllers and Ingress resources, Understand and use CoreDNS, Kubernetes networking model, CNI plugins and configuration, Service discovery and DNS, Endpoints and EndpointSlices, External traffic policy and session affinity, Headless services

Test mode:
CKA - Services & Networking Example Questions

Test your knowledge of Services & Networking

Question 1

A Kubernetes cluster uses a CNI plugin that implements the standard networking model. A pod running on worker-node-1 with IP 10.244.1.15 needs to communicate with a pod on worker-node-2 with IP 10.244.2.23. When the receiving pod inspects incoming traffic, what source IP address does the Kubernetes networking model require it to observe?

Question 2

A DevOps engineer is creating a headless Service for a ZooKeeper ensemble running as a StatefulSet with 3 replicas. The pods are named zk-0, zk-1, and zk-2 in the 'data' namespace, and the headless Service is named 'zk-hs'. When the engineer queries the DNS from within the cluster, what type of response should they expect from a lookup against 'zk-hs.data.svc.cluster.local'?

Question 3

In Kubernetes, how do Pods within the same cluster communicate with each other by default?

More Services & Networking questions
367 questions (total)