Bird
0
0

Which Kubernetes resource is primarily used to configure path-based routing?

easy📝 Conceptual Q2 of 15
Kubernetes - Ingress
Which Kubernetes resource is primarily used to configure path-based routing?
APersistentVolume
BIngress
CServiceAccount
DConfigMap
Step-by-Step Solution
Solution:
  1. Step 1: Recall Kubernetes resources

    Ingress is used to expose HTTP and HTTPS routes from outside the cluster to services within the cluster.
  2. Step 2: Match resource to path-based routing

    Ingress supports rules for routing based on host and path.
  3. Final Answer:

    Ingress -> Option B
  4. Quick Check:

    Path-based routing configured in Ingress [OK]
Quick Trick: Ingress controls HTTP routing rules [OK]
Common Mistakes:
  • Confusing ConfigMap with routing configuration
  • Thinking ServiceAccount manages routing
  • Mixing PersistentVolume with networking

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes