Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Linux Foundation Cilium Certified Associate (CCA) Cilium-Associate Exam Questions

Last updated: · 10 practice questions with answers and explanations

Page: 1 / 6 Total 60 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Architecture

Skill tested: Selects a Cilium datapath model that meets host-networking and operational constraints.

A platform team is deploying Cilium on Linux Kubernetes nodes and needs efficient service load balancing and network policy enforcement without relying on kube-proxy. The cluster uses a supported Linux kernel, and the team wants the datapath to operate directly on the host networking stack rather than route pod traffic through a userspace proxy. Which architecture choice best meets these requirements?

Correct Answer: D. Enable Cilium's eBPF kube-proxy replacement and use its native eBPF datapath.
Explanation:

Cilium can implement Kubernetes service handling with eBPF and replace kube-proxy when configured and when the cluster meets the relevant requirements. This places service translation and related datapath work in the kernel rather than routing traffic through a userspace proxy. Retaining kube-proxy does not satisfy the stated replacement goal. A userspace proxy adds an unnecessary processing path, while restricting Cilium to IPAM leaves service handling with kube-proxy.

Question 2

New Single answer

Topic: Architecture

Skill tested: Distinguishes Kubernetes pod CIDR allocation from Cilium-managed IPAM behavior.

A company operates a cluster in which the infrastructure team assigns a pod CIDR to each Kubernetes node. Cilium must allocate pod addresses from the CIDR associated with the node, and the team does not want Cilium to request individual addresses from an external cloud API. During a migration, engineers mistakenly configure Cilium to use a cloud-native IPAM mode. Which configuration direction best matches the existing address-allocation design?

Correct Answer: C. Use Kubernetes host-scope IPAM so Cilium allocates from each node's pod CIDR.
Explanation:

Kubernetes host-scope IPAM fits a design where Kubernetes or the cluster configuration provides a pod CIDR per node and Cilium allocates endpoint addresses from that node-local range. Cluster-pool IPAM instead has Cilium allocate per-node CIDRs from a configured pool, changing the stated source of CIDRs. Cloud-native IPAM depends on provider integration, which the scenario excludes. Hubble observes network flows; it is not an IPAM component.

Question 3

New Multiple answers

Topic: Network Policy

Skill tested: Applies identity-based Cilium policy selectors and understands additive allow rules.

A payment service must accept connections only from workloads in the namespace labeled `team=payments` that also carry the pod label `role=processor`. The policy must permit TCP port 8443 and must not authorize other ingress traffic. The cluster uses Cilium policy enforcement, and no broader policy is intended to grant access. Which two policy design decisions satisfy the requirement? Select TWO.

Correct Answer: A. Add an ingress rule selecting the destination payment endpoints and allowing TCP port 8443 from the matching source identities.; C. Use an endpoint selector that matches `team=payments` and `role=processor` labels.
Explanation:

Cilium policies can select endpoints using labels and express allowed traffic between identities, so the source selector should require both the namespace label and the processor pod label. The destination policy should allow ingress on TCP 8443 from those sources. IP-based `ipBlock` rules are brittle for dynamic pod addresses and do not provide the requested identity-based selection. An egress rule governs traffic leaving the payment endpoints, not ingress to them. A deny rule does not implicitly permit matching sources; allow policy must express the intended authorization.

Question 4

New Multiple answers

Topic: Network Policy

Skill tested: Selects enforcement and policy inspection steps for diagnosing unexpected Cilium policy behavior.

After a policy rollout, one namespace experiences blocked traffic while another still communicates despite having no matching allow rule. The administrator suspects that enforcement mode and policy scope differ between the workloads. The environment must preserve existing connectivity until the team understands the behavior; deleting policies or globally changing enforcement is not acceptable as a first response. Which TWO actions are the most appropriate initial steps? Select TWO.

Correct Answer: B. Use Cilium policy and endpoint inspection commands to determine which policies apply to each endpoint.; C. Inspect Cilium status and configuration to determine the active policy enforcement mode.
Explanation:

The safe diagnostic sequence is to establish the configured enforcement mode and inspect the effective policies and endpoint state for affected workloads. Cilium enforcement behavior can depend on configuration and on whether endpoints have been selected by policy; observing those facts avoids a disruptive assumption. Enabling global default deny or disabling enforcement changes security posture before the cause is known. Replacing policies without analyzing their selectors can introduce new gaps rather than explain the differing outcomes.

Question 5

New Single answer

Topic: Service Mesh

Skill tested: Chooses Gateway API or Ingress based on routing requirements and supported Cilium integration.

A company exposes several HTTP services through Cilium and wants host- and path-based routing with a Kubernetes-standard API. The networking group expects to express the shared listener and route ownership separately: platform engineers manage the gateway, while application teams attach their own routes under controlled namespace permissions. The organization can install the required Gateway API CRDs and wants to use Cilium's integrated implementation rather than deploy a separate ingress controller. Which approach is most appropriate?

Correct Answer: D. Use Gateway API resources with Cilium's Gateway API support, configuring gateway and route attachment permissions.
Explanation:

