1z0-1084-21 Oracle Cloud Infrastructure Developer 2021 Associate

Loading demo links...

Showing 4–6 of 10 questions

Question 4

You are developing a serverless application with Oracle Functions and Oracle Cloud Infrastructure Object Storage. Your function needs to read a JSON file object from an Object Storage bucket named “input-bucket” in compartment “qa-compartment”. Your corporate security standards mandate the use of Resource Principals for this use case.

Which two statements are needed to implement this use case? (Choose two.)

Select all that apply, then click Submit answer.

  • Set up a policy with the following statement to grant read access to the bucket:
    allow dynamic-group read-file-dg to read objects in compartment qa-compartment where target.bucket.name='input-bucket'

  • No policies are needed. By default, every function has read access to Object Storage buckets in the tenancy

  • Set up a policy to grant your user account read access to the bucket:
    allow user XYZ to read objects in compartment qa-compartment where target.bucket.name='input-bucket'

  • Set up a policy to grant all functions read access to the bucket:
    allow all functions in compartment qa-compartment to read objects in target.bucket.name='input-bucket'

  • Set up the following dynamic group for your function’s OCID:
    Name: read-file-dg
    Rule: resource.id = 'ocid1. fnfunc.oc1.phx.aaaaaaaakeaobctakezjz5i4ujj7g25q7sx5mvr55pms6f4da'

Question 5

Which two handle Oracle Functions authentication automatically? (Choose two.)

Select all that apply, then click Submit answer.

  • Fn Project CLI

  • cURL

  • Oracle Cloud Infrastructure SDK

  • Oracle Cloud Infrastructure CLI

  • Signed HTTP Request

Question 6

A developer using Oracle Cloud Infrastructure (OCI) API Gateway must authenticate the API requests to their web application. The authentication process must be implemented using a custom scheme which accepts string parameters from the API caller.

Which method can the developer use in this scenario?

Select an option, then click Submit answer.

  • Create a cross account functions authorizer.

  • Create an authorizer function using OCI Identity and Access Management based authentication.

  • Create an authorizer function using request header authorization.

  • Create an authorizer function using token-based authorization.