Skip to content

Kyverno CLI Questions

Practice questions for Kyverno CLI topic in Kyverno Certified Associate. 24 questions covering this domain.

24 questions8 easy12 medium4 hard
Q1
medium

A repository contains policy tests for `kyverno test`. Which file name does the CLI look for by default?

Q2
easy

Which Kyverno CLI command applies policies on resources?

Q3
hard

A policy repository contains dozens of test cases, but an engineer only wants to run one specific case while debugging. Which CLI option best fits tha...

Q4
easy

Which Kyverno CLI command provides a command-line interface to JMESPath enhanced with Kyverno-specific functions?

Q5
medium

A platform engineer wants to evaluate policies against live resources in the current Kubernetes context rather than only local files. What does `kyver...

Q6
medium

What is the main purpose of `kyverno test`?

Q7
medium

What does the `--policy-report` flag do when used with `kyverno apply`?

Q8
easy

Which `kyverno` CLI command is used to print the installed version of the Kyverno CLI?

Q9
medium

A developer runs `kyverno test .` but wants to run only specific test cases from the `kyverno-test.yaml` file. Which flag should they use?

Q10
easy

Which package managers can be used to install the Kyverno CLI? (Select the best answer)

Q11
hard

A team uses `kyverno apply` with the `--cluster` flag in their CI pipeline. What does this flag do?

Q12
medium

What is the purpose of the `--require-tests` flag in `kyverno test`?

Q13
medium

A CI job wants Audit-mode policy violations to show up as warnings instead of failures when using `kyverno apply`. Which flag should be added?

Q14
medium

A developer only wants to see failing test cases when running a large Kyverno test suite. Which option best fits?

Q15
medium

A policy uses CEL expressions that depend on external context values stored in a file. Which `kyverno apply` option is intended to supply that file?

Q16
easy

Which `kyverno jp` subcommand is intended to show the parsed structure of a JMESPath expression?

Q17
hard

A policy set includes mutate-existing rules that need explicit target resources during offline evaluation. Which `kyverno apply` input options were de...

Q18
easy

Which `kyverno jp` subcommand lists the available JMESPath functions, including Kyverno-specific custom functions?

Q19
medium

A CI pipeline should exit with a custom code when Kyverno finds warnings but no failures. Which option supports that?

Q20
easy

Which `kyverno apply` option shows results in a table format?

Sign in to see all 24 questions

Create a free account to browse all questions — completely free during our launch phase.