Summer Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 28522818

Home > Oracle > Oracle Cloud Infrastructure > 1z0-1084-24

1z0-1084-24 Oracle Cloud Infrastructure 2024 Developer Professional Question and Answers

Question # 4

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

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.

Full Access
Question # 5

Which is the smalled unit of Kubernetes architecture?

A.

Node

B.

Container

C.

Cluster

D.

Pod

Full Access
Question # 6

When developing microservices, each one can be developed in the language of choice. Which term describes this type of development? (Choose the best answer.)

A.

Agile

B.

DevOps

C.

Distributed

D.

Polyglot

Full Access
Question # 7

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

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

Full Access
Question # 8

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?

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.

Full Access
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?

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.

Full Access
Question # 10

Which is ONE of the differences between a microservice and a serverless function?

A.

Microservices are used for long running operations while serverless functions are used for short running operations.

B.

Microservices are triggered by events while serverless functions are not.

C.

Microservices are stateless while serverless functions are stateful.

D.

Microservices always use a data store while serverless functions never use a data store.

Full Access
Question # 11

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

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.

Full Access
Question # 12

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?

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.

Full Access
Question # 13

As a Cloud Native developer, you develop two services in Node.js and deploy them to two different Container Engine for Kubernetes (OKE) clusters that use the same Virtual Cloud Network (VCN). Your security team wants to analyze the network communication between them. How can this requirement be met in the most cost-effective way?

A.

Rewrite the application and send the application logs to an outside log aggregator.

B.

Deploy a third-party logging service and aggregate the network flow logs.

C.

Use the OCI Logging service and enable VCN flow logs.

D.

Deploy Wireshark and intercept the packets.

Full Access
Question # 14

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?

A.

Container

B.

Service

C.

Pod

D.

Namespace

E.

Deployment resource

Full Access
Question # 15

Which TWO are required to access the Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE) cluster from the kubectl CLI? (Choose two.)

A.

Tiller enabled on the OKE cluster.

B.

An SSH key pair with the public key added to the cluster worker nodes.

C.

Install and configure the OCI CLI.

D.

A configured OCI API signing key pair.

E.

OCI Identity and Access Management (IAM) Auth Token.

Full Access
Question # 16

Your organization has mandated that all deployed container images used for microservices must be signed by a specified master encryption key (MEK). You have appropriately signed the container images as part of your build process, but must now ensure that they are automatically verified when they are deployed to Oracle Cloud Infrastructure (OCI) Container Engine for Kubemetes (OKE) clusters. Which option should be used to mandate image verification when deploying to OKE clusters, assuming that MEK is already stored in an available OCI Vault? (Choose the best answer.)

A.

Enable image verification policies separately for each Kubemetes pod deployment because this is enforced at the pod level.

B.

Enable image verification policies separately for each node pool within each OKE cluster because this is enforced at the node pool level.

C.

Enable image verification policies separately for each OKE cluster because this is enforced at the cluster level.

(Correct)

D.

Enable Image verification policies for your OKE service control plane which will enforce this for all OKE clusters.

Full Access
Question # 17

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

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.

Full Access
Question # 18

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 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'

Full Access
Question # 19

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

A.

STOCK_RESPONSE_BACKEND

B.

HTTP BACKEND

C.

ORACLE_FUNCTIONS_BACKEND

D.

ORACLE_STREAMS_BACKEND

Full Access
Question # 20

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?

A.

Oracle Support does it.

B.

It is the responsibility of the customer.

C.

It is an automated process.

Full Access
Question # 21

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

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.

Full Access
Question # 22

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

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.

Full Access
Question # 23

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

A.

Containers

B.

Kubernetes

C.

CI/CD Pipelines

D.

DevOps

E.

Service Mesh

Full Access
Question # 24

Which feature is typically NOT associated with Cloud Native?

A.

Immutable Infrastructure

B.

Declarative APIs

C.

Containers

D.

Application Servers

E.

Service Meshes

Full Access
Question # 25

What can you use to dynamically make Kubernetes resources discoverable to public DNS servers? (Choose the best answer.)

A.

kubeDNS

B.

DynDNS

C.

CoreDNS

D.

ExternalDNS

Full Access
Question # 26

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

A.

PL/SQL

B.

Python

C.

Node.js

D.

Go

E.

Java

Full Access
Question # 27

A developer has created another version of a microservice and wants 10% of the traffic to flow towards it for testing purposes. The application is already configured using OCI (Oracle Cloud Infrastructure) Service Mesh. Which of the following steps is the right approach to achieve this goal?

A.

Create a new Kubernetes deployment for the new version of the microservice and set the traffic splitting percentage to 10% in the Kubernetes service manifest.

B.

Use Kubernetes HPA (Horizontal Pod Autoscaler) to scale the new version of the microservice to handle 10% of the traffic automatically.

C.

Create a new entry in the routeRules field of the ingress gateway route table manifest to configure traffic splitting between the old and new versions of the microservice and set the percentage to 10%.

D.

Create a new entry in the routeRules field of the virtual service route table manifest to configure traffic splitting between the old and new versions of the microservice and set the percentage to 10%.

Full Access
Question # 28

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?

A.

GetStream

B.

ReadMessages

C.

ProcessStream

D.

ReadStream

E.

GetMessages

Full Access
Question # 29

Which two "Action Type" options are NOT available in an Oracle Cloud Infrastructure (OCI) Events rule definition? (Choose two.)

A.

Email

B.

Streaming

C.

Slack

D.

Functions

E.

Notifications

Full Access
Question # 30

As a cloud-native developer, you are designing an application that depends on Oracle Cloud Infrastructure (OCI) Object Storage wherever the application is running. Therefore, provisioning of storage buckets should be part of your Kubernetes deployment process for the application. Which of the following should you leverage to meet this requirement? (Choose the best answer.)

A.

Oracle Functions

B.

OCI Service Broker for Kubernetes

C.

Open Service Broker API

D.

OCI Container Engine for Kubernetes

Full Access