
Question bank
Oracle Cloud Infrastructure 2026 Developer Professional
41 Oracle Cloud Infrastructure 2026 Developer Professional questions with the correct answer and a written explanation, organised across 5 exam domains.
- 41 questions
- 5 domains
- Foundation level
Question index
Jump straight to any question. Answers and explanations are inline.
- Cloud Native Applications and Containerization · 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
- Cloud Native Fundamentals · 15, 16, 17, 18, 19
- Leveraging Serverless Technologies · 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32
- Monitoring and Troubleshooting · 33, 34, 35, 36
- Testing and Securing Cloud Native Applications · 37, 38, 39, 40, 41
Cloud Native Applications and Containerization
14 questions in this domain
- Question 1Single Choice
Which one of the following statements best describes the architectural style that is most commonly used by cloud native applications?
- AApplications are built as one very large deployment unit that cannot be changed without full redeployment.
- BApplications are decomposed into smaller services that can be developed and deployed independently.Correct answer
- CApplications are permanently attached to manually provisioned physical servers to reduce latency.
- DApplications always run inside a full guest operating system under a hypervisor.
Why this is the answer
Cloud native applications are composed of small independently deployable services rather than one coupled monolithic unit. This supports scaling, resilience, and frequent delivery.
- Question 2Multiple Select
Which two of the following principles are considered fundamental when designing applications for cloud native platforms? Select two.
- AEvery application must share a single server-side database for consistency.
- BApplication components are packaged as containers to isolate their dependencies and execution context.Correct answer
- CEvery code change must wait for a quarterly release in order to maintain stability.
- DInfrastructure is provisioned programmatically from declarative definitions and automated pipelines.Correct answer
Why this is the answer
Cloud native design emphasizes container packaging and programmatic infrastructure provisioning. Legacy practices such as shared monolithic databases, quarterly releases, and manual server management are not cloud native.
- Question 3Interactive
In the Compose service definition shown, what effect does the ports setting have on traffic sent to the host?
- AHost port 8080 is published and traffic is forwarded to container port 80.Correct answer
- BContainer port 8080 is published and traffic is forwarded to host port 80.
- CContainer port 8080 is made available only inside the Compose network.
- DTraffic on host port 80 is sent to the container published on port 8080.
Why this is the answer
A Compose port mapping of \"8080:80\" publishes host port 8080 and sends incoming traffic to container port 80. The order follows host:container.
- Question 4Single Choice
Which one of the following descriptions accurately defines a container image in containerization platforms?
- AA read-only package containing application code, libraries, configuration, and runtime dependencies.Correct answer
- BA running process that consumes CPU and memory while executing the application.
- CA virtual network adapter used to expose services to external clients.
- DA host operating system profile used to tune kernel parameters.
Why this is the answer
A container image is an immutable artifact containing application code and runtime dependencies. Running processes, virtual network adapters, and kernel profiles do not define an image.
- Question 5Multiple Select
Which two benefits do containerized workloads typically deliver when compared with virtual machines? Select two.
- AContainers isolate application processes from one another on the same operating system.Correct answer
- BEach container includes its own complete kernel and device drivers.
- CContainers can start quickly and use fewer resources because they share the host kernel.Correct answer
- DContainers can run only when a dedicated hardware hypervisor is provisioned for them.
Why this is the answer
Containers rely on the host kernel and isolate application processes, making startup fast and resource use lower than virtual machines. Containers do not include a full guest OS or require a hypervisor.
- Question 6Interactive
According to the provided Kubernetes Deployment manifest, what number of pod replicas does the desired state declare?
- A1
- B2
- C3Correct answer
- D4
Why this is the answer
The Deployment manifest declares replicas: 3, so the Kubernetes controller continuously works to keep three Pods running.
- Question 7Single Choice
Which Oracle Cloud Infrastructure service is designed to store, tag, and share container images in a managed registry?
- AOCI RegistryCorrect answer
- BOCI Object Storage
- COCI Compute
- DOCI File Storage
Why this is the answer
OCI Registry is a managed Docker v2-compatible registry for storing and distributing container images. The other services do not act as container image registries.
- Question 8Multiple Select
Which two Oracle Cloud Infrastructure services are classified as container runtime environments for cloud native workloads? Select two.
- AContainer Engine for Kubernetes (OKE)Correct answer
- BContainer InstancesCorrect answer
- CObject Storage
- DVirtual Cloud Network
Why this is the answer
Container Engine for Kubernetes and Container Instances are compute services that run container workloads. Object Storage and Virtual Cloud Network do not execute containers.
- Question 9Interactive
Consider the docker run command shown in the snippet. Which outcome is produced when this command is executed?
- AThe container starts in detached mode, and host port 8080 is mapped to container port 80.Correct answer
- BThe container starts in the foreground, and host port 80 is mapped to container port 8080.
- CThe image named nginx is built locally and then pushed to the default container registry.
- DThe container runs briefly and is automatically deleted when the command exits.
Why this is the answer
The -d flag runs the container detached, and -p 8080:80 publishes host port 8080 and forwards to container port 80. No --rm flag means the container is not automatically removed.
- Question 10Single Choice
Which statement is a core characteristic of a microservice architecture used by cloud native applications?
- ABusiness capabilities are implemented as small services that can be decoupled and deployed independently.Correct answer
- BThe entire application is packaged into one binary and deployed as a single unit.
- CChanging one microservice requires all other microservices to stop in a coordinated release.
- DThe same codebase must always be shared to avoid version drift between capabilities.
Why this is the answer
Microservices split application features into small services that can change and deploy without coupling. Monolithic, synchronized, or shared-repo release models do not describe microservices.
- Question 11Multiple Select
Which two statements about Kubernetes Pods are correct when working with container orchestration? Select two.
- AA Pod is the smallest deployable unit that can be scheduled in Kubernetes.Correct answer
- BA Pod can contain one or more containers that share network and storage resources.Correct answer
- CA Pod replaces the container runtime on each worker node in a cluster.
- DA Pod is used primarily to store container images before they are scheduled.
Why this is the answer
A Pod is the smallest Kubernetes scheduling unit and can host one or more containers sharing the same network namespace and storage context. Pods do not replace runtimes or store images.
- Question 12Interactive
Using the Kubernetes Service manifest above, which port should the Service target on the selected Pods to reach the application?
- A80
- B8080Correct answer
- C443
- D3000
Why this is the answer
The Service listens on port 80 and sets targetPort: 8080, so it forwards traffic to the application port exposed by the Pod.
- Question 13Single Choice
Which one of the following statements best defines containerization as applied to cloud native application delivery?
- APackaging an application with its dependencies so it runs consistently on different environments.Correct answer
- BProviding full hardware virtualization at the CPU and memory level in a hypervisor.
- CCompiling source code into an executable file that can be copied to any operating system.
- DRendering application logs to a standard output stream only for debugging.
Why this is the answer
Containerization wraps code and dependencies into a portable executable container. It is different from full hardware virtualization, native compilation, or simple log processing.
- Question 14Multiple Select
Which two practices are generally accepted as core cloud native application delivery techniques in modern platforms? Select two.
- ADeclaratively provisioning infrastructure with automated infrastructure-as-code templates.Correct answer
- BUsing continuous integration and continuous delivery to move software through environments.Correct answer
- CManually applying security patches by connecting to each server whenever a new CVE appears.
- DPlanning a single major release each year with no incremental feedback.
Why this is the answer
Cloud native teams automate infrastructure through declarative infrastructure-as-code and ship value continuously with CI/CD. Manual patching and infrequent annual releases are legacy practices.
Cloud Native Fundamentals
5 questions in this domain
- Question 15Single Choice
In modern application architecture, what does the term cloud native fundamentally represent in the software delivery model?
- ARunning applications with automation and cloud scalabilityCorrect answer
- BInstalling applications directly on physical servers
- CKeeping all workloads in a legacy mainframe
- DServing applications only from static media players
Why this is the answer
Cloud native is an approach for building and running applications that exploits automation, dynamic scaling, and resilient cloud services rather than fixed physical infrastructure.
- Question 16Multiple Select
When adopting cloud native patterns, which two practices are normally associated with application architecture and packaging?
- AOne large monolith deployed annually
- BMicroservices exposed through well-defined APIsCorrect answer
- CPortable containers used as the deployment unitCorrect answer
- DManual setup repeated on each server
Why this is the answer
Cloud native systems commonly use microservices and containerized deployment units to improve composability, resilience, and operational automation.
- Question 17Interactive
Inspect the supplied application descriptor. Which cloud native practice does this artifact primarily automate or enable?
- ADeclarative container orchestrationCorrect answer
- BSynchronous mainframe scheduling
- CLocal printer queue management
- DManual patch installation
Why this is the answer
A manifest is a declarative infrastructure description; using it allows container orchestrators to reconcile live workloads automatically.
- Question 18Single Choice
Which important characteristic makes containers a common foundation for cloud native applications in development and production environments?
- AThey include app code and runtime dependenciesCorrect answer
- BThey require a full operating system per workload
- CThey depend on a fixed network rack
- DThey replace the need for application configuration
Why this is the answer
Containers hide differences in operating systems and runtimes; application code and its dependencies ship together, making the workload portable and repeatable.
- Question 19Multiple Select
Select the two operational practices that typically strengthen resilience for cloud native applications running in dynamic infrastructure.
- AUse immutable images and rolling updatesCorrect answer
- BAutomate health checks and failed-instance restartsCorrect answer
- CKeep instances pinned to one physical node
- DPerform weekly manual intervention for each instance
Why this is the answer
Immutable images keep deployments consistent; automated health checks and restarts let the system remove failed instances without manual intervention.
Leveraging Serverless Technologies
13 questions in this domain
- Question 20Single Choice
What term describes an application built as a collection of loosely coupled services running on managed cloud infrastructure?
- ACloud-nativeCorrect answer
- BTraditional monolith
- COn-premise legacy system
- DMainframe architecture
Why this is the answer
Cloud-native applications are built and run by exploiting managed cloud infrastructure, often as microservices, and do not require on-premise or mainframe deployment.
- Question 21Multiple Select
Which of the following are core characteristics of serverless computing?
- AAutomatic scalingCorrect answer
- BEvent-driven executionCorrect answer
- CBilling based on execution timeCorrect answer
- DPermanent dedicated servers
Why this is the answer
Serverless computing executes code only when events occur, scales automatically, and charges for actual execution. It does not require permanently assigned servers.
- Question 22Interactive
The code block reacts to which type of event?
- AObject creation in Object StorageCorrect answer
- BObject deletion from Object Storage
- CCompute instance launch
- DFunction deployment completion
Why this is the answer
The handler checks for the createobject event and returns a message containing the new object name, indicating an object creation event.
- Question 23Single Choice
Which metric determines cost in an event-driven serverless compute service?
- ANumber of invocations and execution timeCorrect answer
- BNumber of always-on virtual machines
- CTotal storage provisioned for the account
- DTime spent waiting for new events
Why this is the answer
Serverless billing is based on actual use, typically measured by how often the function is called and how long the function runs.
- Question 24Multiple Select
Which benefits are provided by using a serverless platform?
- AFrees developers from managing hardware and operating systemsCorrect answer
- BProvides automatic high availability through scalingCorrect answer
- CLets applications react immediately to eventsCorrect answer
- DRequires long-term committed capacity
Why this is the answer
A serverless platform removes infrastructure management, auto scales, and reacts to events. It does not require long-term capacity commitments.
- Question 25Interactive
What action is represented by the JSON event in the code block?
- AObject deletion from Object StorageCorrect answer
- BObject upload to Object Storage
- CCompute instance stop
- DDatabase export launch
Why this is the answer
The eventType contains com.oraclecloud.objectstorage.deleteobject, which clearly indicates that an object was deleted from Object Storage.
- Question 26Single Choice
What best describes Function-as-a-Service execution?
- ACode packages executed in response to events on a managed platformCorrect answer
- BA suite of long-running virtual machines
- CAn application server that must be patched by the user
- DA database-as-a-service offering
Why this is the answer
FaaS runs code only when triggered by an event and removes the need for users to provision or operate servers.
- Question 27Multiple Select
Which practices are appropriate when developing serverless functions?
- AKeep functions statelessCorrect answer
- BStore persistent data outside the functionCorrect answer
- CUse environment variables or configuration servicesCorrect answer
- DRely on the local disk for durable state
Why this is the answer
Serverless functions should be stateless, store durable data in managed services, and read configuration from external sources instead of depending on local storage.
- Question 28Interactive
Which runtime is selected by the function deployment configuration in the code block?
- AGoCorrect answer
- BPython
- CJava
- DNode.js
Why this is the answer
The deployment metadata contains runtime: go, so the function is configured to execute in a Go environment.
- Question 29Single Choice
What happens when a serverless platform performs automatic scaling?
- AMore function instances are created as demand increasesCorrect answer
- BDevelopers must manually add compute capacity
- CFunction instances remain stopped during traffic spikes
- DThe application must be redeployed to handle more users
Why this is the answer
Automatic scaling creates additional function instances when demand rises and removes them when demand falls, without developer intervention.
- Question 30Multiple Select
Which statements reflect cloud-native architecture principles?
- AApplications are built from small independent servicesCorrect answer
- BInfrastructure and deployments are automatedCorrect answer
- CInterfaces are exposed through declarative APIsCorrect answer
- DCapacity is calculated and provisioned manually
Why this is the answer
Cloud-native principles include microservices, automation, and declarative APIs. Manual provisioning is not considered a cloud-native best practice.
- Question 31Interactive
Which language is used to implement the serverless function handler shown in the code block?
- AJavaCorrect answer
- BGo
- CC#
- DPython
Why this is the answer
The code block uses a class and method structure with Java method syntax, so the function is written in Java.
- Question 32Single Choice
Why is serverless well matched to workloads that have unpredictable or occasional traffic?
- AResources are consumed only when functions are triggeredCorrect answer
- BResources are allocated continuously at full capacity
- CBilling is based on peak provisioned capacity
- DApplications cannot scale down to zero instances
Why this is the answer
Serverless consumes resources and incurs cost only while the function is executing, making it ideal for irregular workloads.
Monitoring and Troubleshooting
4 questions in this domain
- Question 33Single Choice
Which OCI service is designed to track numeric data points and raise alarms based on thresholds?
- AMonitoringCorrect answer
- BLogging
- CNotifications
- DFunctions
Why this is the answer
OCI Monitoring captures performance data and evaluates alarms when metric values match thresholds.
- Question 34Multiple Select
For a cloud native application, which three observability signals are essential for diagnosing performance and reliability issues?
- AMetricsCorrect answer
- BLogsCorrect answer
- CTracesCorrect answer
- DAlarms
Why this is the answer
Metrics, logs, and traces are the three pillars of observability; alarms are rule-based actions, not raw telemetry data.
- Question 35Interactive
The command shown in the code block is executed by a developer. Which OCI service is handling this request?
- AMonitoringCorrect answer
- BLogging
- CNotifications
- DFunctions
Why this is the answer
The 'oci monitoring metric list' command lists metric names and namespaces from the OCI Monitoring service.
- Question 36Single Choice
What is the main purpose of an OCI alarm when it is attached to a metric query?
- ANotify when the configured metric condition is metCorrect answer
- BStore metrics in the Logging service
- CAutomatically restart the compute instance
- DExport metrics to object storage
Why this is the answer
An alarm evaluates a metric query and sends notifications when the defined condition becomes true.
Testing and Securing Cloud Native Applications
5 questions in this domain
- Question 37Single Choice
Why is security testing an essential step in the cloud-native delivery pipeline?
- AIt detects vulnerabilities before productionCorrect answer
- BIt removes the need for runtime monitoring
- CIt makes APIs publicly accessible
- DIt guarantees releases are bug-free
Why this is the answer
Security testing in a cloud-native pipeline detects vulnerabilities before release. Runtime monitoring and other controls remain essential after deployment.
- Question 38Multiple Select
Which two practices are essential when securing cloud-native applications?
- AScan container images for vulnerabilitiesCorrect answer
- BUse a central secrets management serviceCorrect answer
- CEmbed credentials directly in source code
- DKeep every network port open
Why this is the answer
Scanning images and centralizing secret management prevent common cloud-native vulnerabilities. Hard-coded credentials and open ports expose applications to unnecessary risk.
- Question 39Interactive
Inspect the pipeline definition in the code block. What kind of automated validation runs before the final phase?
- AAutomated source, unit, and secret checksCorrect answer
- BManual confirmation by a manager
- CPenetration test on the live environment
- DDatabase migration validation after release
Why this is the answer
The code block includes an automated stage with static analysis, unit tests, and secret scanning before deployment, reducing common application and credential risks.
- Question 40Single Choice
What does immutable infrastructure mean in cloud-native application management?
- ADeploy new instances and delete old onesCorrect answer
- BPatch instances while they are running
- CEdit configuration files on live instances
- DRestart existing instances with the same image
Why this is the answer
Immutable infrastructure replaces running instances instead of modifying them, preventing configuration drift and enabling consistent rollbacks.
- Question 41Multiple Select
Which two OCI services help detect vulnerabilities or suspicious activity in cloud-native applications?
- AOCI Vulnerability Scanning ServiceCorrect answer
- BOCI Cloud GuardCorrect answer
- COCI Notifications
- DOCI Streaming
Why this is the answer
Vulnerability Scanning Service detects flaws, and Cloud Guard identifies risky configuration or threat activity. Notifications and Streaming do not perform security detection.
Frequently asked questions
Everything about the Oracle Cloud Infrastructure 2026 Developer Professional question bank and how to use it.