Oracle Cloud Infrastructure 2025 DevOps Professional Exam-style mock test
OCI 2025 DevOps Professional Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · DevOps Fundamentals & OCI DevOps Service
A B2B SaaS company adopting DevOps keeps experiencing delays because its developers and its operations staff pass releases back and forth with conflicting priorities and separate tooling. Leadership asks which foundational DevOps principle most directly addresses this specific friction between the two groups.
・Enforcing manual approval gates before each deployment so that operations retains final sign-off authority over all production changes
Incorrect. Adding manual approval gates increases hand-off friction rather than reducing the cultural divide between the two teams.
✓Fostering shared ownership and collaboration so development and operations work against common goals and tooling
Correct. A collaborative culture of shared ownership and unified goals is the DevOps principle that dissolves the silo friction described.
・Scaling the production infrastructure horizontally so that more application instances can absorb unexpected release traffic
Incorrect. Horizontal scaling addresses capacity, not the organizational hand-off problem between development and operations.
・Shortening every sprint to one week so that the backlog is continuously reprioritized by the product owner each cycle
Incorrect. Shortening sprints changes planning cadence but does not resolve the collaboration gap between the two groups.
Explanation
DevOps culture emphasizes breaking down silos through shared ownership and collaboration between development and operations, which is the direct remedy for the described friction.
Example2 · CI/CD Pipelines & Build/Deploy
A B2B SaaS company stores its microservice source in an OCI Code Repository and needs its build pipeline to compile the service and run unit tests on an Oracle-hosted runner. Which build pipeline stage type should the DevOps engineer add to execute the commands defined in the build_spec.yaml file?
・A Deliver Artifacts stage that copies the compiled binaries into the OCI Artifact Registry repository
Incorrect. Deliver Artifacts publishes build outputs to a registry but does not compile code or execute the build_spec.yaml commands.
・A Trigger Deployment stage that invokes the linked deployment pipeline after compilation completes
Incorrect. Trigger Deployment hands off to a deployment pipeline and performs no compilation or unit testing itself.
✓A Managed Build stage that runs the build_spec.yaml steps on an Oracle-managed build runner
Correct. The Managed Build stage runs the steps declared in build_spec.yaml on an Oracle-managed runner, compiling the service and executing unit tests.
・A Wait stage that pauses pipeline execution for a configured duration before the next step
Incorrect. A Wait stage only delays execution and cannot compile code or run tests.
Explanation
The Managed Build stage is the stage that executes build_spec.yaml commands on an Oracle-managed runner, which is where compilation and unit testing happen.
Example3 · Containers, OKE & Artifact Management
A B2B SaaS company builds a billing microservice image in a CI pipeline and must push it to OCI Registry (OCIR) so the deployment stage can pull it. The engineer needs a non-interactive credential to authenticate the Docker client to the registry. Which credential should be configured for the docker login step?
✓A user auth token generated for the account, supplied as the password with the tenancy-namespace-prefixed username
Correct. OCIR authenticates the Docker client using an auth token as the password, with a username in the form tenancy-namespace/username (or federated form), which is exactly what docker login expects for a non-interactive push.
・The private half of the API signing key pair uploaded under the user's profile in the console
Incorrect. The API signing key authenticates REST/CLI requests, but the Docker client to OCIR uses an auth token, not the signing key pair, so this login would fail.
・A temporary session token minted by resource principal for the build runner
Incorrect. Resource principal session tokens are consumed by the OCI SDK/CLI for service calls and are not the credential the docker login command accepts as a password for OCIR.
・The OCI CLI configuration file stored at the default profile location on disk
Incorrect. The CLI config file holds API-key settings for OCI CLI calls and is not passed to docker login, which needs an auth token as the password value.
Explanation
Docker authentication to OCIR relies on an OCI auth token used as the password together with a tenancy-namespace-qualified username; API signing keys and resource-principal tokens serve other OCI service calls, not the Docker login flow.
Example4 · IaC: Resource Manager & Terraform
A healthcare services firm wants to manage its patient-portal infrastructure using OCI Resource Manager. An engineer asks what a Resource Manager stack actually represents. Which description is correct?
・A reusable library of pre-approved Terraform provider plugins that the firm's teams download before writing any configuration files locally
Incorrect. A stack is not a provider-plugin library; providers are downloaded automatically during the plan/apply job, not curated as a stack.
✓A collection of Terraform configuration files plus their associated variables and state that Resource Manager uses to provision a defined set of OCI resources
Correct. A Resource Manager stack bundles the Terraform configuration, variables, and managed state used to create and update a specific group of OCI resources.
・A snapshot of running compute instances captured on a schedule so the firm can restore the patient portal after an outage
Incorrect. Instance snapshots and backups are unrelated to what a stack is; a stack defines infrastructure declaratively rather than capturing running VMs.
・A compliance report listing every manual change made in the Console so auditors can compare it against the intended design
Incorrect. A stack provisions infrastructure; it is not a compliance or drift report of manual Console changes.
Explanation
A stack is the core Resource Manager object: a Terraform configuration together with its variables and state, representing the set of OCI resources it manages.
Example5 · Observability, Monitoring & Automation
A healthcare services firm runs a patient intake microservice on OKE and needs to track a business metric (claims processed per minute) that OCI does not emit by default. The platform team wants this metric to appear in the Monitoring service so they can build alarms on it. What should the team do to get this custom metric into OCI Monitoring?
✓Post the metric datapoints to the Monitoring service PostMetricData API, specifying a custom namespace, compartment, and dimensions for each datapoint
Correct. Custom metrics are ingested by calling the Monitoring PostMetricData API with a user-defined namespace, compartment, and dimensions, after which alarms can be built on them.
・Enable the Monitoring plugin on the OKE node pool so that the agent scrapes the application endpoint automatically every minute
Incorrect. The management agent plugin collects host and defined OCI resource metrics, but it does not automatically scrape and publish an arbitrary application business counter as a custom metric.
・Create a Logging custom log for the service and let Monitoring derive the metric by counting matching log entries at query time
Incorrect. Logging stores log entries and does not transform them into Monitoring metrics automatically; a separate publishing step to PostMetricData is still required.
・Define the metric in the Monitoring console as a new resource type, then the service begins charting application counters on its own
Incorrect. The console does not let you declare a resource type that causes OCI to invent and chart your application counters without any metric publishing.
Explanation
Custom application metrics reach OCI Monitoring only by explicitly posting datapoints to the PostMetricData API under a custom namespace with dimensions.
Example6 · DevOps Fundamentals & OCI DevOps Service
A healthcare services firm is adopting DevOps to speed up delivery of its patient-portal software. Leadership asks what the primary cultural goal of DevOps is, beyond simply buying new tools. Which statement best captures that goal?
・It establishes a separate release-management board that reviews and approves every change before developers are permitted to merge code into the shared trunk.
Incorrect. A gated approval board that slows every merge is the opposite of DevOps, which seeks continuous flow and shared accountability rather than hand-off gates.
✓It aligns development and operations teams around shared responsibility and feedback so software reaches patients faster and more reliably.
Correct. DevOps is fundamentally about breaking silos so dev and ops share responsibility and feedback loops, improving speed and reliability of delivery.
・It replaces the operations team entirely with automation, allowing a single developer to own all production infrastructure decisions.
Incorrect. DevOps does not eliminate operations; it fosters collaboration between teams rather than concentrating all authority in developers.
・It mandates that every application be rewritten as microservices before any automated pipeline or deployment practice can be introduced.
Incorrect. Microservices can help but are not a prerequisite; DevOps practices apply to monoliths and microservices alike.
Explanation
DevOps is primarily a cultural shift toward shared ownership, collaboration, and fast feedback between development and operations, enabling faster and more reliable delivery.
Example7 · DevOps Fundamentals & OCI DevOps Service
UrbanThread, a retail apparel brand, keeps the mobile checkout team and the operations team in separate silos, and each release requires a weekend of manual coordination. Leadership wants to adopt DevOps to shorten the path from commit to production. Which principle most directly addresses the recurring manual-coordination bottleneck they are describing?
・Scaling the production database vertically so that peak checkout traffic never causes a slowdown during a release weekend
Incorrect. Vertical database scaling improves runtime capacity but does nothing to remove the manual coordination and handoff friction between the two teams at release time.
✓Automating the build, test, and deployment stages into a repeatable pipeline so releases require little manual handoff
Correct. Automating build, test, and deployment into a repeatable pipeline is the core DevOps answer to manual-coordination bottlenecks, reducing error-prone handoffs and shortening lead time from commit to production.
・Assigning a dedicated release manager who schedules every deployment and signs off before the operations team proceeds
Incorrect. Adding a dedicated release manager who gates every deployment reinforces the siloed, approval-heavy handoff rather than removing the manual coordination the brand wants to eliminate.
・Writing more detailed runbooks that the operations team follows by hand each time a new mobile checkout build ships
Incorrect. More detailed manual runbooks still depend on people executing steps by hand each release, which preserves exactly the manual bottleneck DevOps automation is meant to remove.
Explanation
A central DevOps principle is automating the delivery pipeline so that build, test, and deployment are repeatable and require minimal manual handoff, which is what removes the weekend coordination bottleneck.
Example8 · DevOps Fundamentals & OCI DevOps Service
A platform engineer at UrbanThread is evaluating the OCI DevOps service to replace a patchwork of external scripts. She wants to understand what the OCI DevOps service is fundamentally designed to provide. Which statement best describes the purpose of the OCI DevOps service?
・A managed relational database engine that stores application state and transaction logs for deployed retail workloads
Incorrect. A managed relational database describes a data-storage service; the OCI DevOps service is about automating software delivery, not persisting application state or transactions.
✓A continuous integration and continuous delivery platform for building, testing, and deploying applications on OCI
Correct. The OCI DevOps service is a CI/CD platform that provides build pipelines, artifact management, and deployment pipelines to build, test, and deploy applications on OCI.
・An identity and access governance product whose main job is issuing and rotating user credentials across OCI tenancies
Incorrect. Issuing and rotating credentials is the role of IAM, not the OCI DevOps service, whose purpose is automating continuous integration and continuous delivery.
・A network traffic inspection appliance that filters inbound requests to the storefront before they reach compute instances
Incorrect. Inspecting and filtering inbound network traffic is a security/networking function, not the delivery-automation purpose of the OCI DevOps service.
Explanation
OCI DevOps is Oracle's managed CI/CD service, delivering build and deployment pipelines plus artifact management to automate software delivery on OCI rather than storing data, managing identities, or filtering traffic.
Example9 · DevOps Fundamentals & OCI DevOps Service
UrbanThread's release policy states that every merged change is automatically built and tested, and an approved build is kept ready to release at any time, but a human must click to push each build to the production storefront. Which delivery model does this policy describe?
・Continuous deployment, because every passing build is automatically promoted all the way to the live production storefront without a human approval step
Incorrect. Continuous deployment removes the human gate and auto-promotes every passing build to production; here a person must click to release, so this does not match.
✓Continuous delivery, because builds are kept release-ready but a manual approval triggers the final promotion to production
Correct. Continuous delivery keeps every build release-ready through automation but relies on a manual approval to trigger the final push to production, which is exactly what the policy describes.
・Continuous integration only, since the process stops after merging and automated testing and never produces a releasable build artifact
Incorrect. Continuous integration covers only automated merge, build, and test; the described policy goes further by keeping release-ready builds and promoting them to production.
・Trunk-based development, a branching model that by itself defines how builds are promoted from staging into production
Incorrect. Trunk-based development is a branching strategy, not a promotion model, so it does not define whether releases to production are automatic or manually approved.
Explanation
Automated build/test with release-ready artifacts but a manual gate to production defines continuous delivery; continuous deployment would remove the manual click, and CI stops at build/test.
Example10 · DevOps Fundamentals & OCI DevOps Service
A financial services company is adopting DevOps to shorten the release cycle of its loan-origination platform. The platform team wants to reduce the friction that historically existed between developers who ship features and operators who keep the system stable. Which cultural practice most directly addresses this specific goal?
✓Establishing shared ownership of delivery and reliability so development and operations collaborate on the same outcomes rather than optimizing separate goals
Correct. DevOps culture breaks down the dev-vs-ops silo by giving both groups shared ownership of both delivery speed and system reliability, directly reducing the friction described.
・Assigning a dedicated release manager who schedules deployments every quarter and approves each change manually before it reaches production
Incorrect. Centralizing approvals in one release manager on a quarterly cadence reinforces silos and slows delivery, the opposite of the collaboration DevOps seeks.
・Requiring that the operations team write all deployment scripts while developers focus only on writing new application features
Incorrect. Splitting responsibilities so only operators script deployments keeps the two teams separate and perpetuates the handoff friction being addressed.
・Freezing production changes during business hours and batching every update into a single large monthly maintenance window
Incorrect. Batching changes into large infrequent windows increases risk and delay and does nothing to improve collaboration between the two teams.
Explanation
A defining DevOps practice is shared ownership across development and operations, which dissolves the silo friction described in the scenario.
Example11 · DevOps Fundamentals & OCI DevOps Service
An engineer at a payments company is organizing the team's CI/CD assets in the OCI DevOps service. They need the top-level logical container that groups related build pipelines, deployment pipelines, code repositories, and artifacts for the fraud-detection microservice. Which OCI DevOps component serves as that container?
✓An OCI DevOps project, which groups the build pipelines, deployment pipelines, repositories, and artifact references for a given application
Correct. A DevOps project is the logical container that groups build pipelines, deployment pipelines, code repositories, and artifacts for an application.
・An OCI Resource Manager stack, which provisions the infrastructure and tracks Terraform state for the fraud-detection microservice
Incorrect. A Resource Manager stack manages Terraform-based infrastructure provisioning, not the grouping of DevOps pipelines and repositories.
・An OCI compartment, which isolates billing and access control boundaries across tenancies and regional subscriptions
Incorrect. A compartment provides tenancy-wide isolation and access boundaries but is not the DevOps-specific container for pipelines and repositories.
・An OCI dynamic group, which collects instances so policies can grant them permission to call other services
Incorrect. A dynamic group aggregates principals such as instances for IAM policy purposes and does not group DevOps pipelines or artifacts.
Explanation
The DevOps project is the top-level container in the OCI DevOps service that groups pipelines, repositories, and artifacts for an application.
Example12 · DevOps Fundamentals & OCI DevOps Service
A manufacturing distributor's order-management team ships updates only once per quarter, and the operations team blames developers whenever a release breaks production. Leadership asks which DevOps principle most directly addresses this friction between the two teams. Which principle should be emphasized first?
・Enforce a strict change-freeze window every quarter so that operations has predictable periods without any new deployments to manage
Incorrect. Change freezes reduce deployment frequency and reinforce the slow quarterly cadence rather than improving collaboration between the teams.
✓Build a shared-responsibility culture where development and operations collaborate on delivery and jointly own production outcomes
Correct. DevOps aims to break down silos by fostering shared responsibility and collaboration, so both teams jointly own delivery speed and production stability.
・Shift all production support responsibility onto a dedicated site-reliability team so developers can focus only on writing features
Incorrect. Moving all support to a separate team recreates a silo and keeps developers disconnected from the operational outcomes of their code.
・Require developers to obtain written sign-off from the operations manager before every single commit is merged to the trunk
Incorrect. Mandatory manual sign-off on every commit adds bureaucratic friction and slows flow, which is contrary to DevOps collaboration goals.
Explanation
DevOps culture centers on collaboration and shared ownership between development and operations, dismantling the blame-oriented silos described in the scenario.
Example13 · DevOps Fundamentals & OCI DevOps Service
The distributor's warehouse-inventory microservice is integrated manually once a month, which repeatedly surfaces large merge conflicts and hidden regressions late in the cycle. The lead engineer wants to explain the main value continuous integration would bring. What is the primary benefit of adopting CI here?
・It guarantees that every build artifact is automatically promoted straight into the production inventory environment without any gate
Incorrect. CI focuses on frequent integration and verification; automatic promotion to production without a gate describes continuous deployment, not CI's core value.
・It replaces the need for any automated testing because frequent merging alone inherently prevents defects from reaching users
Incorrect. CI complements automated testing rather than replacing it; frequent merging without tests would not reliably prevent defects.
✓It merges and verifies code changes frequently so integration problems are detected early while they are still small and cheap to fix
Correct. CI's primary value is integrating and validating changes often, so conflicts and regressions are caught early when they are small and inexpensive to resolve.
・It eliminates the requirement to maintain a version-control repository since integration status is tracked by the CI server
Incorrect. CI depends on a version-control repository as its foundation; it does not remove the need for source control.
Explanation
Continuous integration integrates work frequently and runs automated verification, surfacing defects early instead of at the end of a long manual cycle.
Example14 · DevOps Fundamentals & OCI DevOps Service
A telecom operator's provisioning platform suffers from slow, error-prone releases because the development and operations teams work in separate silos with handoffs. Leadership wants to adopt DevOps to improve this situation. Which outcome best reflects the primary goal that DevOps culture aims to achieve for this team?
✓Shortening the feedback loop between code changes and production by uniting development and operations around shared responsibility
Correct. DevOps breaks down silos and shortens feedback loops by making development and operations share responsibility for the whole delivery lifecycle.
・Eliminating the operations function entirely so that developers alone own and run every workload in production without support
Incorrect. DevOps unites development and operations through collaboration and shared ownership; it does not eliminate the operations role.
・Enforcing a rigid sequential gate process where each stage must be fully signed off before the next team begins any work
Incorrect. Rigid sequential sign-off gates reintroduce the slow handoffs and silos that DevOps is specifically meant to reduce.
・Replacing all automated testing with scheduled manual verification performed by a dedicated quality assurance review board
Incorrect. DevOps emphasizes automation of testing to accelerate feedback, not a return to scheduled manual verification by a separate board.
Explanation
DevOps is fundamentally about culture and collaboration that shortens feedback loops and shares responsibility, the opposite of siloed handoffs.
Example15 · DevOps Fundamentals & OCI DevOps Service
A telecom operator is onboarding onto OCI DevOps and must decide how to organize its billing microservice work. An architect recommends creating a DevOps project as the first resource. What is the primary purpose that a DevOps project serves within the OCI DevOps service?
・It provisions the compute instances and load balancers that will host the running application after a successful deployment pipeline
Incorrect. Compute and load balancer resources are provisioned separately; the DevOps project itself does not host the running application.
✓It acts as a logical container that groups related DevOps resources such as code repositories, build pipelines, and deployment pipelines together
Correct. A DevOps project is a logical grouping container that organizes related resources like code repos, build pipelines, and deployment pipelines.
・It stores the long-term application metrics and distributed traces so operators can monitor service health across every region
Incorrect. Metrics and traces are handled by OCI Monitoring and Application Performance Monitoring, not stored by the DevOps project.
・It defines the IAM users and groups that are allowed to approve releases into the production billing environment at runtime
Incorrect. IAM users and groups are defined in the Identity service; the DevOps project groups DevOps resources rather than defining identities.
Explanation
A DevOps project is the top-level logical container that groups the code repositories, pipelines, and related artifacts for an application.
▶ Try 10 free questions (graded)