Winter Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

Oracle 1z0-1109-23 Oracle Cloud Infrastructure 2023 DevOps Professional Exam Practice Test

Page: 1 / 10
Total 100 questions

Oracle Cloud Infrastructure 2023 DevOps Professional Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

A small company is moving to a DevOps framework to better accommodate their intermittent workloads, which are dynamic and irregular. They want to adopt a consumption-based pricing model. Which Oracle Cloud Infrastructure service can be used as a target deployment environment?

Options:

A.

Bare metal compute instance

B.

Virtual machine compute instance

C.

Functions

D.

Oracle Kubernetes (OKE)

Question 2

Which command creates the docker registry secret required in the application mani-fests for OKE to pull images from Oracle Cloud Infrastructure Registry?

Options:

A.

kubectl create secret docker-registry secret-name> --docker-server- .oke.io --docker-username= --docker- password='' --docker-email-

B.

kubectl create secret docker-registry --docker-server- .oke.io --docker-username=/ --docker-password=''--docker-email-cemail- address>

C.

kubectl create secret docker-registry --docker-server- .ocir.io --docker-username=coci-username> --docker- password=' --docker-email-email-address>

D.

kubectl create secret docker-registry --docker-server- .ocir.io --docker-username=/ --docker-password=''--docker-email-cemail- address>

Question 3

As a DevOps engineer working on managing clusters on the OCI platform for your organization, which statement is true about managing cluster add-ons in OCI OKE Cluster?

Options:

A.

When you disable a cluster add-on using the console, the add-on is completely removed from the cluster

B.

When creating a new cluster, essential cluster add-ons cannot be disabled.

C.

When creating a new cluster, essential cluster add-ons are set to manually update.

D.

When enabling a cluster add-on, you cannot configure the add-on by specifying one or more key/value pairs to pass as arguments to the cluster add-on.

Question 4

As a developer working on the Oracle Cloud Infrastructure (OCI) DevOps service, you are creating a build spec yaml file to be used in the build pipeline. Which two actions are part of the proper creation of the file? (Choose two.)

Options:

A.

Enter the necessary vault secret variable OCIDS into the vaultVariables section.

B.

Enter the variables you would like to use in later build steps into the localVariables section.

C.

Enter the details for binaries used in later pipeline stages into the outputArtifacts section.

(Correct)

D.

Enter the artifacts the build pipeline should permanently save into the storeArtifacts section.

E.

Enter the vault secrets needed for the deployment pipeline into the exportedVariables section.

Question 5

As an engineer building and deploying applications using an OCI DevOps project, which two capabilities can help ensure the security and reliability of the code in the build and deployment pipelines?

Options:

A.

Using third-party tools like Sonatype, SonarQube, or OverOps to analyze code for security defects or bugs in code quality.

B.

Pushing our container image to a third-party registry with the scanning capability enabled to check for vulnerabilities

C.

Using ADM to identify security weaknesses in software applications by checking their dependencies.

D.

Using JIRA to track user stories and bug fixes in the development process.

E.

Using version control tools like Git or SVN to track and manage changes in the code-base.

Question 6

Your on-premises private cloud environment consists of virtual machines hosting a set of ap-plication servers. These VMs are currently monitored using a 3rd party monitoring tool for resource metrics such as CPU and Memory utilization and Disk-Write IOPS. You have created a DevOps Project that includes a workflow to migrate these application servers into Oracle Cloud Infrastructure (OCI) compute instances with a few requirements: - Ensure continuous monitoring is enabled, so the current monitored resource metrics are continuously collected and reported. - Monitor the end-to-end deployment pipeline during the migration workflow and notify with email on each execution. - Notify with email for any new OCI Object Storage buckets created after the migration workflow. What should be your recommended solution to achieve these requirements?

Options:

A.

Configure both 3rd party monitoring tool and OCI Compute Agent on OCI compute instances to collect required resource metrics. Use OCI Events service (com.oraclecloud.devopsdeploy.createdeployment) with Notifications service to track and notify all changes occurring in the target OCI environment.

B.

