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

Oracle 1z0-1084-23 Dumps

Page: 1 / 10
Total 100 questions

Oracle Cloud Infrastructure 2023 Developer Professional Questions and Answers

Question 1

You have two microservices, A and B running in production. Service A relies on APIs from service B. You want to test changes to service A without deploying all of its dependencies, which includes service B. Which approach should you take to test service A?

Options:

A.

Test using a previous test version of service B.

B.

Test using an API mock of service B.

C.

Test using the current production version of service B.

D.

This is not possible because service B is a dependency.

Question 2

What is the maximum execution time of Oracle Functions?

Options:

A.

240 seconds

B.

300 seconds

C.

60 seconds

D.

120 seconds

Question 3

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 4

You have just finished building and compiling the software required to implement the API microservice component. You need to rebuild the API docker image, and plan to tag it as: ocIdevops/api:latest Which docker command would re-create the API docker image?

Options:

A.

docker build -t OCIdevops/api:latest

B.

docker create -t OCIdevops/api:latest

C.

docker image -t OCIdevops/api:latest

D.

docker compile -t OCI devops/api:latest

Question 5

A Docker image consists of one or more layers, each of which represents a Dockerfile instruction. The layers are stacked and each one is a delta of the changes from the previous layer. What permission is associated with these layers?

Options:

A.

read mostly

B.

write only

C.

movable

D.

read only

E.

write once

Question 6

Which TWO statements accurately describe an Oracle Functions application? (Choose two.)

Options:

A.

A common context to store configuration variables that are available to all functions in the application. A Docker image containing all the functions that share the same configuration.

B.

An application based on Oracle Functions, Oracle Cloud Infrastructure (OCI) Events, and OCI API Gateway services.

C.

A small block of code invoked in response to an OCI Events service.

A logical group of functions.

D.

A Docker image containing all the functions that share the same configuration.

Question 7

You are building a cloud native serverless travel application with multiple Oracle Functions in Java, Python, and Node.js. You need to build and deploy these functions to a single application named travel-app. Which command will help you complete this task successfully?

Options:

A.

fn function deploy app travel-app--all

B.

fn app deploy --app travel-app --all

C.

fn app --app travel-app deploy --ext java pyljs

D.

fn deploy--app travel-app --all

Question 8

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 9

A DevOps engineer is troubleshooting the Meshifyd application, which is running in an Oracle Cloud Infrastructure (OCI) environment. The engineer has set up the OCI Logging service to store access logs for the application but notices that the logs from the Meshifyd application are not showing up in the logging service. The engineer suspects that there might be an issue with the logging configuration. Which two statements are potential reasons for logs from the Meshifyd application not showing up in the OCI Logging service?

Options:

A.

The logconfig.json file has incorrect or missing OCID for the custom log in the logobjectId field.

B.

The OCI Logging service is set up to pre access logs by creating a log group and custom log within the same compartment.

C.

The logconfig.json file has incorrect or missing information in the application namespace in the paths field.

D.

The logconfig.json file has incorrect or missing information in the application namespace in the src field.

E.

The logconfig.json file has incorrect or missing OCID for the custom log group in the logGroupObjectId field.

Question 10

You have been asked to update an OKE cluster to a network configuration that has the least attack surface while the deployed applications are still directly available for access from the Internet. Which is a valid OKE cluster network configuration that meets this requirement? (Choose the best answer.)

Options:

A.

Private subnets for nodes, the Kubemetes API endpoint, and load balancers

B.

Private subnets for nodes; public subnets for the Kubemetes API endpoint and load balancers

C.

Private subnets for nodes and the Kubemetes API endpoint; public subnets for load balancers

D.

Private subnet for the Kubemetes API endpoint; public subnets for nodes and load balancers

Question 11

You have two microservices, A and B, running in production. Service A relies on APIs from service B. You want to test changes to service A without deploying all of its dependencies, which include service B. Which approach should you take to test service A?

Options:

A.

Test using API mocks.

B.

Test the APIs in private environments.

C.

Test against production APIs.

D.

There is no need to explicitly test APIs.

Question 12

Which term describes a group formed by a master machine and a worker machine in a Kubernetes architecture?

Options:

A.

Cluster

B.

Node

C.

Deployment

D.

Container

E.

Pod

Question 13

Which THREE are valid statements regarding the OCI Container Engine for Kubernetes (OKE) service? (Choose three.)

Options:

A.

You must have access to an Oracle Cloud Infrastructure tenancy. Your tenancy must have sufficient quota on different types of resources.

B.

OKE cannot use existing network resources for the creation of a new cluster.

C.

OKE automatically creates and configures new network resources for the new cluster.

D.

There is a limit of three clusters within each region, but there is no limit on the number of nodes and pods you can create within each cluster.

Question 14

Which is the smalled unit of Kubernetes architecture?

