Oracle Cloud Platform Data Integration 2020 Specialist — Question 9
You have a containerized app that requires an Autonomous Transaction Processing (ATP) Database. Which option is not valid for connecting to ATP from a container in Kubernetes? (Choose the best answer.)
Answer options
- A. Enable Oracle REST Data Services for the required schemas and connect via HTTPS.
- B. Create a Kubernetes secret with contents from the instance Wallet files. Use this secret to create a volume mounted to the appropriate path in the application deployment manifest.
- C. Use Kubernetes secrets to configure environment variables on the container with ATP instance OCID, and OCI API credentials. Then use the CreateConnection API endpoint from the service runtime.
- D. Install the Oracle Cloud Infrastructure Service Broker on the Kubernetes cluster and deploy ServiceInstance and ServiceBinding resources for ATP. Then use the specified binding name as a volume in the application deployment manifest.
Correct answer: D
Explanation
Option D is not a valid way to connect to ATP as it involves steps that are not necessary or recommended for direct database connections in this context. Options A, B, and C provide valid methods for establishing a connection with ATP, either through REST services, Kubernetes secrets, or environment variables, which are commonly used practices.