Configure OCI Compute agent on on-premises VMs and OCI compute instances to collect required resource metrics. Use OCI Events service to track the end-to-end deployment process (com.oraclecloud.devopsdeploy.createdeployment) and creation of new bucket (com.oraclecloud.objectstorage.createbucket Use OCI Notifications and Events services to notify these changes.

C.

Configure OCI Compute agent on on-premises VMs to collect required resource met-rics. Lise OCI Events service to track all deployments (com.oraclecloud.devopsdeploy.createdeployment) with OC! Notifications service to track and report all changes occurring the target environment.

D.

Configure OCI Compute agent on OCI compute instances to collect required resource metrics. Use OCI Events and Functions services to track the end-to-end deployment pipeline (com.oraclecloud.devopsdeploy.createdeployment) and creation of new buckets (com.oraclecloud.objectatorage.createbucker Use OCI Notifications and Events services to notify these changes.

Question 7

As a developer working on a software project to be deployed on OKE, you have created a Helm chart for your application. You want to deploy the chart using OCI DevOps service. Which statement is true about deploying a Helm Chart using OCI DevOps service?

Options:

A.

The values.yaml file is a generic file located in the OCI Container Registry. You must create a reference to this file.

B.

The Helm charts must be located in the OCI Container Registry repository for deployment.

C.

You cannot package and push the Helm chart to the Container Registry from the build pipeline.

D.

The Helm Upgrade options cannot be used to change the configuration of the Helm re-lease.

Question 8

Which is NOT a valid log category for the Oracle Cloud Infrastructure Logging service?

Options:

A.

Custom Logs

B.

Hybrid Logs

C.

Audit Logs

D.

Service Logs

Question 9

(OPT_MISS) You have just run the managed build stage of an Oracle Cloud Infrastructure (OCI) DevOps Build Pipeline. The pipeline failed, because the code repository could not be accessed. What might the problem be?

Options:

A.

A vault secret has an incorrect OCID assigned to it.

B.

A deployment Dynamic Group was assigned an incorrect OCID for its compartment.

C.

An administrator created the code repository policy in the parent compartment rather than the main working compartment.

D.

More than one code repository was assigned to the DevOps project

Question 10

You are a DevOps engineer responsible for managing the deployment pipeline of your organization's application hosted on Oracle Cloud Infrastructure (OCI). The pipeline is failing, and you need to troubleshoot the issue to identify the potential cause and fix it. You need the following information to investigate further: - Time spent for each deployment. - Number of times a deployment has failed. Which OCI service can provide you with the necessary information to identify the potential issue and help in debugging the same?

Options:

A.

OCI Monitoring service

B.

OCI DevOps Agent

C.

OCI Logging service

D.

OCI Event service

Question 11

A company wants to implement CI/CD automation process on Oracle Cloud Infrastructure (OCI) DevOps. An automatic trigger is created in such a way that when someone pushes the code from a Git repository to the OCI Code Repository, it trigger builds all the way to the deployment pipeline. Which DevOps IAM policy statements are required for this automation?

Options:

A.

Code Repo: Allow dynamic group to manage all resources in compartment compartment name>; Build Pipeline: Allow dynamic-group to manage all-resources in compartment compartment name>

B.

No DevOps IAM policy statements are required.

C.

Build Pipeline: allow dynamic-group to manage all-resources in compartment

D.

Code Repo: Allow dynamic-group to manage all-resources in compartment ; Build Pipeline: Allow dynamic-group ; Deployment Pipeline: allow dynamic-group to manage all resources in compartment scompartment name>

Question 12

You're using Oracle Cloud Infrastructure (OCI) DevOps service to automate your software releases to release features more frequently and with fewer errors. While deploying an update to production, one of your deployment stages failed. What action should you perform in your Deployment Pipeline?

Options:

A.

Add Rescue and Trigger stages to automatically trigger the failed deployment.

B.

Use OCI DevOps Trigger and Rerun tool to avoid downtime.

C.

Rollback the failed stage in the pipeline to the previous successful released version.

D.

Automate backup and use the rerelease stage in the Deployment Pipeline.

Question 13

A developer is using the Oracle Cloud Infrastructure (OCI) DevOps service to build an application. They are currently in the process of setting up the required infrastructure using the available tools. In which two ways can you explain the difference between Ansible and Terraform? (Choose two.)

Options:

A.

Ansible uses declarative approach: Terraform is procedural in nature.

B.

Ansible is an OCI provided service for CM; Terraform is a third-party tool for infra-structure as code.

C.

Ansible focuses on infrastructure configuration: Terraform specializes in infrastructure provisioning

D.

Ansible supports lifecycle management: Terraform lacks lifecycle management support.

E.

Ansible automates software installation and application deployment: Terraform man-ages infrastructure as code.

Question 14

A software development team is working on a prototype using Node.js and MongoDB as their programming language and database, respectively. They need to develop and test isolated web applications or RESTful APIs. They are looking for a simple, quick, and secure way to run containers without managing any servers. Which OCI service is best suited for this use case?

Options:

A.

Compute Instances

B.

OCI DevOps Project

C.

Container Engine for Kubernetes

D.

Container Instances

E.

OCI Functions

Question 15

Which two statements are INCORRECT with respect to a Dockerfile? (Choose two.)

Options:

A.

An ENV instruction sets the environment value to the key, and it is available for the subsequent build steps and in the running container as well.

B.

The RUN instruction will execute any commands in a new layer on top of the current image and commit the results.

C.

WORKDIR instruction sets the working directory for any RUN, CMD, ENTRY-POINT instructions and not for COPY and ADD instructions in the Dockerfile.

D.

If CMD instruction provides default arguments for the ENTRYPOINT instruction, both should be specified in JSON format.

E.

The COPY instruction copies new files, directories, or remote file URLS from and adds them to the filesystem of the image at the path .

Question 16

Your company is working on a high-profile project and any code push to production requires approvals. Your company is using Oracle Cloud Infrastructure (OCI) DevOps service for automating this process. You want to push an artifact to production and would like to add ap-provers to the approval workflow in the Deployment Pipeline. How can you add approvers?

Options:

A.

Manually add approvers names and email addresses in the Deployment Pipeline page.

B.

Add approvers to the buildspec file before pushing the code to the OCI Code Repository.

C.

Email approvers before you run the Deployment Pipeline.

D.

Add approvers to the Deployment Pipeline and give them access via OCI IAM policy.

Question 17

Your customer has deployed their microservices based application on Oracle Container Engine for Kubernetes (OKE) and they are using 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 an internet gateway. They are facing an issue where their application containers are falling to deploy. Upon investigation, they learn that the images are not getting pulled from the designated OCIR repository. The YAML configuration has the correct path to the images. What is a valid concern that needs to be further investigated?

Options:

A.

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

B.

They need to add IAM credentials for each user that deploys applications to the OKE cluster.

C.

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

D.

They need to add a security list rule for TCP port 22 to connect to the OCIR service.

Question 18

Which two are prerequisites for creating a secret in Oracle Cloud Infrastructure Vault service?

Options:

A.

The user must create a compute instance to run the secret service.

B.

You must have a Vault managed key to encrypt the secret.

C.

You must have the required permissions to create and manage secrets in the Vault service.

D.

You must first create a hash digest of the secret value.

E.

You must have an auth token to encrypt the secret.

Question 19

You are a DevOps engineer who has recently joined a new department. You have created 10 Terraform stacks using Oracle Cloud Infrastructure (OCI) Resource Manager. Each stack creates a different set of resources in OCI for your development team. What determines the cost of these Terraform stacks?

Options:

A.

Resource Manager stacks are free but you are charged for the resources they create.

B.

The cost depends on the number of lines of text in your Terraform configuration files.

C.

The cost for each stack will be higher for a Pay As You Go subscription than for monthly flex billing.

D.

The cost depends on the length of time it takes to build each resource using these Terraform stacks.

Question 20

A developer is managing a collection of servers and wants to update to the newest version of Apache on all of the defined web servers. Which Ansible AdHoc command can you use to achieve this?

Options:

A.

$ ansible webservers -m yum -a "name=httpd state=new"

B.

$ ansible webservers -m service -a "name=httpd state=started"

C.

$ ansible webservers -m yum -a "name=httpd state=latest"

D.

$ ansible webservers -m service -a "name=httpd state=install"

Question 21

In OCI Secret management within a Vault, you have created a secret and rotated the secret one time. The current version state shows: Version Number Status 2 (latest) Current 1 Previous In order to rollback to version 1, what should the Administrator do?

Options:

A.

Create a new secret version 3 Pending Copy the contents of Version 1 Into version 3.

B.

From the version menu, select "Promote to current.

(Correct)

C.

From the version 2 latest menu, sect Road and select version when given the option.

D.

deprecate version 2 (latest), Create a new secret version 3, create soft link for version-3 to version 1.

Question 22

A company is building an application and the team decides to deploy on Oracle Cloud Infra-structure (OCI) DevOps. They want to automate infrastructure and configure OCI resources. To achieve this, which tool should they use and why?

Options:

A.

Chef With the OCI DevOps service, users can manage OCI resources using the Chef Knife Plug-in, a CLI tool that provides help with managing repositories and automating infrastructure.

B.

Jenkins-In OCI, Jenkins is an automation tool for configuration management that focuses on automating delivery and management of entire IT infrastructure stacks.

C.

Ansible - In OCI, the "Ansible Collection" automates infrastructure provisioning and configuring of OCI resources, such as Compute. Load Balancing, and Database services.

D.

Terraform CLI - In OCI, Terraform is a configuration management tool that manages enterprise-scale server infrastructure with minimal human intervention using Infra-structure as Code (laC)

Question 23

As a small company that wants to adopt a DevOps framework and a consumption-based pricing model, which Oracle Cloud Infrastructure service can be used as a target deployment environment, providing features like automated rollouts and rollbacks, self-healing of failed containers, and configuration management, without the overhead of managing security patches and scaling?

Options:

A.

OCI Container Engine for Kubernetes (OKE) with managed nodes

B.

Compute Instance Group

C.

OCI Container Instances

D.

OCI Serverless Functions

E.

OCI Container Engine for Kubernetes (OKE) with virtual nodes

Question 24

You are part of the cloud DevOps team managing thousands of compute Instances running in Oracle Cloud Infrastructure (OCI). The OCI Logging service is configured to collect logs from these Instances using a Unified Monitoring Agent. A requirement has been created to archive logging data into OCI Object Storage. What OCI capability can help you achieve this requirement?

Options:

A.

IAM policy

B.

Logging Query

C.

Service Connector Hub

D.

ObjectCollectionRule

Question 25

You are working on a DevOps project to deploy Oracle Cloud Infrastructure (OCI) compute instances running web services. The development team indicated that when the compute Instances are deployed, it should automatically create OCI Object Storage buckets with respective instance names. Which two can help you meet this requirement?

Options:

A.

Cloud Agent Plugin for the compute instance

B.

Events Service

C.

Oracle Functions

D.

OCI CLI command "oci oj bucket create --auto

E.

Service Connector Hub

Question 26

You are a DevOps engineer working on a project that requires you to push and pull Docker images to and from Oracle Cloud Infrastructure Registry (Container Registry) using Docker CLI. You have been given access to Container Registry and have installed Docker CLI on your local machine. Which should you create and use to securely authenticate and store your Docker image in a private Docker registry in OCI?

Options:

A.

Master Encryption Key in OCI Vault

B.

Auth Token

C.

JSON Web Token

D.

Docker Registry Secret

E.

SSH Key Pair

Question 27

You're working with Docker images and containers, and you need to get rid of an image that's no longer needed. However, when you use the command to remove the image, you get the following error: # docker rmi d1230455e12 Error response from daemon: conflict: un-able to delete d1230455e12 must be forced image is being used by stopped container of1262bd1285 Which steps would you take to delete the specified image?

Options:

A.

To determine which container is using the image, use the “docker ps -a” command. Stop the running container with 'docker stop 0f1262bd1285', delete it with 'docker rm of1262bd1285', and delete the docker image with 'docker rmi d123f4e55e12'.

B.

To determine which container is using the image, use the “docker ps a” command Kill the running container with 'docker Kill of 1262bd1205, delete it with 'docker rmc 0r1262bd1285', and delete the docker image with 'docker mi d123f4e55e12'.

C.

To determine which container is using the image, use the “docker ps -a” command. Stop the running container with the command 'docker stop d123f4e55e12', delete it with 'docker rm Of1262bd1285', and delete the docker image with the command 'dock-er rmi 0f1262bd1285'.

D.

To determine which container is using the image, use the “docker ps -a” command. To delete the container, use the 'docker rm 011262bd1285' command and to delete the docker image, use the 'docker rmi d12314e55e12' command.

Question 28

What is the DevOps lifecycle, and how does it help businesses succeed?

Options:

A.

It is a system of software coding and automation that involves multiple phases and re-leases to aid in release management and issue resolution.

B.

It is a non-cyclical development process that involves heightened collaboration, culture, and communication to ensure on-time delivery.

C.

It is a multi-phased development cycle that focuses on rapid-release and continuous de-livery to unity team infrastructure and maximize the quality of software.

D.

It is an agile process for software development that implements staggered-release and human intervention to improve release and deployment frequency.

Question 29

You are using the Oracle Cloud Infrastructure (OCI) DevOps service and you have success-fully built and tested your software applications in your Build Pipeline. The resulting output needs to be stored in a container repository. Which stage should you add next to your Build Pipeline?

Options:

A.

Deliver artifacts

B.

Trigger deployment

C.

Export packages

D.

Managed build

Question 30

You are creating stages for an Oracle Kubernetes Engine (OKE) deployment pipeline and would like to include as many actions as possible within the pipeline stages themselves. What are you able to include?

Options:

A.

Add a stage to apply the container image to the Kubernetes cluster.

B.

Add a stage to apply the Kubernetes manifest to the Kubernetes cluster.

C.

Add a stage to deliver artifacts to an Oracle Cloud Infrastructure (OCI) Artifact Regis-try.

D.

Add a stage to deploy incrementally to multiple OKE target environments.

Page: 1 / 10
Total 100 questions