Options:

A.

Node

B.

Container

C.

Cluster

D.

Pod

Question 15

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 16

Your organization has deployed their e-commerce application on Oracle Container Engine for Kubernetes (OKE) and they are using the Oracle Cloud Infrastructure Registry (OCIR) service as their Docker image repository. They have deployed the OKE cluster using the 'custom create' option, and their Virtual Cloud Network (VCN) has three public subnets with associated Route Tables, Security Lists, and Internet Gateway. However, their application containers are failing to deploy. On investigation, they discover that the images are not being pulled from the designated OCIR repository, even though the YAML configuration has the correct path to the images. What is a valid concern here that needs to be further investigated?

Options:

A.

Security List rule for TCP port 22 needs to be added to connect to the OCIR service.

B.

VCN hosting the OKE cluster worker nodes needs to have a NAT gateway to access OCIR repositories.

C.

Identity and Access Management (IAM) credentials need to be added for each user that deploys applications to the OKE cluster.

D.

OKE cluster needs to have a secret with the credentials of their OCIR repository and use that secret in the Kubernetes deployment manifest.

Question 17

Which command is used to get a Docker image from Oracle Cloud Infrastructure Registry (OCIR) to the clientmachine?

Options:

A.

docker pull .ocir.io//:

B.

docker pull /.ocir.io/:

C.

docker fetch .ocir.io//:

D.

docker fetch /.ocir.io/:

Question 18

Which statement best describes the term "cloud native"?

Options:

A.

Cloud native refers to the process of migrating applications from on-premises infrastructure to the cloud.

B.

Cloud native refers to the use of cloud-based development tools to build traditional on-premises applications.

C.

Cloud native refers to the design and deployment of applications that are optimized for cloud infrastructure.

D.

Cloud native refers to the use of cloud infrastructure to run traditional on-premises applications.

Question 19

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 20

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?

Options:

A.

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.

B.

Create an OCI Notification 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 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.

D.

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.

Question 21

You developed a microservices-based application that runs in an Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE) cluster. It has multiple endpoints that need to be exposed to the public internet. What is the most cost-effective way to expose multiple application endpoints without adding unnecessary complexity to the application?

Options:

A.

Use a NodePort service type in Kubernetes for each of your service endpoints using the node's public IP address to access the applications.

B.

Create a separate load balancer instance for each service using the lowest 100 Mbps option.

C.

Use a ClusterIP service type in Kubernetes for each of your service endpoints using a load balancer to expose the endpoints.

D.

Deploy an Ingress Controller and use it to expose each endpoint with its own routing endpoint.

Question 22

Which TWO are characteristics of microservices? (Choose two.)

Options:

A.

Microservices communicate over lightweight APIs.

B.

Microservices can be implemented in limited number of programming languages.

C.

All microservices share a data store.

D.

Microservices are hard to test in isolation.

E.

Microservices can be independently deployed.

Question 23

Who is responsible for patching, upgrading, and maintaining the worker nodes in Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE)? (Choose the best answer.)

Options:

A.

Oracle Support

B.

It is automated

C.

The user

D.

Independent Software Vendors

Question 24

In the shared responsibility model, who should perform patching, upgrading, and maintaining of the worker nodes in provisioned Oracle Container Engine for Kubernetes (OKE) clusters?

Options:

A.

Oracle Support does it.

B.

It is the responsibility of the customer.

C.

It is an automated process.

Question 25

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 theerror?

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 26

Your team has chosen to use master encryption key (MEK) within an Oracle Cloud Infrastructure (OCI) Vault for encrypting Kubernetes secrets associated with your microservice deployments in OCI Container Engine for Kubernetes (OKE) clusters so that you can easily manage key rotation. Which of the following is NOT valid about rotating keys in the OCI Vault service?

Options:

A.

Once rotated, older key versions can be used for encryption until they are deleted.

B.

Both software and HSM-protected MEKS can be rotated.

C.

When you rotate an MEK, a new key version is automatically generated.

D.

Each key version is tracked internally with separate unique OCIDS.

Question 27

Which kubectl command syntax is valid for implementing a rolling update deployment strategy in Kubernetes? (Choose the best answer.)

Options:

A.

kubectl upgrade -c --image=image:v2

B.

kubectl update --image=image:v2

C.

kubectl rolling-update --image=image:v2

D.

kubectl update -c --iniage=image: v2

Question 28

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 29

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 30

With the volume of communication that can happen between different components in cloud-native applications, it is vital to not only test functionality, but also service resiliency. Which statement is true regarding service resiliency?

Options:

A.

Resiliency is about avoiding failures.

B.

Resiliency testing can be done only in a test environment.

C.

Resiliency is about recovering from failures without downtime or data loss.

D.

Resiliency is about not bringing a service to a functioning state after a failure.

Page: 1 / 10
Total 100 questions