Correct Answer: Define multiple path entries under the 'paths' list in the Ingress rules
Ingress routing rules support path-based routing. You specify a list of paths (e.g., path: /api, path: /) under the HTTP rules, mapping each path to its respective backend service ...
Correct Answer
Define multiple path entries under the 'paths' list in the Ingress rules
Why This Answer Is Correct
Ingress routing rules support path-based routing. You specify a list of paths (e.g., path: /api, path: /) under the HTTP rules, mapping each path to its respective backend service and port.
This question evaluates your knowledge of Kubernetes Networking — a core concept tested in cloud certification exams. Understanding Kubernetes Networking is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.
If a developer wants an application to be accessible via standard HTTP/HTTPS hostnames and paths (e.g., myapp.com/api), what object should be deployed?
By default, pods in a Kubernetes cluster can communicate with any other pod in any namespace. You want to restrict traffic so that the 'backend' pods only accept connections from 'frontend' pods. Which resource should you configure?
Pods in your Kubernetes cluster are suddenly unable to resolve external domain names, but they can still communicate via direct IP addresses. Which of the following is the most appropriate first troubleshooting step?
You have a frontend service that communicates with a backend service. To minimize network latency and inter-zone bandwidth costs, you want the frontend pod to only route traffic to backend pods running on the exact same node, returning a connection error if no local backend pod is available. Which Service spec field should you configure?