Oracle Cloud Infrastructure 2020 Architect Professional — Question 26
You work for a retail company and they developed a Microservices based shopping application that needs to access Oracle Autonomous Database from the application. As an Architect, you have been tasked to treat all of the application components as Kubernetes native objects, such as the microservices, Oracle
Autonomous database, Kubernetes services, etc.
What should you do to make sure that you can use Kubernetes constructs to manage the life cycle of the application components, including Oracle Autonomous
Database? (Choose the best answer.)
Answer options
- A. Create an Oracle Cloud Infrastructure (OCI) Service Gateway and connect to the Oracle Autonomous Database using the private IP address from the microservice.
- B. Provision an Oracle Autonomous Database and then use OCI Service Broker to access the database as a native component to your Kubernetes cluster.
- C. Create a service from the Kubernetes cluster and point to the Oracle Autonomous Database using its FQDN.
- D. Install and secure the OCI Service Broker for Kubernetes. Then provision and bind to the required Oracle Cloud Infrastructure services.
Correct answer: D
Explanation
The correct answer is D because installing and securing the OCI Service Broker for Kubernetes allows for managing Oracle Cloud services as native Kubernetes resources, which is essential for lifecycle management. Option A focuses on a direct connection that doesn't integrate with Kubernetes constructs, while option B, although useful, doesn't emphasize the management aspect as strongly as D. Option C provides a way to access the database but lacks the complete integration needed for lifecycle management.