Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Oracle Cloud Infrastructure 2025 DevOps Professional 1Z0-1109-25 Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 9 Total 50 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Understand DevOps principles and effectively work with containerization services

Skill tested: Selects a microservices boundary that supports independent deployment and data ownership.

A retail platform is being split from a single application into services. The checkout team needs to deploy frequently, while inventory changes are governed by a separate team and release schedule. Today, both capabilities share one relational schema, and checkout directly updates inventory tables. The organization wants independent deployment without introducing distributed transactions or a shared database as the long-term integration mechanism. Which design best supports the requirement?

Correct Answer: C. Give each service ownership of its data and have checkout use a versioned inventory API or domain event.
Explanation:

Independent service ownership includes ownership of the service's data. A versioned API or domain event lets checkout interact with inventory through a stable contract, so each team can evolve and deploy its service without direct coupling to another service's schema. Separate images alone do not create independent service boundaries, and direct SQL access preserves the original coupling. Distributed transactions add coordination and availability complexity, contrary to the stated goal of avoiding them.

Question 2

New Single answer

Topic: Understand DevOps principles and effectively work with containerization services

Skill tested: Builds a reproducible Docker image while separating build-time inputs from runtime secrets.

A team packages a Node.js service in Docker. Its current image build copies the entire working directory, including local dependency folders and a developer's environment file containing a database password. Builds are large and differ between laptops and the CI system. The team needs a smaller, repeatable image and must ensure the password is not retained in image layers or build history. Which change is most appropriate?

Correct Answer: C. Use a .dockerignore file, install dependencies from the lockfile during the build, and inject the password at runtime from a secret store.
Explanation:

A .dockerignore file excludes local dependencies and sensitive files from the build context. Installing from a lockfile makes dependency resolution repeatable, while runtime secret injection keeps the password out of image layers and build metadata. Deleting a copied secret in a later layer does not remove it from earlier layers. Build arguments are not an appropriate secret store, and relying on a developer's local dependency directory undermines reproducibility and portability.

Question 3

New Single answer

Topic: Understand DevOps principles and effectively work with containerization services

Skill tested: Configures OCIR authentication and image tagging for a repeatable container publishing workflow.

A build runner must publish a container image to a private OCI Container Registry repository in the Phoenix region. The repository already exists, and the runner has an OCI user authorized to push images. The team requires an immutable release identifier in the image name and must avoid storing the user's OCI console password in the pipeline. Which approach is appropriate?

Correct Answer: D. Authenticate to the registry using the user's OCI username and an authentication token, then tag and push to the region-specific registry namespace and repository.
Explanation:

OCIR uses Docker-compatible registry authentication with the OCI user name and an auth token, rather than the console password. The image reference must identify the correct regional registry endpoint, tenancy namespace, repository, and tag; a release identifier provides useful version traceability. The tenancy OCID is not the registry namespace, and switching a public image to private after publishing can expose it. An instance principal may authorize OCI API operations, but it is not a substitute for the registry's Docker login credentials.

Question 4

New Multiple answers

Topic: Understand DevOps principles and effectively work with containerization services

Skill tested: Chooses Container Instances settings for private connectivity and least-privilege image access.

A data-processing team wants to run a containerized batch worker using OCI Container Instances rather than operate a Kubernetes cluster. The worker must pull a private image from OCIR, reach a database on a private subnet, and have no public ingress. The deployment should use a dedicated identity rather than a developer's credentials. Which two configuration decisions best meet these requirements? Select TWO.

Correct Answer: C. Place the Container Instance in a VCN subnet with the required private route and security rules for database access.; E. Configure an appropriate resource principal and IAM policy for the instance to access the required OCIR repository.
Explanation:

A Container Instance can be attached to a VCN subnet, allowing private connectivity when routes, security lists or network security groups permit the required traffic. A resource principal with narrowly scoped IAM authorization avoids embedding a person's credentials and supports access to private OCI resources such as an authorized OCIR repository. A public IP and internet-exposed database are unnecessary and weaken security. Credentials should not be baked into an image, and private OCIR repositories are not inherently excluded.

Question 5

New Single answer

Topic: Using Code and Templates for Provisioning and Configuring Infrastructure

Skill tested: Uses Terraform state and plan review to manage controlled infrastructure changes on OCI.

An infrastructure team manages OCI networking with Terraform. A developer changes a subnet resource in code, but the proposed plan also shows replacement of a production route table that the developer did not intend to modify. The team has remote state configured and requires changes to be reviewed before application. What should the developer do next?

Correct Answer: B. Do not apply; inspect the configuration and state-related cause of the replacement, correct it, and review a new plan.
Explanation:

A Terraform plan is the review point for detecting unintended changes. A production resource replacement must be understood before applying; possible causes include changed immutable arguments, configuration drift, or a resource-address change. Correcting the cause and reviewing a fresh plan preserves the team's controlled workflow. Applying blindly risks an outage. Deleting state can orphan resources, while targeted apply can conceal dependencies and does not resolve why the full plan proposes replacement.

Question 6

New Single answer

Topic: Using Code and Templates for Provisioning and Configuring Infrastructure

Skill tested: Selects Resource Manager stack operations that preserve review and repeatability.

A platform group shares Terraform configurations through OCI Resource Manager. A production stack is already created from the team's configuration and has a managed state file. A requested change updates a subnet and must be reviewed by an operator before it is applied. The team wants to retain Resource Manager's state tracking and avoid maintaining a separate local state copy. Which workflow is best?

Correct Answer: C. Update the stack's configuration, create a Resource Manager plan job, review the plan, and then run an apply job after approval.
Explanation:

Resource Manager plan and apply jobs use the stack's configuration and managed Terraform state. Reviewing a plan job before an apply job preserves the required approval gate and exposes proposed changes before production is altered. A separate local state risks divergence, and importing or uploading state afterward is not a sound substitute for the stack's state management. Console edits create drift, while applying before review defeats the stated change-control requirement.

Question 7

New Multiple answers

Topic: Configuring and Managing Continuous Integration and Continuous Delivery (CI/CD)

Skill tested: Builds and deploys OCI DevOps artifacts using pipeline parameters and environment-specific configuration.

A company uses OCI DevOps to build a service once and promote the same container image through test and production. The image must not be rebuilt for each environment, and each environment has a different database endpoint. A deployment pipeline currently receives an image tag from the build pipeline, but the deployment artifact also contains a hard-coded test endpoint. Which two changes best support reliable promotion? Select TWO.

Correct Answer: A. Publish a versioned image reference as a build artifact and pass that reference to deployment stages.; E. Keep the image immutable and supply environment-specific configuration through deployment-time variables or configuration.
Explanation:

A versioned image reference carried from build to deployment promotes the same tested artifact, improving traceability and avoiding environment-specific rebuilds. Environment-specific endpoints belong in deployment-time configuration, not in an image that should remain immutable. Rebuilding for each environment can produce different binaries and weakens confidence that production is running the tested artifact. A password is not an image identifier, and deployment does not automatically rewrite arbitrary values embedded in an artifact.

Question 8

New Single answer

Topic: Configuring and Managing Continuous Integration and Continuous Delivery (CI/CD)

Skill tested: Chooses a deployment strategy that enables progressive production exposure and rollback.

A service runs on OKE and is deployed through OCI DevOps. The team wants to release a new version to a small portion of production traffic, observe application health, and increase exposure gradually. The existing stable version must remain available so the team can restore it quickly if the new version fails. Which deployment strategy best matches these requirements?

Correct Answer: B. A canary deployment that progressively shifts traffic to the new version while retaining the stable version.
Explanation:

A canary release exposes a limited portion of production traffic to the new version, allowing the team to assess health before increasing exposure. Retaining the stable version supports rapid rollback if metrics or application behavior deteriorate. A rolling deployment replaces instances progressively but does not by itself provide the requested controlled traffic percentage. Blue-green commonly switches traffic between complete environments, while recreate causes an interruption and removes the old version before validation.

Question 9

New Single answer

Topic: Configuring and Managing Continuous Integration and Continuous Delivery (CI/CD)

Skill tested: Applies least-privilege IAM authorization to OCI DevOps pipeline resource access.

An OCI DevOps build pipeline must push an image to one OCIR repository. The build project is configured to use a dynamic group and resource principal. The pipeline fails with an authorization error when pushing, although the image name and registry login flow are correct. The security team will not grant tenancy-wide permissions. What is the best next step?

Correct Answer: B. Add an IAM policy granting the relevant dynamic group the required repository push permission, scoped to the target repository or compartment.
Explanation:

A DevOps resource principal obtains OCI authorization through policies that apply to the dynamic group representing the pipeline resource. The policy should grant the needed image push capability at the narrowest practical scope, such as the target repository or its compartment. Broad tenancy administration violates least privilege. A user's console password is not an appropriate pipeline credential and does not correct the resource principal's missing authorization. Making the repository public weakens confidentiality and does not solve controlled publishing.

Question 10

New Multiple answers

Topic: Managing Containers using Container Orchestration Engine

Skill tested: Diagnoses OKE scheduling constraints using pod placement and node resource capacity.

A workload in an OKE cluster remains Pending after its replica count is increased. The pod specification includes a node selector for a dedicated workload pool and requests substantially more CPU and memory than the remaining nodes in that pool can provide. Other general-purpose nodes have capacity but do not carry the required label. The workload must remain isolated to the dedicated pool, and the team will not reduce its resource requests. Which two actions address the scheduling problem without weakening that isolation requirement? Select TWO.

Correct Answer: A. Verify that the dedicated nodes have the label required by the pod's node selector.; E. Add capacity to the dedicated node pool with nodes that satisfy the workload's resource requests.
Explanation:

Kubernetes schedules a pod only onto a node that satisfies its placement constraints and has sufficient allocatable resources for the pod's requests. Adding suitably sized capacity to the dedicated pool addresses the resource shortage, and verifying the expected label addresses a possible selector mismatch. Removing the selector breaks the isolation requirement. Increasing replicas creates additional demand, while zero requests would undermine resource accounting and does not meet the explicit requirement to retain the workload's requests.

Question 11

New Single answer

Topic: Managing Containers using Container Orchestration Engine

Skill tested: Uses Kubernetes readiness probes to control traffic during application startup.

An application deployed to OKE takes several minutes to load configuration and warm its cache. During that period, the container process is running, but requests sent to it fail. The deployment's liveness probe succeeds as soon as the process starts, and the service begins sending traffic immediately. The team wants Kubernetes to withhold traffic until initialization finishes without repeatedly restarting a healthy, initializing process. Which change is most appropriate?

Correct Answer: D. Use a readiness probe that reports success only after initialization completes, while retaining an appropriate liveness probe.
Explanation:

A readiness probe controls whether a pod is considered ready to receive Service traffic. It should fail while the application initializes and succeed when the application can serve requests. A liveness probe instead detects an unhealthy process that should be restarted; failing it during normal startup can create restart loops. Removing probes does not prevent early traffic, and adding replicas does not change the readiness behavior of individual pods.

Question 12

New Single answer

Topic: Managing Containers using Container Orchestration Engine

Skill tested: Selects OKE workload identity and IAM permissions for secure OCI API access.

A payment service running as a Kubernetes workload in OKE must retrieve a specific secret from OCI Vault. The cluster is private, and the security team prohibits storing OCI user keys in Kubernetes Secrets or container images. The service should have no access to unrelated Vault secrets. Which approach best meets these requirements?

Correct Answer: C. Use an appropriate OKE workload identity integration and grant its identity narrowly scoped IAM access to the required secret.
Explanation:

Workload identity provides an OCI identity to the application without embedding a human user's long-lived credentials. IAM authorization can be scoped to the specific Vault secret or appropriate resource scope, supporting least privilege. Mounting a user key creates a credential lifecycle and exposure risk. Broad cluster-level Vault administration grants more access than necessary, and public readability is incompatible with secret protection and the private-cluster design.

Question 13

New Multiple answers

Topic: Enabling DevSecOps

Skill tested: Configures Vault key and secret access for protected CI/CD deployment workflows.

A production deployment pipeline needs a database credential at deployment time. The credential must be encrypted with a customer-managed key, rotated without rebuilding the application image, and accessible only to the deployment identity. The key and secret are in OCI Vault, and the pipeline uses an OCI resource principal. Which two actions should the security team take? Select TWO.

Correct Answer: B. Grant the pipeline's resource principal the required secret-read access and the necessary key-use authorization, scoped to the relevant resources.; E. Use a Vault secret encrypted with the customer-managed key and update the secret's contents when rotating the credential.
Explanation:

A Vault secret encrypted with the selected customer-managed key separates credential lifecycle from the application image. Updating the secret lets the deployment retrieve current content without rebuilding the image. The pipeline's resource principal needs narrowly scoped authorization to read the secret and the applicable key permissions required for cryptographic use. Embedding the credential in an image or plain-text parameter increases exposure and complicates rotation. Broad Vault administration for all developers is excessive.