Study. uk . com
  1. Home
  2. All questions
  3. Question 735

CKA study material · question 735 of 1000

An Ingress has an Exact path of /foo. Which request path matches it?

  1. /foo/
  2. /foo/bar
  3. /bar
  4. /foo
Show the answer

Answer: D. /foo

Exact matching compares the whole path, is case-sensitive, and does not forgive a trailing slash, so only the identical path matches; a Prefix path would be needed to cover the subpath.

Source: Ingress (Kubernetes) — The Ingress resource › Path types › Examples

Challenge yourself on this topic → Study as cards