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

CKA study material · question 734 of 1000

An Ingress has a Prefix path of /foo/bar. Which two request paths match? Choose two.

  1. /foo/bar
  2. /foo/barbaz
  3. /foo/bar/baz
  4. /foobar
Show the answer

Answer: A. /foo/bar
C. /foo/bar/baz

Prefix matching works element by element between slashes, so a longer final element such as barbaz does not match, and neither does a path that never splits at the same boundary.

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

Challenge yourself on this topic → Study as cards