1Z0-1084-20 · Question #12
1Z0-1084-20 Question #12: Real Exam Question with Answer & Explanation
The correct answer is A. Set up a policy with the following statement to grant read access to the bucket: B. Set up the following dynamic group for your function's OCID: Name: read-file-dg Rule: resource . id. When a function you've deployed to Oracle Functions is running, it can access other Oracle Cloud Infrastructure resources. For example: - You might want a function to get a list of VCNs from the Networking service. - You might want a function to read data from an Object Storage b
Question
Options
- ASet up a policy with the following statement to grant read access to the bucket:
- BSet up the following dynamic group for your function's OCID: Name: read-file-dg Rule: resource . id
- CSet up a policy to grant all functions read access to the bucket:
- DSet up a policy to grant your user account read access to the bucket:
- ENo policies are needed. By default, every function has read access to Object Storage buckets in
Explanation
When a function you've deployed to Oracle Functions is running, it can access other Oracle Cloud Infrastructure resources. For example: - You might want a function to get a list of VCNs from the Networking service. - You might want a function to read data from an Object Storage bucket, perform some operation on the data, and then write the modified data back to the Object Storage bucket. To enable a function to access another Oracle Cloud Infrastructure resource, you have to include the function in a dynamic group, and then create a policy to grant the dynamic group access to that resource. https://docs.cloud.oracle.com/en- us/iaas/Content/Functions/Tasks/functionsaccessingociresources.htm
Community Discussion
No community discussion yet for this question.