Oracle Cloud Infrastructure 2022 Architect Professional — Question 38
You developed a microservices-based application that runs on Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE). It has multiple endpoints that needs to be exposed to the public internet.
What is the most cost-effective way to expose multiple application endpoints without adding complexity to the application?
Answer options
- A. Use NodePort service type in Kubernetes for each of your service endpoint and use node's public IP address to access the applications.
- B. Use separate load balancer instance for each service, but use the 100 Mbps load balancer option.
- C. Deploy an Ingress Controller and use it to expose each endpoint with its own routing endpoint.
- D. Use ClusterIP service type in Kubernetes for each of your service endpoint and use a load balancer to expose the endpoints.
Correct answer: C
Explanation
The correct answer is C because deploying an Ingress Controller allows for efficient management of multiple endpoints through a single entry point, minimizing complexity and cost. Options A and D would require additional resources and are less efficient for multiple endpoints, while option B is not cost-effective due to the need for separate load balancers for each service.