1z0-1084-20 Oracle Cloud Infrastructure Developer 2020 Associate

Loading demo links...

Showing 1–3 of 10 questions

Question 1

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’

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

  • 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 a policy to grant your user account read access to the bucket: allow user XYZ to read objects in compartment qacompartment where target.bucket.name= ‘input-bucket’

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

Question 2

You want to push a new image in the Oracle Cloud Infrastructure (OCI) Registry.

Which two actions do you need to perform? (Choose two.)

Select all that apply, then click Submit answer.

  • Assign a tag via Docker CLI to the image.

  • Generate an auth token to complete the authentication via Docker CLI.

  • Generate an API signing key to complete the authentication via Docker CLI.

  • Assign an OCI defined tag via OCI CLI to the image.

  • Generate an OCI tag namespace in your repository.

Question 3

You have created a repository in Oracle Cloud Infrastructure Registry in the us-ashburn-1 (iad) region in your tenancy with a namespace called “heyoci”.

Which three are valid tags for an image named “myapp”? (Choose three.)

Select all that apply, then click Submit answer.

  • iad.ocir.io/heyoci/myproject/myapp:0.0.1

  • us-ashburn-1.ocir.io/heyoci/myapp:0.0.2-beta

  • us-ashburn-1.ocir.io/heyoci/myproject/myapp:0.0.2-beta

  • us-ashburn-1.ocir.io/myproject/heyoci/myapp:latest

  • iad.ocir.io/myproject/heyoci/myapp:latest

  • iad.ocir.io/heyoci/myapp:0.0.2-beta

  • iad.ocir.io/heyoci/myapp:latest