Free practice · No sign-up required

Cilium Certified Associate free practice test

15 questions with answer explanations. Choose an answer below to begin.

Question 1 of 15

What does Cilium primarily provide for containerized workloads?

Show hint

Understand core Cilium capabilities for securing container communication.

0/15 answered · Bookmark questions to review later. Focus the practice area to use keys 1–9 and Enter.

Learn by doing

Put your answers into practice

Use official documentation and hands-on labs to work through topics you missed.

Explore all study resources →
Kubernetes application examples

Application examples from the Kubernetes project for practicing manifests and application behavior in a cluster.

Try it: Use a disposable cluster. Read a simple application's manifests, predict which Pods its Service selects, then change a label and use kubectl to diagnose the resulting connectivity problem.

Source is free. A local cluster uses your computer; hosted clusters may incur charges.

Kubernetes official tutorials

Guided tutorials for learning Kubernetes behavior and building practical skills beyond multiple-choice recall.

Try it: Complete a basic application tutorial. Repeat the task without the walkthrough, then explain the difference between declared configuration and observed cluster state.

Documentation is free. Your chosen cluster environment may have costs.

All questions and explanations

Prefer to read at your own pace? Work through each question below, then open its answer to check your reasoning. You can link directly to a question or print this reference.

  1. What does Cilium primarily provide for containerized workloads?

    1. Identity-aware network security and observability

    2. Persistent storage orchestration

    3. Automated image signing

    4. Node-level resource scheduling

    Show answer and explanation

    Correct answer

    • Identity-aware network security and observability

    Cilium enforces network policies based on application identity rather than IP addresses. It also offers visibility into network flows for troubleshooting.

  2. Which Cilium component runs as a daemon on each node?

    1. cilium-agent

    2. hubble-relay

    3. kube-proxy

    4. cilium-operator

    Show answer and explanation

    Correct answer

    • cilium-agent

    The cilium-agent is responsible for enforcing policies and managing connectivity on each node. Hubble-relay is optional for advanced observability.

  3. What is a prerequisite for using Cilium with a Kubernetes cluster?

    1. Container runtime support for CNI

    2. Enabled Windows node groups

    3. Static IP assignment for pods

    4. External load balancer provisioning

    Show answer and explanation

    Correct answer

    • Container runtime support for CNI

    Cilium requires a CNI-compatible runtime to replace the default bridge and manage pod networking. Other options are not mandatory.

  4. Which resource defines allowed communication between pods in Cilium?

    1. NetworkPolicy

    2. PodSecurityPolicy

    3. IngressClass

    4. ClusterRole

    Show answer and explanation

    Correct answer

    • NetworkPolicy

    Cilium extends the standard Kubernetes NetworkPolicy to provide L7 visibility and filtering based on application labels.

  5. What protocol does Cilium use to enforce policies at the kernel level?

    1. eBPF

    2. iptables

    3. IPsec

    4. GRE

    Show answer and explanation

    Correct answer

    • eBPF

    Cilium leverages eBPF programs loaded into the Linux kernel to implement policies with low overhead and deep observability.

  6. Which feature allows visibility into application-layer HTTP requests without sidecar proxies?

    1. L7 policy enforcement

    2. Hubble observability

    3. NodePort services

    4. Cilium health monitoring

    Show answer and explanation

    Correct answer

    • L7 policy enforcement

    Cilium can parse HTTP metadata directly in the kernel, enabling L7 rules and metrics without requiring proxies in the data path.

  7. What is a valid method to install Cilium in a Kubernetes environment?

    1. Using the cilium CLI install command

    2. Applying a Helm chart from any public repo

    3. Manual kernel module compilation

    4. Editing kube-proxy configuration

    Show answer and explanation

    Correct answer

    • Using the cilium CLI install command

    The official cilium CLI provides a straightforward way to deploy and manage Cilium. Other methods are either unsupported or not standard.

  8. Which statement describes Cilium's identity model?

    1. Identities are assigned based on workload labels and remain stable

    2. Identities are derived from pod IP addresses

    3. Identities are only used for encryption

    4. Identities are manually configured per namespace

    Show answer and explanation

    Correct answer

    • Identities are assigned based on workload labels and remain stable

    Cilium assigns identities to workloads dynamically based on labels, enabling policy enforcement that is resilient to IP changes.

  9. What does Hubble primarily enable in a Cilium-powered cluster?

    1. Network flow visibility and troubleshooting

    2. Cluster backup and restore

    3. Ingress controller configuration

    4. Node autoscaling decisions

    Show answer and explanation

    Correct answer

    • Network flow visibility and troubleshooting

    Hubble is Cilium's observability tool that provides insights into network flows, policy denials, and service dependencies.

  10. Question 10

    Link to question

    Which Cilium feature can enforce security policies at the socket level for non-container processes?

    1. NodePort local mode

    2. Transparent tunneling

    3. Cilium host services

    4. Masquerading

    Show answer and explanation

    Correct answer

    • Cilium host services

    Cilium host services allow policy enforcement for processes running directly on the host, not just inside containers.

  11. Question 11

    Link to question

    What is a common use case for Cilium's FQDN policies?

    1. Restrict pod access to specific domain names

    2. Optimize DNS resolution latency

    3. Replace external DNS providers

    4. Generate TLS certificates automatically

    Show answer and explanation

    Correct answer

    • Restrict pod access to specific domain names

    FQDN policies allow defining network rules based on fully qualified domain names, useful for controlling outbound traffic.

  12. Question 12

    Link to question

    Which component is responsible for distributing service IPs and load balancing traffic in Cilium?

    1. cilium-agent

    2. kube-apiserver

    3. Hubble Relay

    4. Linux iptables only

    Show answer and explanation

    Correct answer

    • cilium-agent

    The cilium-agent handles service IP allocation and load balancing for ClusterIP and external traffic within the Cilium data path.

  13. Question 13

    Link to question

    What does Cilium's policy enforcement mode 'deny' imply?

    1. All traffic is denied unless explicitly allowed

    2. All traffic is allowed unless explicitly denied

    3. Only encrypted traffic is permitted

    4. Only traffic from same namespace is allowed

    Show answer and explanation

    Correct answer

    • All traffic is denied unless explicitly allowed

    In deny mode, Cilium blocks all traffic by default and only permits traffic matching defined policies.

  14. Question 14

    Link to question

    Which best practice is recommended when defining Cilium network policies?

    1. Start with wide policies and refine based on observability data

    2. Apply deny-all policies to all namespaces immediately

    3. Use only IP-based rules for simplicity

    4. Disable Hubble to reduce cluster overhead

    Show answer and explanation

    Correct answer

    • Start with wide policies and refine based on observability data

    Observability data from Hubble helps identify allowed traffic patterns before tightening policies, reducing the risk of accidental isolation.

  15. Question 15

    Link to question

    What does the Cilium CLI command 'hubble observe' primarily help with?

    1. Troubleshooting connectivity issues by observing live network flows

    2. Deploying Cilium using Helm

    3. Encrypting etcd data at rest

    4. Configuring kube-proxy in iptables mode

    Show answer and explanation

    Correct answer

    • Troubleshooting connectivity issues by observing live network flows

    The 'hubble observe' command provides real-time visibility into network flows, helping operators debug connectivity and policy enforcement issues.

