nerdexam
Oracle

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…

Developing Serverless Applications (Functions)

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)
  • A
    4% (2)
  • B
    13% (6)
  • C
    2% (1)
  • D
    80% (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

#Oracle Functions#OCI Java SDK#OKE#cross-service invocation

Community Discussion

No community discussion yet for this question.

Full 1Z0-1084-20 Practice