exam questions

Exam 1z0-1084-20 All Questions

View all questions & answers for the 1z0-1084-20 exam

Exam 1z0-1084-20 topic 1 question 39 discussion

Actual exam question from Oracle's 1z0-1084-20
Question #: 39
Topic #: 1
[All 1z0-1084-20 Questions]

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:

How can you resolve this error? (Choose the best answer.)

  • A. Create a policy: Allow function-family to use virtual-network-family in compartment prod
  • B. Create a policy: Allow any-user to manage function-family and virtual-network-family in compartment prod
  • C. Create a policy: Allow service FaaS to use virtual-network-family in compartment prod
  • D. Deleting the function and redeploying it will fix the problem
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://docs.cloud.oracle.com/en-us/iaas/Content/Functions/Tasks/functionscreatingpolicies.htm#faas-policy-on-network

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gfhbox0083
Highly Voted 4 years, 10 months ago
C, for sure. When Oracle Functions users create a function or application, they have to specify a VCN and a subnet in which to create them. To enable the Oracle Functions service to create the function or application in the specified VCN and subnet, you must create an identity policy to grant the Oracle Functions service access to the compartment to which the network resources belong. Allow service FaaS to use virtual-network-family in compartment <compartment-name>
upvoted 7 times
...
FPM
Most Recent 4 years, 3 months ago
Guys, you are all wrong. It is A. 'allow functions-family'. There is no 'allow service'
upvoted 1 times
FPM
4 years, 3 months ago
My mistake. I don't see 'allow service' in the documentation but I saw the exact policy in the the powerpoint slides and videos. So it is C.
upvoted 1 times
...
...
jesmonsa
4 years, 4 months ago
Correct Answer: C
upvoted 1 times
...
davidliuatoracle
4 years, 4 months ago
where could we find service principal for OCI ? only user and dynamic group are found
upvoted 1 times
...
Jatindra
4 years, 10 months ago
Answer : C
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...