Read all flashcards

Recall the answer before opening each card.

What does Cilium primarily provide for containerized workloads?

Identity-aware network security and observability. Cilium enforces policies based on application labels and provides visibility into network flows.

Which Cilium component runs as a daemon on each node?

cilium-agent. It enforces policies and manages connectivity on each node. Hubble-relay is optional for advanced observability.

What is a prerequisite for using Cilium with a Kubernetes cluster?

Container runtime support for CNI. Cilium requires a CNI-compatible runtime to replace the default bridge and manage pod networking.

Which resource defines allowed communication between pods in Cilium?

NetworkPolicy. Cilium extends Kubernetes NetworkPolicy to provide L7 visibility and filtering based on application labels.

What protocol does Cilium use to enforce policies at the kernel level?

eBPF. Cilium leverages eBPF programs loaded into the Linux kernel to implement policies with low overhead and deep observability.

Which feature allows visibility into application-layer HTTP requests without sidecar proxies?

L7 policy enforcement. Cilium parses HTTP metadata directly in the kernel, enabling L7 rules and metrics without proxies.

What is a valid method to install Cilium in a Kubernetes environment?

Using the cilium CLI install command. The official CLI provides a straightforward way to deploy and manage Cilium.

How does Cilium assign identities to workloads?

Identities are assigned based on workload labels and remain stable. This enables policy enforcement resilient to IP changes.

