Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dumps65

Oracle 1z0-1084-24 Dumps

Page: 1 / 10
Total 100 questions

Oracle Cloud Infrastructure 2024 Developer Professional Questions and Answers

Question 1

(CHK_4>2) You have a scenario where a DevOps team wants to store secrets in Oracle Cloud Infrastructure (OCI) Vault so that it can inject the secrets into an app's environment variables (for example, MYSQL_DB_PASSWD) at deployment time. Which is NOT valid about managing secrets in the OCI Vault service?

Options:

A.

New secret versions automatically expire in 90 days unless you configure an expiry rule.

B.

You can manually create new secrets as well as new secret versions using the OCI Console:

C.

A unique OCID is automatically generated for each secret and remains unchanged even when creating a new secret version.

D.

A secret reuse rule prevents the use of secret contents across different versions of a secret.

Question 2

Your team has created a serverless application deployed in Oracle Functions. It uses a Python function leveraging the Oracle Cloud Infrastructure (OCI) Python SDK to stop any OCI compute instance that does not comply with your corporate security standards. Although there are three non-compliant OCI compute instances, when you invoke this function, none of the instances were stopped. With respect to this issue, which of the following is a valid troubleshooting strategy?

Options:

A.

Enable function logging in the OCI console, add some print statements in your function code, and then view the logs to troubleshoot.

B.

Enable function remote debugging in the OCI console, and then use your favorite IDE to inspect the function running on Oracle Functions.

C.

Ensure that the application is deployed within the same OCI compartment as the instance, because you cannot enable function execution data from the OCI console.

D.

Enable function tracing in the OCI console, and then go to the OCI Monitoring console to view the function stack trace.

Question 3

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.)

Options:

A.

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'

B.

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'

C.

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

D.

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

E.

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'

Question 4

Which one of the following is NOT a valid backend-type supported by Oracle Cloud Infrastructure (OCI) API Gateway?

Options:

A.

STOCK_RESPONSE_BACKEND

B.

HTTP BACKEND

C.

ORACLE_FUNCTIONS_BACKEND

D.

ORACLE_STREAMS_BACKEND

Question 5

Your team has been tasked with debugging a Cloud Native application developed using the following Oracle Cloud Infrastructure (OCI) services: Object Storage, Events, Functions, API Gateway, and Autonomous Database. Which of these is NOT a valid option for troubleshooting issues in OCI? (Choose the best answer.)

Options:

A.

View service metric information from the OCI Monitoring service.

B.

Configure the application to send logs to the OCI Logging service.

C.

Use OCI Service Connector Hub to configure a service connector to automatically send logs to the OCI Logging Analytics service.

D.

Trace performance issues In the Application Performance Monitoring service by enabling Function traces.

E.

Leverage OCI Cloud Guard to extract and visualize the debug logs generated by your application.

Question 6

Kubernetes includes various elements such as compute, network, and storage. Compute is essentially CPU (units) and memory (bytes). Within an OKE cluster, what is considered to be the smallest unit of deployment with respect to compute?

Options:

A.

Container

B.

Service

C.

Pod

D.

Namespace

E.

Deployment resource

Question 7

Your organization is developing serverless applications with Oracle Functions. Many functions will need to store state data in a database, which will require using appropriate credentials. However, your corporate security standards mandate encryption of secret information, such as database passwords. How would you address this security requirement?

Options:

A.

Use OCI Console to enter the password in the function configuration section in the provided input field.

B.

Leverage application-level configuration variables to store passwords because they are automatically encrypted by Oracle Functions.

C.

Use the OCI Vault service to auto-encrypt the password and then set an application-level configuration variable to reference the auto-decrypted password inside your function container.

D.

Encrypt the password using the OCI Vault service and then decrypt this password in your function code with the generated key.

Question 8

Which is NOT a valid use case for leveraging the Oracle Cloud Infrastructure (OCI) Events service?

Options:

A.

Capturing the OCI Monitoring service alarms and invoking autoscaling of compute instances.

B.

Publishing a notification when long-lived tasks complete, such as an OCI Autonomous Database backup completion.

C.

Triggering a notification action when a function completes its execution.

D.

Triggering a function deployed in Oracle Functions when new files are uploaded to an OCI Object Storage bucket.

E.

Publishing all the OCI resource events in a specific compartment to the OCI Streaming service for later analysis.

Question 9

You are building a container image and pushing it to Oracle Cloud Infrastructure Registry (OCIR). You need to ensure that these images never get deleted from the repository. Which action should you take?

Options:

A.

Create a group and assign a policy to perform lifecycle operations on images.

B.

Write a policy to limit access to the specific repository in your compartment.

C.

Edit the tenancy global retention policy.

D.

Set global policy of image retention to "Retain All Images".

Question 10

In the DevOps lifecycle, what is the difference between continuous delivery and continuous deployment? (Choose two.)

Options:

A.

Continuous delivery involves automation of developer tasks, while continuous deployment involves manual operational tasks.

B.

Continuous delivery utilizes automatic deployment to a development environment, while continuous deployment involves automatic deployment to a production environment.

C.

Continuous delivery requires more automatic linting, while continuous deployment testing must be run manually.

D.

Continuous delivery is a process that initiates deployment manually, while continuous deployment is based on automating the deployment process.

Question 11

You are creating an API deployment in Oracle Cloud Infrastructure (OCI) API Gateway and you want to configure request policies to control access. Which is NOT available in OCI API Gateway?

Options:

A.

Controlling access to the backend OCI resources.

B.

Limiting the number of requests sent to the backend services.

C.

Enabling Cross-Origin Resource Sharing (CORS) support.

D.

Providing authentication and authorization.

Question 12

You have created a repository in Oracle Cloud Infrastructure Registry (OCIR) in the us-ashburn-1 (iad) region in your tenancy with the heyoci namespace. Which three are valid tags for an image named myapp? (Choose three.)

Options:

A.

iad.ccir.io/heyoci/myapp:latest

B.

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

C.

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

D.

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

E.

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

F.

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

Question 13

Which of the following is NOT a criterion that is usually met by a microservice?

Options:

A.

Organized around business capabilities.

B.

Tightly coupled

C.

Highly maintainable

D.

Independently deployable

Question 14

How are cloud native application versions deployed to an OKE cluster when using a blue/green deployment strategy?

Options:

A.

Current applications are slowly replaced with new application versions.

B.

New application versions are deployed in minor increments to a select group of people.

C.

Both old and new application versions are deployed to production at the same time.

Question 15

Which "Action Type" option is NOT available in an Oracle Cloud Infrastructure (OCI) Events rule definition?

Options:

A.

Streaming

B.

Email

C.

Notifications

D.

Functions

Question 16

Which concept in OCI Queue is responsible for hiding a message from other consumers for a predefined amount of time after it has been delivered to a consumer?

Options:

A.

Maximum retention period

B.

Visibility timeout

C.

Delivery count

D.

Polling timeout

Question 17

Having created a Container Engine for Kubernetes (OKE) cluster, you can use Oracle Cloud Infrastructure (OCI) Logging to view and search the logs of applications running on the worker node compute instances in the cluster. Which task is NOT required to collect and parse application logs? (Choose the best answer.)

Options:

A.

Create a dynamic group with a rule that includes all worker nodes In the cluster.

B.

Set the OCI Logging option to Enabled for the cluster.

C.

Enable monitoring for all worker nodes in the cluster.

D.

Configure a custom log in OCI Logging with the appropriate agent configuration.

Question 18

You are developing a distributed application and you need a call to a path to always return a specific JSON content deploy an OCI API Gateway with the below API deployment specification. What is the correct value for type? { "routes" : [{ "path" : "/hello", "methods" : ["Get"), "backend" : { "type" : " ---------------- ", "status" : 200, "headers" : [{ "name" : "Content-Type", "value" : "application/json" }] "body" : "{\"myjson\": \"consistent response\"}" }}]}

Options:

A.

STOCK_RESPONSE_BACKEND

B.

CONSTANT_BACKEND

C.

JSON_BACKEND

D.

HTTP_BACKEND

Question 19

What is the difference between blue/green and canary deployment strategies? (Choose the best answer.)

Options:

A.

In blue/green, current applications are slowly replaced with new ones. In canary, the application Is deployed Incrementally to a select group of people.

B.

In blue/green, both old and new applications are in production at the same time. In canary, the application Is deployed incrementally to a select group of people.

C.

In blue/green, current applications are slowly replaced with new ones. In canary, both old and new applications are in production at the same time.

D.

In blue/green, the application Is deployed In minor Increments to a select group of people. In canary, both old and new applications are simultaneously in production.

Question 20

You are a developing a microservices application that will be a consumer of the Oracle Cloud Infrastructure (OCI) Streaming service. Which API method should you use to read and process a stream?

Options:

A.

GetStream

B.

ReadMessages

C.

ProcessStream

D.

ReadStream

E.

GetMessages

Question 21

Which option best defines microservices?

Options:

A.

A statically typed and compiled language.

B.

An open-source system for automating deployment, scaling, and management of containerized applications.

C.

A finely tuned piece of software that performs a single or small collection of tasks.

D.

An organized collection of structured information or data, typically stored electronically in a computer system.

Question 22

You are building a container image and pushing it to Oracle Cloud Infrastructure Registry (OCIR). You need to ensure that these images never get deleted from the repository. Which action should you take?

Options:

A.

Write a policy to limit access to the specific repository in your compartment.

B.

Create a group and assign a policy to perform lifecycle operations on images.

C.

Set global policy of image retention to "Retain All Images".

D.

Edit the tenancy global retention policy.

Question 23

Which is NOT a valid option to execute a function deployed in Oracle Functions?

Options:

A.

Invoke from the Docker CLI.

B.

Send signed HTTP requests to the function's invoke endpoint.

C.

Invoke from the Fn Project CLI.

D.

Trigger by an event in the Oracle Cloud Infrastructure (OCI) Events service.

E.

Invoke from the OCI CLI.

Question 24

Which statement about microservices is FALSE?

Options:

A.

They are typically designed around business capabilities.

B.

It is fairly common for them to communicate with HTTP.

C.

Multiple microservices can run in one process.

D.

They are independently deployable.

Question 25

You developed a microservices-based application that runs in an Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE) cluster. Your security team wants to use SSL termination for this application. What should you do to create a secure SSL termination for this application using the fewest steps possible?

Options:

A.

Create a self-signed certificate and its corresponding key. Create a Kubernetes secret using the certificate and the key. Then add these annotations to the Kubernetes service: annotations: service.beta.kubernetes.io/oci-load-balancer-ssl-ports: "443" service.beta.kubernetes.io/oci-load-balancer-tls-secret: ssl certificate-secret

B.

Create a self-signed certificate and its corresponding key. Create a Kubernetes secret using the certificate and the key. Then add these annotations to the Kubernetes service: annotations: service.beta.kubernetes.io/oci-load-balancer-ssl-ports: "443" service.beta.kubernetes.io/oci-load-balancer-security-list management-mode: "Frontend"

C.

Add these annotations to the kubernetes service: annotations: service.beta.kubernetes.io/oci-load-balancer-ssl-ports: "443" service.beta.kubernetes.io/oci-load-balancer-ssl-secret-key: ssl secret-key

D.

Generate a self-signed certificate using Let's Encrypt. Use that certificate on OCI Load Balancer. Create the Kubernetes service using this load balancer.

Question 26

Which TWO statements are correct regarding Docker images and containers? (Choose two.)

Options:

A.

Only one container can be spawned from a given image at a time.

B.

An image is a collection of immutable layers whereas a container is a running instance of an image.

C.

If multiple containers are spawned from the same image, then they all use the same copy of that image in memory.

D.

Writing and building a new Dockerfile is the only way you can create new Docker images.

E.

A container can exist without an image but an image cannot exist without a container.

Question 27

A developer using Oracle Cloud Infrastructure (OCI) API Gateway needs to authenticate the API requests to their web application. The authentication process must be implemented using a custom scheme which accepts string-based parameters from the API caller. Which approach should the developer use in this scenario?

Options:

A.

Create a cross account functions authorizer.

B.

Create an authorizer function using OCI Identity and Access Management 91AM) based authentication.

C.

Create an authorizer function using request header authorization.

D.

Create an authorizer function using token-based authorization.

Question 28

You encounter an unexpected error when invoking Oracle Functions from your Cloud Shell session named myfunction in the myapp application. Which option will get you more information on the error?

Options:

A.

fn --verbose invoke myapp myfunction

B.

fn --debug invoke myapp myfunction

C.

Contact Oracle support with your error message

D.

DEBUG=1 fn invoke myapp myfunction

Question 29

You are developing a polyglot serverless application using Oracle Functions. Which language cannot be used to write your function code?

Options:

A.

PL/SQL

B.

Python

C.

Node.js

D.

Go

E.

Java

Question 30

Which of the following is defined as a configurable, low-latency infrastructure layer that controls the interaction between a network of microservices? (Choose the best answer.)

Options:

A.

Containers

B.

Kubernetes

C.

CI/CD Pipelines

D.

DevOps

E.

Service Mesh

Page: 1 / 10
Total 100 questions