1z0-1084-22 Oracle Cloud Infrastructure 2022 Developer Professional

Loading demo links...

Showing 10–10 of 10 questions

Question 10

You are developing a serverless application with Oracle Functions. You have created a function in compartment named prod. When you try to invoke your function you get the following error.

Error invoking function. status: 502 message: dhcp options ocid1.dhcpoptions.oc1.phx.aaaaaaaac... does not exist or Oracle Functions is not authorized to use it

How can you resolve this error?

Select an option, then click Submit answer.

  • Create a policy:
    Allow function-family to use virtual-network-family in compartment prod

  • Create a policy:
    Allow any-user to manage function-family and virtual-network-family in compartment prod

  • Create a policy:
    Allow service FaaS to use virtual-network-family in compartment prod

  • Deleting the function and redeploying it will fix the problem