exam questions

Exam 1z0-997-20 All Questions

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

Exam 1z0-997-20 topic 1 question 17 discussion

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

You are developing a Serverless function for your company's IoT project. This function should access Oracle Cloud Infrastructure (OCI) Object Storage to store some files. You choose Oracle Functions to deploy this function on OCI. However, your security team doesn't allow you to carry any API Token or RSA Key to authenticate the function against the OCI API to access the Object Storage.
What should you do to get this function to access OCI Object Storage without carrying any static authentication files? (Choose the best answer.)

  • A. Set up a Dynamic Group using the format below: Create a policy using the format below to give access to OCI Object Storage: Include a call to a "˜resource principal provider' in your function code as below:
  • B. Add these two policy statements for your compartment and then include a call to a "˜resource principal provider' in your function code:
  • C. There is no way that you can access the OCI resources from a running function.
  • D. Add these two policy statements for your compartment to give your function automatic access to all other OCI resources:
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Faz
Highly Voted 4 years, 2 months ago
Correct answer is A. https://blogs.oracle.com/cloud-infrastructure/getting-started-with-oracle-functions-and-object-storage
upvoted 11 times
...
sahnamana
Most Recent 2 years, 5 months ago
A is the answer
upvoted 1 times
...
pelekafitinakwenu
3 years ago
Selected Answer: A
Use of Dynamic Groups and policy definition for the groups
upvoted 1 times
...
EaglEyeZ
3 years, 1 month ago
A is the correct option
upvoted 1 times
...
jac_1707
3 years, 1 month ago
feel A is correct
upvoted 2 times
...
a321321
3 years, 1 month ago
A is the right answer
upvoted 2 times
...
lmkumar
3 years, 3 months ago
A is answer
upvoted 2 times
...
kiosk265
3 years, 6 months ago
A: https://docs.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsaccessingociresources.htm
upvoted 2 times
...
Rohit_B
4 years ago
A is correct.
upvoted 1 times
...
ankit89
4 years, 2 months ago
A is correct
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago