1Z0-1084-20 · Question #44
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)…
The correct answer is D. Use the OCI Java SDK to invoke the function from the microservice. You can invoke a function that you've deployed to Oracle Functions in different ways: Using the Fn Project CLI. Using the Oracle Cloud Infrastructure CLI. Using the Oracle Cloud Infrastructure SDKs. Making a signed HTTP request to the function's invoke endpoint. Every function…
Question
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?
Options
- AUse the OCI CLI with kubect1 to invoke the function from the microservice.
- BOracle Functions does not allow a microservice deployed on OKE to invoke a function.
- COKE does not allow a microservice to invoke a function from Oracle Functions.
- DUse the OCI Java SDK to invoke the function from the microservice.
How the community answered
(46 responses)- A4% (2)
- B13% (6)
- C2% (1)
- D80% (37)
Explanation
You can invoke a function that you've deployed to Oracle Functions in different ways: Using the Fn Project CLI. Using the Oracle Cloud Infrastructure CLI. Using the Oracle Cloud Infrastructure SDKs. Making a signed HTTP request to the function's invoke endpoint. Every function has an invoke
Topics
Community Discussion
No community discussion yet for this question.