CK.V · CKAD practice question
You create an Ingress in namespace shop with host: shop.example.com and backend Service web-svc on port 80, but curl to the Ingress controller returns 404 or default backend. What is a common cause on the Ingress resource itself?
Check answer and explanation
Correct answer: Wrong ingressClassName, mismatched host/path, or wrong backend Service name/port
Explanation
Ingress routing fails or hits the default backend if ingressClassName does not match the controller, host/path rules do not match the request, or backend.service.name/port is incorrect.
Common trap
Ingress routing fails or hits the default backend if ingressClassName does not match the controller, host/path rules do not match the request, or backend.service.name/port is incorrect.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.