
KCA (Kyverno Certified Associate) is the Linux Foundation and CNCF certification for Kyverno, the Kubernetes-native policy engine. Kyverno policies are written in YAML and run as an admission controller: they can block insecure resources, fix them automatically, create default resources such as network policies, verify signed images, and clean up old objects. Platform and security teams use it to enforce rules like "no privileged containers" or "every pod needs resource limits". Writing policies is a third of the exam, so practise on a real cluster.
This guide follows the official Linux Foundation exam page: exam facts, the six domains with weights, the rule types with examples, CLI commands, a 3-week plan and 15 original practice questions.
Quick facts (Linux Foundation, November 2026)
| Item | Detail |
|---|---|
| Format | Online, proctored, multiple choice |
| Duration | 90 minutes |
| Level | Beginner; no prerequisites |
| Price | US$250 exam only; US$495 with an annual training subscription |
| Validity | 2 years |
| Eligibility | 12 months to schedule and take the exam; two attempts (one retake) |
Read the official KCA exam page and the Kyverno documentation.
Domains and weights
| Domain | Weight | Competencies (from the Linux Foundation) |
|---|---|---|
| Writing Policies | 32% | Validation, mutation, generation and verifyImages rules; preconditions; background scans; variables and API calls; JSON patches; autogen rules; cleanup policies; CEL |
| Fundamentals of Kyverno | 18% | Policies and rules; YAML manifests; admission controllers; OCI images |
| Installation, Configuration, and Upgrades | 18% | Helm installation; Kyverno CRDs; controller flags; RBAC; high availability; upgrades |
| Kyverno CLI | 12% | Installing the CLI; apply; test; jp |
| Applying Policies | 10% | Applying in the cluster; resource selection; common policy settings |
| Policy Management | 10% | Policy reports; PolicyExceptions; Kyverno metrics |
The rule types with examples
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: baseline-pod-rules
spec:
validationFailureAction: Enforce # Audit only reports; Enforce blocks
background: true # also scan existing resources
rules:
- name: require-limits # VALIDATE
match:
any:
- resources: { kinds: [Pod] }
validate:
message: "CPU and memory limits are required."
pattern:
spec:
containers:
- resources:
limits: { memory: "?*", cpu: "?*" }
- name: add-team-label # MUTATE
match:
any:
- resources: { kinds: [Pod] }
mutate:
patchStrategicMerge:
metadata:
labels:
+(team): "unassigned" # add only if missing
- name: default-deny # GENERATE
match:
any:
- resources: { kinds: [Namespace] }
generate:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
name: default-deny
namespace: "{{request.object.metadata.name}}"
synchronize: true
data:
spec:
podSelector: {}
policyTypes: [Ingress, Egress]
Also know verifyImages (check Cosign or Notary signatures and attestations), autogen (Kyverno copies Pod rules to Deployments, StatefulSets, Jobs and other controllers automatically), CleanupPolicy resources that delete matching objects on a schedule, and CEL expressions in validation rules. Newer Kyverno releases also add CEL-based policy types, so check the docs for the version the exam uses.
CLI commands
kyverno apply policy.yaml --resource pod.yaml # test a policy against a manifest
kyverno apply policy.yaml --cluster # against live cluster resources
kyverno test ./tests/ # run kyverno-test.yaml test cases
kyverno jp query "spec.containers[].image" -i pod.yaml # JMESPath helper
kubectl get policyreport -A # results per namespace
kubectl get clusterpolicyreport
3-week study plan
| Week | Focus | Lab (kind or minikube) |
|---|---|---|
| 1 | Admission control, Kyverno architecture, CRDs, Helm install, HA, RBAC, flags, upgrades | Install Kyverno with Helm in HA mode; read the controller logs |
| 2 | Writing policies: validate, mutate, generate, preconditions, variables, API calls, JSON patches, autogen, CEL | Write five policies from the Pod Security Standards; test Audit and Enforce |
| 3 | verifyImages, cleanup policies, CLI apply and test, policy reports, exceptions, metrics; review | Write CLI tests for your policies; add a PolicyException; book the exam |
15 practice questions with answers
These are original questions written for this guide, not exam questions.
1. How does Kyverno see resources before they are stored?
It runs as a Kubernetes admission controller called by validating and mutating webhooks.
2. Policy vs ClusterPolicy?
A Policy is namespaced; a ClusterPolicy applies across the cluster.
3. Which setting reports violations without blocking?
validationFailureAction: Audit.
4. What does background: true do?
Also scans existing resources and records results in policy reports.
5. Which rule type adds a default label?
A mutate rule.
6. Which rule type creates a NetworkPolicy in every new namespace?
A generate rule.
7. What does synchronize: true do on a generate rule?
Keeps the generated resource in sync with the policy and recreates it if someone deletes or changes it.
8. You wrote a rule for Pods. Why does it also block a Deployment?
Autogen copies Pod rules to Pod controllers such as Deployments.
9. Which rule type checks that container images are signed?
verifyImages.
10. How do you apply a rule only when a label equals "prod"?
Add a precondition.
11. How can a policy use data from a ConfigMap or the Kubernetes API?
Through context variables, with configMap or apiCall entries.
12. Which resource lets one workload skip a policy without changing the policy?
A PolicyException.
13. Which CLI command tests policies against YAML files in a CI pipeline?
kyverno apply (and kyverno test for test suites).
14. Where do you see which resources fail which policies?
PolicyReport and ClusterPolicyReport resources.
15. Which resource deletes old objects, such as finished Jobs, on a schedule?
A CleanupPolicy (or ClusterCleanupPolicy).
After KCA
- Complete the security set with KCSA and Cilium CCA; see platform governance in CNPA.
- Learn it hands-on in our DevSecOps course and Kubernetes course; see live DevSecOps jobs.
Cloud Soft Solutions in Ameerpet, Hyderabad teaches Kubernetes, DevSecOps and platform engineering with real-time projects. See the APEX program and all courses.
📞 Call +91 96660 19191 · WhatsApp · Flat No. 513, 5th Floor, Nilagiri Block, Aditya Enclave, Ameerpet, Hyderabad
Frequently Asked Questions
What is the KCA exam?
The Linux Foundation and CNCF Kyverno Certified Associate: a beginner online, proctored, multiple-choice exam on the Kyverno policy engine.
How long is the KCA exam?
90 minutes.
Which KCA domain has the most weight?
Writing Policies at 32%.
Does KCA have prerequisites?
No.
How much does KCA cost?
US$250 for the exam only, or US$495 with an annual training subscription. Two attempts are included.
What is Kyverno used for?
Enforcing, mutating and generating Kubernetes resources with YAML policies, verifying image signatures and cleaning up resources.