Gateway API is designed to model gateway infrastructure separately from routes and supports controlled route attachment, fitting the platform-team and application-team ownership split. Cilium can provide Gateway API functionality when the required CRDs and configuration are in place. Ingress supports common HTTP routing but does not offer the same role-oriented resource separation. CiliumNetworkPolicy controls traffic rather than configuring HTTP listeners and paths. Per-pod sidecars and direct LoadBalancer exposure add complexity and do not meet the requested integrated API design.

Question 6

New Single answer

Topic: Service Mesh

Skill tested: Selects an in-transit encryption approach appropriate to Cilium-managed pod traffic.

A security review requires encryption for traffic between Cilium-managed endpoints, including traffic that remains within the cluster network. The organization wants to reduce the risk of cleartext exposure on the underlay and is evaluating Cilium's native encryption option. It does not require application-layer mutual TLS identities or per-request authorization, and it cannot modify each application's TLS configuration. Which approach best fits this requirement?

Correct Answer: B. Enable Cilium transparent WireGuard encryption for supported node-to-node traffic.
Explanation:

Cilium's WireGuard integration can provide transparent encryption for traffic across the cluster datapath without requiring application changes, matching the underlay confidentiality requirement. It is distinct from application-layer mutual TLS, which the scenario does not require. Hubble provides observability, not payload encryption. Network policies authorize or deny traffic but do not encrypt it, and an HTTP-routing sidecar without TLS configuration does not provide encryption.

Question 7

New Single answer

Topic: Network Observability

Skill tested: Uses Hubble flow filters and verdicts to identify policy-dropped traffic.

An on-call engineer must determine why requests from a frontend endpoint to a backend endpoint fail after a policy change. The engineer needs evidence from observed traffic, including whether flows were dropped and the relevant source and destination identities. The cluster already has Hubble enabled, and the engineer can access the Hubble CLI. Which investigation method is best?

Correct Answer: B. Query Hubble flows with filters for the relevant endpoint identities and drop verdicts, then inspect the matching flow details.
Explanation:

Hubble records and exposes flow events, including verdict information, and its CLI supports filtering to focus on relevant endpoints and dropped traffic. That directly addresses both the failure and the need to identify source and destination context. Connectivity tests can validate reachability but are not a substitute for inspecting actual flow verdicts. Kubernetes policy objects describe configuration rather than per-packet outcomes. An unfiltered service view may not isolate the relevant drops.

Question 8

New Single answer

Topic: Installation and Configuration

Skill tested: Uses Cilium CLI status checks to verify health after installation or configuration changes.

A cluster administrator has installed Cilium and applied a configuration change intended to enable a supported datapath feature. Before handing the cluster to application teams, the administrator needs a concise verification of agent health, Kubernetes connectivity, and whether Cilium reports the requested feature as active. The administrator wants a Cilium-native check rather than inferring success from pod readiness alone. What should be done next?

Correct Answer: D. Run `cilium status` and review the reported component health, connectivity, and feature status.
Explanation:

The Cilium CLI status command is the direct operational check for the agent and related components, and it reports relevant configuration or feature status. Kubernetes pod phase alone cannot confirm that a requested Cilium feature is active or that components are fully healthy. An empty Hubble query may simply mean no matching traffic was observed. Connectivity tests are useful for validating paths, but their success does not establish that every configured feature is enabled.

Question 9

New Multiple answers

Topic: Cluster Mesh

Skill tested: Explains cross-cluster service discovery and global service load balancing behavior.

A business runs two Kubernetes clusters managed by Cilium in separate failure domains. An application needs a stable service name that can reach backends in either cluster, and the operations team wants service traffic to use healthy local endpoints when available while still allowing cross-cluster failover. Cluster Mesh is being considered, but the team must understand the conditions needed for this design. Which TWO statements are accurate? Select TWO.

Correct Answer: A. The clusters must have working Cilium Cluster Mesh connectivity and compatible, non-conflicting addressing for their shared networking design.; C. Cluster Mesh can provide cross-cluster service discovery and load balancing for appropriately configured global services.
Explanation:

Cluster Mesh connects Cilium-managed clusters and supports cross-cluster service discovery and load balancing for services configured for global availability. The clusters need functioning mesh connectivity and a compatible network design, including non-conflicting addressing where required for routable communication. Global behavior is not automatically applied to every service. It does not require all traffic to pass through an external DNS load balancer, nor does it distribute container images.

Question 10

New Single answer

Topic: eBPF

Skill tested: Compares kernel eBPF datapath processing with iptables-based packet handling.

A network engineering team is evaluating Cilium for a high-churn Kubernetes environment. The current platform relies heavily on iptables rules for service and policy processing, and rule management and packet traversal have become operational concerns. The team wants to understand the relevant architectural advantage without assuming that eBPF removes all kernel networking costs or configuration requirements. Which statement best describes the distinction?

Correct Answer: D. Cilium can attach eBPF programs at relevant kernel hooks to process networking decisions without requiring every decision to traverse large iptables rule chains.
Explanation:

Cilium uses eBPF programs attached to kernel hooks to implement networking functions such as policy and service handling. This can avoid dependence on long iptables rule chains for each packet and can improve scalability in high-churn environments. It does not move networking to userspace or replace the kernel networking stack. Nor does eBPF guarantee that configuration is unnecessary or that all rule and state growth disappears.