Home / Cilium Certified Associate (CCA) / Mock exam
Cilium Certified Associate (CCA) Exam-style mock test

Cilium Certified Associate (CCA) Practice Exams|Practice test

Full explanations Exam format Pass line 75%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Cilium and eBPF Fundamentals
A B2B SaaS platform team is evaluating Cilium to replace their legacy Kubernetes CNI. During the review a lead asks what fundamentally distinguishes Cilium's approach to networking, observability, and security. Which statement best captures Cilium's core design?
✓It is a Kubernetes CNI that programs networking, load balancing, and security policy through eBPF in the Linux kernel datapath
Correct. Cilium is a CNI plugin that uses eBPF programs loaded into the Linux kernel to handle pod networking, load balancing, and identity-based security policy.
・It is an ingress controller that terminates TLS and routes external HTTP traffic to backend services based on host rules
Incorrect. An ingress controller only handles north-south HTTP routing and TLS termination; Cilium is a full CNI operating in the kernel datapath, though it can provide ingress features.
・It is a service mesh sidecar proxy injected into each pod to encrypt and route all east-west traffic between microservices
Incorrect. Cilium's default datapath is sidecar-free eBPF in the kernel, not a per-pod proxy, which is the classic sidecar service-mesh model it aims to avoid.
・It is a monitoring agent that scrapes Prometheus metrics from nodes and forwards container logs to a central store
Incorrect. Monitoring agents only collect telemetry; Cilium actively programs the datapath and enforces policy rather than passively scraping metrics and logs.
Explanation
Cilium is an eBPF-based CNI that programs the kernel datapath for networking, load balancing, and security, distinguishing it from ingress controllers, sidecar meshes, and monitoring agents.
Example2 · Networking: CNI, IPAM, and Cluster Mesh
A B2B SaaS platform team is onboarding Cilium as their CNI and wants to understand what the CNI plugin is responsible for when a new pod is scheduled on a worker node. Which statement best describes the primary responsibility of the Cilium CNI plugin in this workflow?
・It provisions the external cloud load balancer and allocates a public IP so the newly scheduled pod becomes directly reachable from the internet immediately
Incorrect. Provisioning external cloud load balancers and public IPs is handled by cloud controllers and Service resources, not by the CNI plugin invoked at pod creation.
✓It wires the pod into the network by setting up the pod's interface, attaching eBPF programs, and configuring datapath connectivity on the node
Correct. When a pod is scheduled the kubelet invokes the CNI plugin, which sets up the pod's network interface, attaches the eBPF datapath, and configures connectivity on the node.
・It schedules the pod onto the most suitable worker node based on CPU and memory requests before any networking is configured for the workload
Incorrect. Pod scheduling onto nodes is performed by the kube-scheduler based on resource requests; the CNI plugin runs only after a node is chosen.
・It stores the cluster's desired state in etcd and reconciles Kubernetes objects such as Deployments and ReplicaSets across all nodes continuously
Incorrect. Storing desired state and reconciling controllers is the job of the API server, etcd, and controller-manager, not the CNI networking plugin.
Explanation
The CNI plugin is invoked by the kubelet after scheduling; Cilium's CNI wires the pod interface and programs the eBPF datapath for connectivity.
Example3 · Network Policy and Identity-Based Security
At a B2B SaaS company, a platform engineer notices that two separate 'billing-api' pods scheduled on different nodes receive the exact same Cilium security identity. What is the primary reason Cilium treats both pods as a single identity?
・Both pods were scheduled onto worker nodes that currently share one identical eBPF datapath program compiled for that kernel
Incorrect. A shared datapath program on a node does not determine identity; identity is derived from labels, not from which eBPF program is loaded on the host.
✓Both pods share the identical set of security-relevant labels, so Cilium maps them to one numeric identity
Correct. Cilium derives a security identity from the set of security-relevant labels on a pod, so pods with identical labels collapse to the same numeric identity regardless of node.
・Both pods were assigned IP addresses from the same PodCIDR range allocated to that worker node by IPAM
Incorrect. Pod IP addresses and PodCIDR allocation are IPAM concerns and are decoupled from identity, which is label-based rather than address-based.
・Both pods connect through one shared Hubble relay instance that deduplicates their flows into a single identity
Incorrect. Hubble observes and reports flows but plays no role in assigning or deduplicating security identities for pods.
・Both pods inherit the identity of the service account token mounted into their respective container filesystems
Incorrect. Service account tokens are a Kubernetes auth mechanism and are not the source Cilium uses to compute a pod's security identity.
Explanation
Cilium identities are label-derived, so identically labeled pods share one identity across nodes, enabling scalable identity-based policy.
Example4 · Observability with Hubble
A platform engineer at a healthcare services firm installed Cilium but finds that Hubble flow data is unavailable. They want to turn on the Hubble server embedded in the Cilium agents and the Hubble Relay component so cluster-wide flows can be queried. Which approach correctly enables Hubble with Relay on an existing Cilium install?
✓Run cilium hubble enable --relay, which activates the per-node Hubble server in the Cilium agents and deploys the Hubble Relay deployment for aggregated access
Correct. cilium hubble enable --relay switches on the Hubble server in the agents and deploys Hubble Relay, which aggregates flows from all nodes into a single endpoint.
・Apply a HubbleFlow custom resource per namespace so each team can scope the collection of network flow records to only their own healthcare workloads
Incorrect. There is no HubbleFlow custom resource; enabling Hubble is a cluster-level toggle, not a per-namespace CRD applied by individual teams.
・Edit each node's kube-proxy ConfigMap to export flow telemetry, then restart the kubelet so the Hubble server starts emitting observability events
Incorrect. Hubble is part of Cilium's eBPF datapath and is unrelated to kube-proxy; editing the kube-proxy ConfigMap does not enable flow telemetry.
・Install the Hubble UI Helm chart by itself, because the UI pod directly scrapes eBPF maps from every node without needing a server component
Incorrect. The Hubble UI depends on Hubble Relay and the agent-side server; it does not scrape eBPF maps on each node by itself.
Explanation
Hubble observability requires the per-agent Hubble server plus Hubble Relay for cluster-wide aggregation, which cilium hubble enable --relay provisions together.
Example5 · Service Mesh, Load Balancing, and Troubleshooting
A healthcare services firm wants to adopt Cilium Service Mesh for its patient-records microservices while keeping per-pod resource overhead low. A platform engineer asks how Cilium differs from traditional sidecar-based meshes. Which statement best describes Cilium's service mesh model?
・Cilium injects a lightweight Envoy sidecar container into every application pod to intercept and route all east-west traffic between services
Incorrect. The sidecar-per-pod model is exactly what traditional meshes like Istio use and what Cilium is designed to avoid for lower overhead.
✓Cilium performs L3/L4 mesh functions directly in the eBPF datapath and uses a per-node Envoy proxy only when L7 processing is required
Correct. Cilium handles L3/L4 in eBPF and uses a shared per-node Envoy proxy only for L7 features, avoiding per-pod sidecars.
・Cilium requires each microservice to embed a mesh client library that terminates mutual TLS before forwarding requests to peers
Incorrect. Cilium does not require applications to embed mesh client libraries; the datapath is transparent to the application.
・Cilium relies entirely on an external hardware load balancer to mediate every connection between meshed services in the cluster
Incorrect. Cilium does not depend on external hardware load balancers to mediate connections between meshed services.
Explanation
Cilium's sidecar-free service mesh keeps L3/L4 handling in the eBPF datapath and spins up a per-node Envoy proxy only for L7 needs, reducing per-pod overhead compared with sidecar meshes.
Example6 · Cilium and eBPF Fundamentals
A healthcare services firm migrating its patient-portal cluster to Cilium asks its platform team why Cilium is built on eBPF rather than traditional iptables rules. Which statement best describes what eBPF provides as the foundation for Cilium?
✓It lets Cilium run sandboxed custom programs inside the Linux kernel at defined hook points without recompiling the kernel or loading modules.
Correct. eBPF allows safe, verified programs to run inside the kernel at hook points, which Cilium leverages for networking and security without kernel changes.
・It provides a userspace proxy that intercepts every packet and rewrites the firewall tables on each host node.
Incorrect. eBPF runs in the kernel, not as a userspace proxy rewriting iptables; that describes the legacy approach Cilium replaces.
・It is a container runtime that schedules workload pods and attaches them directly to the firm's physical network cards.
Incorrect. eBPF is not a container runtime and does not schedule pods; that is the job of Kubernetes and the CRI.
・It is a external key-value store that persists all network policy and endpoint identity state across clusters.
Incorrect. eBPF is a kernel technology, not an external key-value store used for persisting policy state.
Explanation
eBPF is a kernel technology enabling sandboxed, verified programs at kernel hook points, which is the foundation Cilium uses for efficient networking and security.
Example7 · Cilium and eBPF Fundamentals
The platform team at the retailer NorthPeak Outfitters is evaluating why Cilium is described as an eBPF-based networking project. A new engineer asks what eBPF fundamentally provides to a project like Cilium. Which description most accurately captures the role eBPF plays?
✓It lets Cilium run sandboxed custom programs directly inside the Linux kernel without changing kernel source or loading external modules
Correct. eBPF allows sandboxed, verified programs to run inside the kernel at defined hook points, which is exactly how Cilium injects its networking and security logic without recompiling the kernel or loading modules.
・It replaces the Linux kernel networking stack entirely with a user-space stack that Cilium ships and maintains separately
Incorrect. eBPF extends and hooks into the existing kernel stack rather than replacing it with a separate user-space stack that Cilium would have to maintain.
・It is a container runtime that schedules retail workloads onto nodes and manages their lifecycle instead of the kubelet
Incorrect. eBPF is a kernel technology for running programs, not a container runtime, and it does not take over scheduling or workload lifecycle from the kubelet.
・It is a configuration format that Cilium uses to store cluster policy as declarative YAML documents in etcd
Incorrect. eBPF is not a configuration format; Cilium policy is expressed as Kubernetes resources, while eBPF is the kernel execution mechanism underneath.
Explanation
eBPF lets Cilium load small, verified programs into the running kernel at hook points to implement networking, observability, and security without kernel changes or modules.
Example8 · Cilium and eBPF Fundamentals
While reviewing how NorthPeak Outfitters' checkout nodes stay stable, an engineer wonders what prevents a faulty eBPF program loaded by Cilium from crashing the kernel. Which kernel component is responsible for that safety guarantee before a program is attached?
・The kubelet, which validates and admits each workload spec before the pod is allowed to be scheduled on the node
Incorrect. The kubelet admits Kubernetes workloads, but it does not analyze eBPF bytecode for kernel safety before attachment.
✓The eBPF verifier, which statically analyzes the program to ensure it terminates and only performs safe memory accesses
Correct. The in-kernel eBPF verifier performs static analysis to reject programs that could loop forever or access invalid memory, so only safe programs are attached.
・The container runtime, which isolates the program inside a namespace so that any crash is contained to one pod
Incorrect. Container runtimes isolate processes, but eBPF programs run in the kernel and their safety is enforced by the verifier, not by namespace isolation.
・The iptables subsystem, which filters the program's packets and drops anything that could cause a kernel panic
Incorrect. iptables filters packets and is unrelated to validating the safety of eBPF bytecode before it loads into the kernel.
Explanation
The eBPF verifier statically checks each program for bounded execution and safe memory access before it is loaded, which is what keeps the kernel stable.
Example9 · Cilium and eBPF Fundamentals
NorthPeak Outfitters' observability team notices that Cilium's agent in user space can read connection tracking data that eBPF programs write in the kernel. Which eBPF construct makes this shared, persistent state possible?
・Kernel log ring buffers that stream every printk message out to the Cilium agent for later parsing
Incorrect. Log ring buffers can carry messages, but they are not the general shared state mechanism Cilium uses for connection tracking tables.
・Dedicated network namespaces that each eBPF program creates to hold its own private counters
Incorrect. Network namespaces isolate network stacks and do not serve as the key-value store shared between kernel programs and user space.
✓eBPF maps, which are key-value data structures that both kernel programs and user-space tools can access
Correct. eBPF maps are key-value structures that persist across invocations and are accessible from both eBPF programs and user-space processes, enabling shared state like conntrack.
・Environment variables injected into the Cilium pod that the eBPF program updates on each packet event
Incorrect. Environment variables are process configuration, not a kernel data structure that eBPF programs update per packet and user space reads.
Explanation
eBPF maps are the standard key-value data structures that let kernel-side eBPF programs and user-space agents share and persist state such as connection tracking entries.
Example10 · Cilium and eBPF Fundamentals
A financial services platform team wants to understand why Cilium relies on eBPF rather than traditional iptables for its data plane. Which statement best describes the fundamental capability eBPF provides to Cilium?
✓It allows sandboxed programs to run inside the Linux kernel and react to networking events without changing kernel source or loading modules
Correct. eBPF lets Cilium attach sandboxed, verified programs to kernel hook points to process networking events dynamically, without recompiling the kernel or loading external modules.
・It provides a separate userspace daemon that proxies every packet through a dedicated TCP stack for each pod on the node
Incorrect. eBPF runs in the kernel, not as a userspace per-pod TCP proxy; that design would reintroduce the overhead Cilium aims to avoid.
・It replaces the Linux kernel networking stack entirely with a rewritten stack compiled and shipped as part of the Cilium agent binary
Incorrect. eBPF augments and hooks into the existing kernel stack rather than replacing it wholesale with a stack shipped in the agent.
・It compiles network policy rules into static firewall tables that the kernel evaluates sequentially for every connection on the host
Incorrect. Static sequential firewall tables describe iptables behavior, which is precisely the model eBPF-based Cilium improves upon.
Explanation
eBPF's core value is running safe, verified programs inside the kernel in response to events, which Cilium leverages for efficient, dynamic networking.
Example11 · Cilium and eBPF Fundamentals
During a security review at a bank, an engineer asks how an eBPF program injected into the kernel by Cilium cannot crash or hang the node. What mechanism primarily guarantees this safety before the program runs?
・A background watchdog thread in userspace that terminates any eBPF program exceeding a configurable per-packet execution time budget
Incorrect. Safety is enforced statically at load time by the verifier, not by a runtime userspace watchdog measuring per-packet time.
✓The verifier analyzes the program at load time to prove it terminates, has bounded loops, and only accesses valid memory
Correct. The eBPF verifier statically analyzes the program at load time to ensure it terminates, has bounded loops, and performs only safe memory access.
・A privileged kernel module that isolates each eBPF program inside its own virtual machine with a dedicated memory region
Incorrect. eBPF does not spin up a per-program virtual machine via a separate privileged module; verification plus JIT handle safety.
・The Cilium agent recompiles the program to native code and signs it so the kernel trusts the compiled output implicitly
Incorrect. JIT compilation and signing do not establish safety; the verifier's static proof is what prevents unsafe behavior.
Explanation
The verifier is the gatekeeper that statically proves an eBPF program is safe to run in the kernel before it is accepted.
Example12 · Cilium and eBPF Fundamentals
A platform engineer at a manufacturing distributor is briefing the team on why Cilium is built on eBPF. Which statement best describes what eBPF provides to the Linux kernel?
・A userspace daemon that intercepts every network packet and copies it into application memory for inspection
Incorrect. eBPF programs run inside the kernel itself, not in a userspace daemon copying packets into application memory for inspection.
✓A sandboxed mechanism to run verified programs inside the kernel without changing kernel source or loading modules
Correct. eBPF lets verified, sandboxed programs run in the kernel at defined hook points without recompiling the kernel or loading custom modules.
・A kernel compile-time flag that statically bakes custom networking rules into the kernel image at build time
Incorrect. eBPF programs are loaded and attached dynamically at runtime, not baked into the kernel image at compile time through a build flag.
・A replacement for the entire TCP/IP stack that must be installed separately before any pods can communicate
Incorrect. eBPF augments existing kernel subsystems with programmable hooks; it does not replace the whole TCP/IP stack as a separate install.
Explanation
eBPF provides a safe, verifier-checked way to run programs in the kernel dynamically, which is why Cilium can implement networking and security without kernel changes.
Example13 · Cilium and eBPF Fundamentals
During a security review at the distributor, an auditor asks what prevents a malicious eBPF program from crashing the kernel. What is the primary safeguard in the eBPF loading path?
・A background scanner audits every running eBPF program every few seconds and unloads anything that looks suspicious
Incorrect. Safety is enforced at load time by static analysis, not by a periodic background scanner that unloads suspicious programs at runtime.
✓The verifier statically analyzes the program before load, rejecting unbounded loops and invalid memory access
Correct. The eBPF verifier statically checks the program before load, rejecting unbounded loops and out-of-bounds or uninitialized memory access.
・Each eBPF program runs inside its own isolated virtual machine with a dedicated CPU core assigned to it
Incorrect. eBPF programs do not each get an isolated virtual machine with a dedicated CPU core; they run within the kernel's eBPF runtime.
・Programs are signed by Cilium and the kernel refuses to load any program lacking a valid signature chain
Incorrect. Mandatory cryptographic signing by Cilium is not the primary safeguard; the verifier's static analysis is what guarantees safety.
Explanation
The verifier performs static analysis at load time, guaranteeing termination and memory safety, which is the core reason eBPF programs are safe to run in kernel context.
Example14 · Cilium and eBPF Fundamentals
A telecom operator's platform team wants to understand why Cilium relies on eBPF rather than iptables for its data path. Which statement best describes what eBPF provides in the Linux kernel?
✓It lets operators attach sandboxed programs that run inside the kernel in response to events, avoiding kernel module changes or reboots
Correct. eBPF allows verified, sandboxed programs to be loaded and run inside the kernel at defined hook points without recompiling the kernel or rebooting the host.
・It is a separate userspace daemon that intercepts every packet and forwards decisions back into the kernel networking stack
Incorrect. eBPF programs run inside the kernel at hook points, not as a userspace daemon that proxies every packet back into the stack.
・It replaces the Linux kernel networking stack entirely with a custom TCP/IP implementation shipped by Cilium
Incorrect. eBPF extends and hooks into the existing kernel networking stack; it does not replace the kernel's TCP/IP implementation wholesale.
・It compiles iptables rules ahead of time into a static binary so the firewall chains execute much faster
Incorrect. eBPF is not a precompiler for iptables chains; Cilium uses eBPF specifically to move away from the iptables rule-chain model.
Explanation
eBPF is a kernel technology for running sandboxed, verified programs at kernel hook points dynamically, which is why Cilium uses it instead of modules or iptables.
Example15 · Cilium and eBPF Fundamentals
During a change review at a telecom operator, an engineer asks what prevents a faulty eBPF program loaded by Cilium from crashing or hanging the kernel. What is the primary safeguard?
・Cilium runs each eBPF program inside a dedicated virtual machine isolated from the host kernel memory
Incorrect. eBPF programs run in the kernel at hook points, not inside a separate per-program virtual machine isolated from kernel memory.
✓The kernel eBPF verifier statically checks the program for unsafe memory access and unbounded loops before it is allowed to load
Correct. The in-kernel verifier performs static analysis, rejecting programs with invalid memory access, unbounded loops, or other unsafe behavior before load.
・The program is first executed in userspace and only promoted into the kernel after it passes runtime tests
Incorrect. Programs are not first run in userspace and promoted; the verifier validates them statically prior to attachment.
・A background watchdog thread terminates any eBPF program that exceeds its allotted CPU time slice
Incorrect. Safety comes from pre-load static verification, not from a watchdog that kills programs after they run too long.
Explanation
The eBPF verifier statically analyzes programs before they load, guaranteeing bounded execution and safe memory access to protect the kernel.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)