Oracle Cloud Infrastructure 2022 Architect Professional — Question 4
You are a cloud architect at a financial organization. The development team is tasked with creating a cloud native application to be hosted on Oracle Cloud Infrastructure (OCI). The development team has followed a microservices-based approach and created containerized images of the cloud-native application and pushed them to OCI Registry (OCIR).
How can you deploy a load balanced application to your OCI Container Engine for Kubernetes (OKE) cluster using these images?
Answer options
- A. Create a load balancer using the OCI load balancer service, add the load balancer service IP in the manifest file, add the location of the docker image to the manifest file, and deploy the manifest file.
- B. Create a named secret, add the secret to the manifest file, add the location of the docker image to the manifest file, add the service of type LoadBalancer in the manifest file, and deploy the manifest file.
- C. Create an auth token, add the auth token to the manifest file, add the location of the docker image to the manifest file, add the service of type LoadBalancer in the manifest file, and deploy the manifest file.
- D. Add the location of the docker image to the manifest file, deploy the manifest file. All applications are load-balanced by default in OKE
Correct answer: A
Explanation
Option A is correct because it details the proper process of creating a load balancer, configuring the manifest file with the load balancer's IP and the docker image location, and deploying it. Option B is incorrect as it requires a named secret, which is unnecessary for this scenario. Option C is also incorrect because while an auth token is mentioned, it does not address the load balancer setup properly. Option D is wrong because not all applications are load-balanced by default; explicit configuration is necessary.