Services & Networking

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

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…

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
364 questions (total)