Oracle Cloud Platform Data Integration 2020 Specialist — Question 50
You have written a Node.js function and deployed it to Oracle Functions. Next, you need to call this function from a microservice written in Java deployed on
Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE).
Which can help you to achieve this? (Choose the best answer.)
Answer options
- A. Use the OCI CLI with kubectl to invoke the function from the microservice.
- B. Oracle Functions does not allow a microservice deployed on OKE to invoke a function.
- C. OKE does not allow a microservice to invoke a function from Oracle Functions.
- D. Use the OCI Java SDK to invoke the function from the microservice.
Correct answer: D
Explanation
The correct answer is D because the OCI Java SDK provides the necessary tools to invoke Oracle Functions seamlessly from a Java application. Option A is incorrect as the OCI CLI does not directly invoke functions in this context. Options B and C are false statements; there are no restrictions preventing a microservice on OKE from calling Oracle Functions.