
Question bank
Oracle Cloud Infrastructure 2026 DevOps Professional
41 Oracle Cloud Infrastructure 2026 DevOps Professional questions with the correct answer and a written explanation, organised across 6 exam domains.
- 41 questions
- 6 domains
- Foundation level
Question index
Jump straight to any question. Answers and explanations are inline.
- CI/CD Practices · 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
- Container Orchestration (OKE) · 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24
- DevOps Principles and Containerization · 25, 26, 27, 28, 29, 30, 31
- DevSecOps · 32, 33, 34, 35
- Infrastructure as Code · 36, 37, 38, 39
- Monitoring and Observability · 40, 41
CI/CD Practices
12 questions in this domain
- Question 1Single Choice
Which statement best defines continuous integration in a DevOps context?
- AFrequently merging code changes and running automated builds and testsCorrect answer
- BDeploying every merge directly to production only
- CSubstituting automated tests with manual release tests
- DKeeping code changes isolated for several weeks before review
Why this is the answer
Continuous integration means frequently integrating code changes into a shared repository and validating each change with automated builds and tests, which helps detect issues early.
- Question 2Multiple Select
Which of the following are core DevOps principles? Select all that apply.
- AAutomationCorrect answer
- BFeedback loopsCorrect answer
- CManual handoffs
- DSiloed teams
Why this is the answer
DevOps principles emphasize automation, collaboration, measurement, and feedback. Manual handoffs and siloed teams slow delivery and reduce shared responsibility.
- Question 3Interactive
In the pipeline snippet, what is the purpose of the stage named test?
- ACompile source code into deployable artifacts
- BRun automated tests against the applicationCorrect answer
- CPublish container images to a registry
- DProvision production infrastructure
Why this is the answer
In a CI/CD pipeline, the test stage runs automated tests to validate application behavior before the deployment or packaging stages.
- Question 4Single Choice
Which statement describes a core benefit of containerization?
- AApplications and their dependencies can be packaged together and run consistently across environmentsCorrect answer
- BAll security vulnerabilities are automatically removed from the application source code
- CContainers remove the need for operating-system-level isolation
- DApplications no longer require any runtime environment
Why this is the answer
Containerization packages application code and its dependencies into a lightweight image, making application behavior consistent across development, testing, and production.
- Question 5Multiple Select
Which of the following are essential parts of a containerized CI/CD pipeline? Select all that apply.
- AContainer imageCorrect answer
- BContainer registryCorrect answer
- CDockerfile-like image definitionCorrect answer
- DPhysical server lease agreement
Why this is the answer
A container image is built from an image definition file, stored and distributed through a container registry, and then pulled by runtime platforms for deployment.
- Question 6Interactive
Given the provided container image definition, which instruction sets the base runtime image?
- AFROM node:18-alpineCorrect answer
- BWORKDIR /app
- CRUN npm install
- DCOPY . /app
Why this is the answer
The FROM instruction initializes a new image and defines the base runtime environment by referencing an existing image such as node:18-alpine.
- Question 7Single Choice
What is meant by continuous delivery in a software delivery context?
- AEvery change that passes automated tests can be released to production at any timeCorrect answer
- BEvery change is released to production automatically without running any tests
- CReleases can only happen once per year after a complete manual review
- DSoftware testing is completed after the production deployment is finished
Why this is the answer
Continuous delivery keeps software in a releasable state at all times by automating builds and tests, allowing releases to be executed whenever needed.
- Question 8Multiple Select
Which practices support a mature CI/CD environment? Select all that apply.
- AVersion control and configuration managementCorrect answer
- BAutomated testing at multiple stagesCorrect answer
- CConsistent and reproducible environmentsCorrect answer
- DUnreproducible manual server changes
Why this is the answer
A mature CI/CD environment relies on version control, automated testing, and reproducible environments. Manual server changes make delivery unpredictable and risky.
- Question 9Interactive
According to the pipeline snippet, what does the quality stage execute?
- ARun static code analysisCorrect answer
- BBuild application binaries from source code
- CCreate encrypted database backups
- DDestroy temporary cloud resources
Why this is the answer
The quality stage runs the sonar-scanner command, which is a common static code analysis tool used to inspect code quality and identify defects.
- Question 10Single Choice
What is the primary purpose of a container registry?
- AStoring and distributing container imagesCorrect answer
- BCompiling application source code into binaries
- CManaging DNS records for production domains
- DExecuting application tests locally
Why this is the answer
A container registry is a centralized service for storing container images and making them available to deployment platforms and CI/CD pipelines.
- Question 11Multiple Select
Which of the following are typical stages in a CI/CD pipeline? Select all that apply.
- ABuildCorrect answer
- BTestCorrect answer
- CDeployCorrect answer
- DIncident ticket review
Why this is the answer
CI/CD pipelines usually contain build, test, and deploy stages. Incident ticket review is an IT service management activity, not a core deployment stage.
- Question 12Interactive
What operation is performed at the delivery stage in the provided pipeline?
- ADeploying the workload to Kubernetes using a manifestCorrect answer
- BRunning unit and contract tests
- CCompiling the source code
- DDownloading dependencies from a repository
Why this is the answer
The delivery stage runs kubectl apply -f deployment.yaml, which deploys or updates the Kubernetes resources defined in the manifest file.
Container Orchestration (OKE)
12 questions in this domain
- Question 13Single Choice
In Oracle Cloud Infrastructure, what does the acronym OKE represent?
- AOracle Kubernetes EngineCorrect answer
- BOracle Key Management Engine
- COracle Kernel Enclave
- DOpen Kubernetes Environment
Why this is the answer
OKE is Oracle's managed Kubernetes service, which handles Kubernetes control plane operations and simplifies deploying containerized workloads.
- Question 14Multiple Select
Which two statements reflect core DevOps principles that support container orchestration in a modern cloud environment?
- AAutomating the application delivery pipelineCorrect answer
- BCollaborating across development and operations teamsCorrect answer
- CSeparating application monitoring from operations responsibilities
- DRequiring manual approval for every infrastructure change
Why this is the answer
DevOps combines automated delivery, collaboration, monitoring, and infrastructure as code. Manual approvals and isolated teams conflict with DevOps.
- Question 15Interactive
Look at the command in the code block. Which OKE resource is inspected by that command?
- ANodesCorrect answer
- BPods
- CDeployments
- DServices
Why this is the answer
The kubectl get nodes command lists worker nodes in the Kubernetes cluster. This helps inspect OKE node status and availability.
- Question 16Single Choice
What is the role of a node pool in an OKE cluster?
- AIt defines a set of worker nodes with identical configuration.Correct answer
- BIt stores container images used by deployments.
- CIt manages DNS records for published services.
- DIt provides persistent block storage to application containers.
Why this is the answer
A node pool is a group of worker nodes that share compute shape, image, network, and other settings, making management and upgrades predictable.
- Question 17Multiple Select
Which methods can be used to connect to and manage an OKE cluster? Select all that apply.
- AUsing kubectl commandsCorrect answer
- BUsing the OCI ConsoleCorrect answer
- CUsing the standard Kubernetes APICorrect answer
- DUsing MySQL Shell
Why this is the answer
OKE exposes the standard Kubernetes API, so kubectl, SDKs, the OCI Console, and REST calls can manage cluster resources. MySQL Shell is unrelated.
- Question 18Interactive
The code block contains a Kubernetes manifest. Which object kind is defined by the manifest?
- ADeploymentCorrect answer
- BService
- CPod
- DReplicaSet
Why this is the answer
The manifest uses kind: Deployment to declare a storefront Deployment with three replicas, which manages pods in OKE.
- Question 19Single Choice
Which container characteristic helps a container run consistently across different OKE environments?
- AIt packages application code together with its dependencies and runtime.Correct answer
- BIt includes a separate guest operating system for each workload.
- CIt depends on the exact kernel configuration of the source host.
- DIt must be recompiled for every target environment.
Why this is the answer
Containers bundle an application and dependencies, but share the host OS kernel. This packaging provides consistency and portability.
- Question 20Multiple Select
Which two statements are true about worker nodes in OKE?
- AWorker nodes run pods and containers.Correct answer
- BWorker nodes are grouped into node pools.Correct answer
- CWorker nodes are created by applying a Helm chart.
- DWorker nodes are the same as a Kubernetes namespace.
Why this is the answer
Worker nodes provide the compute capacity that runs pods. OKE organizes worker nodes into node pools for easier lifecycle management and scaling.
- Question 21Interactive
The code block shows a kubectl command. What happens when this command is executed against the storefront deployment?
- AIt sets the storefront deployment to five replicas.Correct answer
- BIt deletes the storefront deployment.
- CIt creates a namespace called storefront.
- DIt restarts all storefront pods and keeps three replicas.
Why this is the answer
kubectl scale changes the number of desired replicas for a Deployment to five, instructing the controller to add or remove pods as needed.
- Question 22Single Choice
Which statement best describes the main purpose of containerization in DevOps?
- ATo make applications portable and consistent across development, test, and production environments.Correct answer
- BTo replace operating systems in cloud data centers.
- CTo provide a virtualized network between physical servers.
- DTo store immutable copies of production databases.
Why this is the answer
Containers package an application and its dependencies, enabling consistent behavior from build through production and simplifying orchestration.
- Question 23Multiple Select
Which two components form the core structure of an OKE Kubernetes cluster?
- AControl planeCorrect answer
- BWorker nodesCorrect answer
- CContainer image registry
- DSQL database service
Why this is the answer
Every Kubernetes cluster has a control plane that manages cluster state and worker nodes that run workloads. Registries and databases are external services.
- Question 24Interactive
After running the command in the code block, which Kubernetes resource type is listed?
- AServicesCorrect answer
- BSecrets
- CPods
- DConfigMaps
Why this is the answer
kubectl get svc is shorthand for kubectl get services, which lists Service resources in the storefront namespace.
DevOps Principles and Containerization
7 questions in this domain
- Question 25Single Choice
In a DevOps context, what is the main purpose of using containers to deliver applications?
- APackage an application with its dependenciesCorrect answer
- BReplace continuous integration tools
- CEliminate the need for application testing
- DProvide graphical user interfaces for servers
Why this is the answer
Containerization packages an application with its runtime dependencies, making it portable. It does not replace CI tools, testing, or server GUIs.
- Question 26Multiple Select
In a DevOps transformation, which of the following practices and philosophies are usually considered core principles?
- AContinuous collaboration between development and operationsCorrect answer
- BAutomating build, test, and deployment processesCorrect answer
- CMeasuring results and sharing feedbackCorrect answer
- DRequiring manual approvals for every delivery
Why this is the answer
DevOps emphasizes collaboration, automated pipelines, and measurement/feedback. Manual approval for every delivery conflicts with continuous delivery practices.
- Question 27Interactive
In the Dockerfile shown in the code block, what effect does the WORKDIR instruction have on the build process?
- AChanges the active directory for subsequent instructionsCorrect answer
- BExposes a port to the host machine
- CAdds an environment variable to the container
- DSelects the base image to use
Why this is the answer
WORKDIR sets the working directory for instructions that follow, such as COPY, RUN, and CMD, inside the container image.
- Question 28Single Choice
In modern DevOps pipelines, the acronym CI/CD refers to which pair of software delivery practices?
- AContinuous Integration and Continuous Delivery/DeploymentCorrect answer
- BCentralized Infrastructure and Centralized Deployment
- CCode Integration and Code Deployment
- DContainer Isolation and Container Deployment
Why this is the answer
CI/CD combines Continuous Integration with Continuous Delivery or Continuous Deployment, enabling code to move from commit to production through automated pipelines.
- Question 29Multiple Select
When considering how container engines execute applications, which of the following statements about containers are correct?
- AContainers share the host operating system kernelCorrect answer
- BContainer images are composed of reusable read-only layersCorrect answer
- CContainers provide isolated user-space processes and filesystemsCorrect answer
- DRecreate the full virtual hardware stack
Why this is the answer
Containers share the host kernel, use layered images, and isolate processes. Unlike VMs, they do not emulate full virtual hardware.
- Question 30Interactive
The code block shows a container launch command. Which of the following statements correctly describe its behavior?
- AThe container runs in detached modeCorrect answer
- BHost port 8080 maps to container port 80Correct answer
- CThe running container is given the name webCorrect answer
- DThe command removes an existing container named web
Why this is the answer
docker run starts a new container; -d detaches it, -p maps host port 8080 to container port 80, and --name assigns the name web. It does not remove containers.
- Question 31Single Choice
In a DevOps workflow, which responsibility is typically handled by a version control system such as Git?
- ATrack changes and coordinate work among developersCorrect answer
- BBuild container images automatically
- CMonitor application performance in production
- DRun load tests against deployed applications
Why this is the answer
Version control tools track source history and support collaboration. Creating images, monitoring performance, and load testing are handled by other DevOps stages.
DevSecOps
4 questions in this domain
- Question 32Single Choice
Which of the following statements best explains why DevOps teams consider containerization valuable for software delivery?
- ACreates consistent runtime environmentsCorrect answer
- BReplaces version control
- CDistributes binaries to users
- DEnables insecure cluster access
Why this is the answer
Containerization packages an application with its runtime and dependencies, reducing environment drift and making delivery pipelines more predictable.
- Question 33Multiple Select
Which two practices are widely considered to be foundational principles of a DevOps culture and toolchain?
- AAutomating build, test, and deploymentCorrect answer
- BEncouraging shared ownership and feedbackCorrect answer
- CControlling all decisions centrally
- DIsolating development from operations
Why this is the answer
DevOps values automation and collaboration or feedback to shorten delivery cycles. Centralized control and strict isolation slow feedback and work against continuous improvement.
- Question 34Interactive
Review the two command-line operations shown in the code block. What is the purpose of the first operation?
- ABuilds a container imageCorrect answer
- BStarts a new container
- CPushes image to registry
- DRemoves stopped containers
Why this is the answer
The first instruction is a build operation that creates an image. The second operation only runs a container from that previously built image.
- Question 35Single Choice
In containerization, what content is usually packaged inside a container image for the application to run?
- AApplication, runtime, and dependenciesCorrect answer
- BOnly the source code
- CDeployment manual for operators
- DCloud billing and identity records
Why this is the answer
A container image contains the application, runtime, and dependencies, making it a consistent deployable artifact. Source-only packages and manual documents are not enough.
Infrastructure as Code
4 questions in this domain
- Question 36Single Choice
What is the primary purpose of using Infrastructure as Code to manage cloud environments in a DevOps workflow?
- AManaging infrastructure through version-controlled definition filesCorrect answer
- BConfiguring resources manually in the cloud console
- CDeploying application code without defining underlying infrastructure
- DUsing unmanaged environments for cloud resources
Why this is the answer
IaC stores the desired infrastructure state in code, enabling consistent, repeatable, and automated provisioning instead of manual console changes.
- Question 37Multiple Select
Which of the following are core DevOps principles? Select all that apply.
- AAutomation of repetitive tasksCorrect answer
- BDevelopment and operations collaborationCorrect answer
- CManual handoffs between siloed teams
- DMonitoring and continuous feedbackCorrect answer
Why this is the answer
DevOps favors automation, collaboration, and continuous feedback. Manual handoffs and siloed teams contradict the shared ownership and delivery model.
- Question 38Interactive
Review the code block in the response. Which type of infrastructure tool is represented?
- ADeclarative provisioning toolCorrect answer
- BConfiguration management tool
- CContainer orchestrator
- DSource code compiler
Why this is the answer
The code block declares the desired cloud resource and its properties using HCL, which is characteristic of a declarative provisioning tool.
- Question 39Single Choice
What is the main advantage of containerization over virtual machines in a DevOps pipeline?
- ALess overhead because containers share the host operating system kernelCorrect answer
- BEach container runs its own guest operating system
- CContainers require a hypervisor to isolate workloads
- DContainers are permanently attached to a specific host
Why this is the answer
Containers package an application with its dependencies and share the host OS kernel, making them lightweight and faster to start than virtual machines.
Monitoring and Observability
2 questions in this domain
- Question 40Single Choice
In a DevOps environment that runs containerized workloads, what is the core benefit provided by observability?
- AEarly detection of system issues and faster troubleshootingCorrect answer
- BCompilation of applications from source code
- CRemoval of all security vulnerabilities
- DAutomatic creation of container registries
Why this is the answer
Observability uses metrics, logs, and traces to detect anomalies early, enabling teams to reduce downtime and troubleshoot containerized services more effectively.
- Question 41Multiple Select
Which two specific actions represent monitoring or alerting in a DevOps pipeline that runs containerized applications?
- ACollecting container CPU and memory usageCorrect answer
- BAlerting on high service response timeCorrect answer
- CSelecting a base image for the container
- DCopying application source code into the image
Why this is the answer
Collecting CPU and memory metrics and alerting on slow responses provide visibility into container health. Base image selection and source code copying occur at build time, not during monitoring.
Frequently asked questions
Everything about the Oracle Cloud Infrastructure 2026 DevOps Professional question bank and how to use it.