1z0-1084-20
Free trial
Verified
Question 1
Which statement accurately describes Oracle Cloud Infrastructure (OCI) Load Balancer integration with OCI Container Engine for Kubernetes (OKE)? (Choose the best answer.)
- A: OKE service provisions an OCI Load Balancer instance for each Kubernetes service with LoadBalancer type in the YAML configuration.
- B: OCI Load Balancer instance provisioning is triggered by OCI Events service for each Kubernetes service with LoadBalancer type in the YAML configuration.
- C: OCI Load Balancer instance must be manually provisioned for each Kubernetes service that requires traffic balancing.
- D: OKE service provisions a single OCI Load Balancer instance shared with all the Kubernetes services with LoadBalancer type in the YAML configuration.
Question 2
You are tasked with developing an application that requires the use of Oracle Cloud Infrastructure (OCI) APIs to POST messages to a stream in the OCI
Streaming service.
Which statement is incorrect? (Choose the best answer.)
- A: The request must include an authorization signing string including (but not limited to) x-content-sha256, content-type, and content-length headers.
- B: The Content-Type header must be set to application/json
- C: An HTTP 401 will be returned if the client's clock is skewed more than 5 minutes from the server's.
- D: The request does not require an Authorization header.
Question 3
You are working on a serverless DevSecOps application using Oracle Functions. You have deployed a Python function that uses the Oracle Cloud Infrastructure
(OCI) Python SDK to stop any OCI Compute instance that does not comply with your corporate security standards. There are 3 non-compliant OCI Compute instances.
However, when you invoke this function none of the instances were stopped.
How should you troubleshoot this? (Choose the best answer.)
- A: There is no way to troubleshoot a function running on Oracle Functions.
- B: Enable function logging in the OCI console, include some print statements in your function code and use logs to troubleshoot this.
- C: Enable function remote debugging in the OCI console, and use your favorite IDE to inspect the function running on Oracle Functions.
- D: Enable function tracing in the OCI console, and go to OCI Monitoring console to see the function stack trace.
Question 4
Which is NOT a valid option to execute a function deployed on Oracle Functions? (Choose the best answer.)
- A: Send a signed HTTP requests to the function's invoke endpoint
- B: Invoke from Oracle Cloud Infrastructure CLI
- C: Invoke from Docker CLI
- D: Trigger by an event in Oracle Cloud Infrastructure Events service
- E: Invoke from Fn Project CLI
Question 5
You are developing a polyglot serverless application using Oracle Functions.
Which language cannot be used to write your function code? (Choose the best answer.)
- A: PL/SQL
- B: Python
- C: Node.js
- D: Go
- E: Java
Question 6
Which two statements accurately describe an Oracle Functions application? (Choose two.)
- A: A small block of code invoked in response to an Oracle Cloud Infrastructure (OCI) Events service
- B: A Docker image containing all the functions that share the same configuration
- C: An application based on Oracle Functions, Oracle Cloud Infrastructure (OCI) Events and OCI API Gateway services
- D: A common context to store configuration variables that are available to all functions in the application
- E: A logical group of functions
Question 7
You are processing millions of files in an Oracle Cloud Infrastructure (OCI) Object Storage bucket. Each time a new file is created, you want to send an email to the customer and create an order in a database. The solution should perform and minimize cost.
Which action should you use to trigger this email? (Choose the best answer.)
- A: Schedule a cron job that monitors the OCI Object Storage bucket and emails the customer when a new file is created.
- B: Use OCI Events service and OCI Notification service to send an email each time a file is created.
- C: Schedule an Oracle Function that checks the OCI Object Storage bucket every minute and emails the customer when a file is found.
- D: Schedule an Oracle Function that checks the OCI Object Storage bucket every second and emails the customer when a file is found.
Question 8
You are using Oracle Cloud Infrastructure (OCI) Resource Manager to manage your infrastructure lifecycle and wish to receive an email each time a Terraform action begins.
How should you use the OCI Events service to do this without writing any code? (Choose the best answer.)
- A: Create an OCI Notifications topic and email subscription with the destination email address. Then create an OCI Events rule matching "Resource Manager Stack "" Update" condition, and select the notification topic for the corresponding action.
- B: Create an OCI Notifications topic and email subscription with the destination email address. Then create an OCI Events rule matching "Resource Manager Job "" Create" condition, and select the notification topic for the corresponding action.
- C: Create a rule in OCI Events service matching the "Resource Manager Stack "" Update" condition. Then, select "Action Type: Email" and provide the destination email address.
- D: Create an OCI Email Delivery configuration with the destination email address. Then create an OCI Events rule matching "Resource Manager Job "" Create" condition, and select the email configuration for the corresponding action.
Question 9
A service you are deploying to Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE) uses a docker image from a private repository in OCI
Registry (OCIR).
Which configuration is necessary to provide access to this repository from OKE? (Choose the best answer.)
- A: Add a generic secret on the cluster containing your identity credentials. Then specify a registryCredentials property in the deployment manifest.
- B: Create a docker-registry secret for OCIR with API key credentials on the cluster, and specify the imagePullSecret property in the application deployment manifest.
- C: Create a docker-registry secret for OCIR with identity Auth Token on the cluster, and specify the imagePullSecret property in the application deployment manifest.
- D: Create a dynamic group for nodes in the cluster, and a policy that allows the dynamic group to read repositories in the same compartment.
Question 10
Given a service deployed on Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE), which annotation should you add in the sample manifest file below to specify a 400 Mbps load balancer? (Choose the best answer.)
- A: service.beta.kubernetes.io/oci-load-balancer-kind: 400Mbps
- B: service.beta.kubernetes.io/oci-load-balancer-value: 400Mbps
- C: service.beta.kubernetes.io/oci-load-balancer-shape: 400Mbps
- D: service.beta.kubernetes.io/oci-load-balancer-size: 400Mbps
Question 11
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.)
- A: 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'
- B: Set up the following dynamic group for your function's OCID: Name: read-file-dg Rule: resource.id = "˜ocid1.fnfunc.oc1.phx.aaaaaaaakeaobctakezjz5i4ujj7g25q7sx5mvr55pms6f4da'
- C: 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'
- D: 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'
- E: No policies are needed. By default, every function has read access to Object Storage buckets in the tenancy.
Question 12
Per CAP theorem, in which scenario do you NOT need to make any trade-off between the guarantees? (Choose the best answer.)
- A: when the are no network partitions
- B: when the system is running in the cloud
- C: when the system is running on-premise
- D: when you are using load balancers
That’s the end of your free questions
You’ve reached the preview limit for 1z0-1084-20Consider upgrading to gain full access!
Free preview mode
Enjoy the free questions and consider upgrading to gain full access!