Beginner Kyverno quiz
A free beginner Kyverno quiz with up to 40 multiple-choice questions on policy as code with validate, mutate, generate, verifyImages and cleanup rules. Written for people new to the technology, with an explanation for every answer.
Loading Quiz...
Preparing your Kyverno Beginner level questions
Browse the 24 easy Kyverno questions, with answers
- What is Kyverno?
- Which Kubernetes resource type does Kyverno use to define policies?
- What are the three main types of rules in Kyverno policies?
- Which command is used to install Kyverno in a Kubernetes cluster?
- What is the purpose of a validation rule in Kyverno?
- What is the purpose of a mutation rule in Kyverno?
- Which command is used to test a Kyverno policy against a resource without applying it to the cluster?
- Which Kubernetes API group does Kyverno use for its resources?
- What is the difference between a ClusterPolicy and a Policy in Kyverno?
- Which of the following is NOT a valid rule type in a Kyverno policy?
- Which command is used to generate a policy from a resource?
- Which command is used to check if Kyverno is ready in a Kubernetes cluster?
- Which apiVersion does a Kyverno CLI kyverno-test.yaml file use?
- What does kyverno test do when an actual policy result doesn't match the expected one?
- In a kyverno-test.yaml file, which expected result do you write for a resource the policy should block?
- What happens to an existing ClusterPolicy when a cluster is upgraded to Kyverno 1.20?
- Which validationActions value makes a Kyverno ValidatingPolicy reject a request that fails a validation?
- When you migrate a ClusterPolicy to the CEL-based types, which kind replaces a generate rule?
- Which CEL function does a Kyverno GeneratingPolicy call in a generate expression to create resources in a namespace?
- A GeneratingPolicy defines a NetworkPolicy inline and has evaluation.synchronize.enabled set to true. What happens when someone deletes the generated NetworkPolicy?
- In a Kyverno GeneratingPolicy template entry, which interpolate value makes Kyverno evaluate (( ... )) placeholders in the YAML?
- Which two patchType values does a mutation in a Kyverno MutatingPolicy accept?
- Which Kyverno kind lets a namespace owner write mutation rules that apply only to resources in that namespace?
- In a Kyverno MutatingPolicy, which field turns on mutation of resources that already exist in the cluster?