Question 1 of 30
In a microservices architecture deployed on Kubernetes, an organization is implementing an Ingress Controller to manage external access to its services. The Ingress Controller is configured to route traffic based on specific hostnames and paths. If the organization has three services: Service A (host: service-a.example.com), Service B (host: service-b.example.com), and Service C (host: service-c.example.com), and they want to ensure that requests to service-a.example.com are routed to Service A, while requests to service-b.example.com and service-c.example.com are routed to Services B and C respectively, which of the following configurations would best achieve this routing?
An Ingress resource that specifies rules for each hostname, directing traffic to the corresponding service based on the host header.
A single Ingress resource with a default backend that routes all traffic to Service A, regardless of the hostname.
Multiple Ingress resources with overlapping rules that could lead to ambiguous routing decisions.
An Ingress resource that uses path-based routing but does not specify hostnames, leading to potential conflicts.

Preparing for VMWare 2V0-71.21 Professional VMware Application Modernization? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free