What does Hubble primarily enable in a Cilium-powered cluster?

Network flow visibility and troubleshooting. Hubble provides insights into network flows, policy denials, and service dependencies.

Which Cilium feature can enforce security policies at the socket level for non-container processes?

Cilium host services. They allow policy enforcement for processes running directly on the host, not just inside containers.

What is a common use case for Cilium's FQDN policies?

Restrict pod access to specific domain names. FQDN policies define network rules based on fully qualified domain names.

Which component distributes service IPs and handles load balancing in Cilium?

cilium-agent. It handles service IP allocation and load balancing for ClusterIP and external traffic within the Cilium data path.

What does Cilium's policy enforcement mode 'deny' imply?

All traffic is denied unless explicitly allowed. Cilium blocks all traffic by default and only permits traffic matching defined policies.

Which best practice is recommended when defining Cilium network policies?

Start with wide policies and refine based on observability data. This reduces risk of accidental isolation before tightening policies.

What does the Cilium CLI command 'hubble observe' primarily help with?

Troubleshooting connectivity issues by observing live network flows. It provides real-time visibility into flows and policy enforcement.

What is the default traffic behavior in Cilium if no policy is applied?

Default deny. All traffic is blocked unless a policy explicitly allows it. This is the standard Cilium behavior to enforce security.

How does Cilium handle service load balancing for Kubernetes services?

Cilium uses eBPF to perform load balancing directly in the kernel, avoiding iptables overhead. The cilium-agent manages service IPs and backend selection.

What is the purpose of Cilium's identity-based security model?

To decouple policy enforcement from IP addresses. By using labels, identities remain stable across pod restarts and network changes, simplifying policy management.

Can Cilium enforce policies on traffic between nodes and pods?

Yes, via Cilium host services. This extends policy enforcement to host processes and node-to-pod traffic, ensuring consistent security across the cluster.

What type of traffic can Hubble observe in a Cilium cluster?

Network flows at L3/L4 and L7 (HTTP, DNS). Hubble captures flow metadata including source/destination, protocol, and policy verdicts for troubleshooting.

Active recall deck

Practice Cilium Certified Associate with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Connect the concepts

Your Cilium Certified Associate study mind map

Open a branch to connect a topic with its practice questions and explanations. Use the map to choose your next review topic.

Cilium Certified Associate15 questions in this practice set
Understand core Cilium capabilities for securing container communication.(1)
Identify key Cilium daemons and their roles in the cluster.(1)
Verify foundational requirements for Cilium deployment.(1)
Recognize policy mechanisms used to control pod-to-pod traffic.(1)
Understand the underlying technology that powers Cilium's data path.(1)
Identify capabilities for application-layer visibility in Cilium.(1)
Know supported installation approaches for Cilium.(1)
Practice focus 8(1)
Recognize the role of Hubble in monitoring Cilium networks.(1)
Extend policy enforcement beyond pods to host-level services.(1)
Apply identity-based rules using domain names in Cilium policies.(1)
Practice focus 12(1)
More practice connections(3)
Exam-focused analysis

What this CCA practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Core Architecture and Components

Cilium uses eBPF to provide network security and observability directly in the Linux kernel. The primary component is the cilium-agent daemon running on each node, which enforces policies and manages service load balancing. Hubble is an optional component for advanced flow visibility. Understanding how these components interact is fundamental to the CCA exam.

  • Cilium enforces network policies based on application identity (labels) rather than IP addresses.
  • The cilium-agent is responsible for policy enforcement and connectivity on each node.
  • Hubble provides network flow visibility and troubleshooting capabilities.
  • Cilium requires a CNI-compatible container runtime to replace the default Kubernetes bridge.

Policy Enforcement and Identity Model

Cilium extends Kubernetes NetworkPolicy to support L7 filtering and identity-based rules. It assigns stable identities to workloads based on labels, allowing policies to remain effective even when IPs change. Cilium also supports FQDN policies for controlling outbound traffic to domain names. By default, Cilium operates in a deny mode, blocking all traffic unless explicitly allowed.

  • Cilium assigns identities dynamically based on workload labels, not IP addresses.
  • Standard Kubernetes NetworkPolicy is used, extended with L7 visibility and FQDN rules.
  • FQDN policies restrict pod access to specific domain names.
  • Default mode denies all traffic; only traffic matching policies is allowed.
  • Cilium can enforce policies at the socket level for host processes via host services.

Observability and Troubleshooting

Hubble is Cilium's observability layer, providing real-time visibility into network flows, policy denials, and service dependencies. The 'hubble observe' command allows operators to troubleshoot connectivity issues by viewing live flows. Observability data is also essential for crafting effective policies, as it reveals legitimate traffic patterns before tightening rules.

  • Hubble enables network flow visibility and troubleshooting in Cilium-powered clusters.
  • The 'hubble observe' command shows live network flows for debugging.
  • Observing traffic patterns helps define policies that avoid accidental isolation.
  • Hubble-relay optionally aggregates flows for advanced observability.

Installation and Best Practices

Cilium can be installed using the 'cilium install' CLI command, which provides a straightforward method. A prerequisite is a CNI-compatible container runtime. Best practices for policy definition include starting with broad policies and refining based on observability data, rather than attempting to create perfect policies upfront. This iterative approach reduces risk of blocking legitimate traffic.

  • The official cilium CLI (cilium install) is a valid installation method.
  • Cilium requires a CNI-compatible container runtime (e.g., containerd, CRI-O).
  • Start with permissive policies and tighten using Hubble flow data.
  • Use 'hubble observe' to identify expected traffic before enforcing restrictive policies.
  • Cilium host services extend policy enforcement to non-container processes on nodes.

Study workflow

Turn one CCA attempt into a study plan

  1. 1

    Deploy Cilium in a Test Cluster

    Use the cilium CLI to install Cilium on a Kubernetes cluster. Run 'cilium install' and verify that the cilium-agent pods are running on all nodes. Confirm that Cilium is the default CNI by checking node conditions. This establishes a baseline environment for further practice.

  2. 2

    Observe Default Network Flows

    After installation, run 'hubble observe' to see live network flows between pods. Filter by namespace or labels to understand normal communication patterns. Note which flows are allowed and denied. This exercise demonstrates Hubble's observability capabilities and helps you identify traffic for policy creation.

  3. 3

    Create a Basic NetworkPolicy

    Apply a Kubernetes NetworkPolicy that allows traffic only from specific pod labels (e.g., app: frontend to app: backend). Use 'kubectl apply' and then verify with 'hubble observe' that unmatched traffic is denied. This reinforces Cilium's identity-based policy enforcement and default-deny behavior.

  4. 4

    Implement an FQDN Policy

    Define a CiliumNetworkPolicy that allows a pod to access only specific external domain names (e.g., api.example.com). Apply the policy and test using curl or wget. Use Hubble to confirm that allowed DNS resolution and traffic are permitted while other domains are blocked.

  5. 5

    Troubleshoot Policy Denials

    Simulate a connectivity failure by applying a restrictive policy that blocks expected traffic. Use 'hubble observe --deny' to see dropped packets and policy verdicts. Identify the policy causing the denial and adjust it based on observed flows. This step teaches problem-solving with Hubble's observability data.

FAQ

Questions about this CCA practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the role of eBPF in Cilium?+

eBPF is a Linux kernel technology that allows Cilium to enforce network policies and collect observability data directly in the kernel. It enables Cilium to process packets at high speed without sidecar proxies, providing low overhead and deep visibility into application-layer traffic.

How does Cilium assign identity to pods?+

Cilium assigns identities dynamically based on pod labels. When a pod is created, Cilium extracts its labels and associates them with a unique identifier. This identity remains stable even if the pod's IP changes, allowing policies to be enforced consistently without relying on network addresses.

What is the difference between cilium-agent and hubble-relay?+

The cilium-agent runs on each node and handles policy enforcement, networking, and service load balancing. Hubble-relay is an optional component that aggregates flow data from multiple cilium-agents, providing a central point for querying network flows across the cluster.

Does Cilium support standard Kubernetes NetworkPolicy?+

Yes, Cilium fully supports Kubernetes NetworkPolicy and extends it with L7 filtering, FQDN rules, and identity-based policies. You can use standard YAML manifests to define NetworkPolicy objects, and Cilium will enforce them using eBPF.

What does default-deny mode mean in Cilium?+

In default-deny mode, Cilium blocks all network traffic that is not explicitly allowed by a policy. This is the recommended starting point for security. Operators must define policies to permit specific flows, and Hubble helps observe which traffic needs to be allowed before tightening rules.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.