CKNE · Sample questions
10 real questions from the CertifyDeck CKNE bank, spread across the domains of the official Certified Kubernetes Network Engineer (CKNE) skills outline, with the correct answer and a full explanation of why the other options are wrong. They are original questions written from the public syllabus, not exam dumps, and they are the same style you will find in the practice tests and mock exams.
Correct answer: D. kubectl -n kube-system exec ds/cilium -- cilium-dbg metrics list -p drop
cilium-dbg metrics list prints the agent's metrics, and --match-pattern (-p) limits the output to metrics whose names match, such as the drop counters. cilium-dbg monitor --type drop streams individual drop events, hubble observe --verdict DROPPED lists flow records, and cilium-dbg status reports component health rather than counter values.
Answer each question before opening the explanation, and write down why you discarded the other options. On CKNE, most mistakes come from choosing an option that is technically possible but does not meet every requirement in the scenario.
These 10 questions are a taste of the format, not a diagnostic. To know which domains you fail, practice by domain for free and take a timed mock exam that mirrors the official weights and duration.
Start for free, no sign-up or card. Every question includes an explanation like the ones above, and the mock exam reproduces the official CKNE format.
Correct answer: C. The percentage applies only when no prior sampling decision exists, so the incoming decision is kept.
randomSamplingPercentage controls the rate only if no prior sampling decision has been made; when a request arrives with a decision, for example an x-b3-sampled header, that decision is respected, and Envoy documents that a client can supply x-b3-sampled to enable or disable tracing for a request. The provider still honours the percentage for requests without a decision, nothing routes the partner to another provider, and custom tags only add data to spans.
Correct answer: A. kubectl -n kube-system edit configmap coredns
The Corefile is stored under the Corefile key of the ConfigMap coredns in kube-system, which is what you edit to change DNS behaviour. The kube-dns Service only exposes the CoreDNS Pods under the legacy name, the coredns Deployment defines the Pods rather than their DNS configuration, and the kube-proxy ConfigMap holds the KubeProxyConfiguration.
Correct answer: A. Add protocol: UDP to the port entry of the Service.
The default protocol of a Service port is TCP, so the proxy only handles TCP on port 514 until protocol: UDP is set. appProtocol is an application-protocol hint that does not change the L4 protocol, a headless Service changes how clients discover Pods rather than fixing the port definition, and the external traffic policy is unrelated.
Correct answer: D. Expected: the decrypted inner packet is recirculated to the same interface; filter on esp to see only encrypted packets.
The IPsec monitoring section explains that the same interface shows both the outer ESP packet between nodes and the decrypted inner Pod-to-Pod packet, because the packet is recirculated after decryption; the esp filter shows only the encrypted one. The ESP line proves that encryption is working, so recreating the Secret is unnecessary. The cluster uses native routing, not VXLAN, and the guide gives no protocol exception for ICMP.
Correct answer: B. The request is denied, because DENY policies are evaluated before ALLOW.
Istio evaluates CUSTOM, then DENY, then ALLOW, and any matching DENY policy rejects the request, so GET with x-token: guest is denied even though the ALLOW policy covers /ip. Policies are not ranked by specificity, and a DENY policy does not need a CUSTOM policy to take effect.
Correct answer: C. matchLabels with both app: llama and accelerator: gpu-a in the same map.
The InferencePool selector supports only matchLabels, and a Pod must match every entry, so app: llama plus accelerator: gpu-a selects exactly the llama GPU Pods. matchExpressions is not part of the InferencePool selector. Selecting only accelerator: gpu-a would mix in Pods of other models, while Pods in one pool are meant to share the same base model and accelerator type.
Correct answer: C. Annotate the Service in cluster-east with service.cilium.io/shared="false".
With service.cilium.io/shared: "false" on cluster-east, that cluster still load-balances across both clusters, while cluster-west only uses its own backends because cluster-east no longer shares them. Setting it in cluster-west would do the opposite. Local affinity in cluster-west is only a preference and still falls back to cluster-east backends. Removing the global annotation in cluster-east would leave its Pods with local backends only.
Correct answer: C. kubeadm reset does not clean iptables rules; flush the tables manually.
The kubeadm guide states that the reset process does not reset or clean up iptables rules or IPVS tables, and gives iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X to do it manually. KUBE-SERVICES is the kube-proxy Service chain, not a portmap chain, and kubeadm reset does not clean any table. kube-proxy in nftables mode writes nftables rules, not iptables chains, and the ipvs mode is deprecated.
Correct answer: C. A policy in shop allowing egress to k8s-app: kube-dns Pods in kube-system on UDP and TCP 53
A default deny-all egress policy also blocks DNS, so you add a separate policy that allows egress from shop to the cluster DNS Pods on port 53 over UDP and TCP, which the kube-dns Service exposes. An ingress rule in shop does not lift the egress isolation of its Pods, allowing ingress at CoreDNS does not help because the block is on the sending side, and the node resolver would still be blocked by the egress policy and knows no Service names.