CK.V · CKAD practice question

In a networking.k8s.io/v1 Ingress rule, what is the difference between pathType: Exact and pathType: Prefix for path /api?

Choose one answer
Check answer and explanation

Correct answer: Exact matches only the exact URL path /api (case-sensitive), whereas Prefix matches /api and any slash-delimited subpaths such as /api/v1

Explanation

Exact matches the URL path literally, while Prefix matches the path prefix along path element boundaries (such as /api and /api/items).

Common trap

Exact matches the URL path literally, while Prefix matches the path prefix along path element boundaries (such as /api and /api/items).

Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.

Report an error in this question