Home / Oracle Cloud Infrastructure 2024 Developer Professional (1Z0-1084-24) / Mock exam
Oracle Cloud Infrastructure 2024 Developer Professional (1Z0-1084-24) Exam-style mock test

Oracle OCI Developer Professional (1Z0-1084) Practice Exams|Practice test

Full explanations Exam format Pass line 65%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A B2B SaaS company runs a nightly batch job that converts tenant invoice data into PDF reports. The job is containerized, runs for about 20 minutes, needs no load balancing or service discovery, and should not require the team to patch or manage any worker nodes. Which OCI compute option best fits this workload?
・Oracle Container Engine for Kubernetes (OKE) with a managed node pool scaled to a single worker node
Incorrect. A full OKE cluster with a managed node pool still requires the team to own and patch worker nodes, which is unnecessary overhead for a short standalone batch job.
✓OCI Container Instances, which runs the container directly on serverless compute without cluster management
Correct. Container Instances runs a container serverlessly with no cluster or node management, which fits a short-lived batch job that needs no orchestration features.
・A Compute instance where the team installs Docker and manually schedules the container with cron
Incorrect. A self-managed Compute instance with Docker and cron forces the team to patch the OS and runtime, the exact operational burden the requirement rules out.
・OKE with virtual nodes attached to an existing cluster running the company's other microservices
Incorrect. OKE virtual nodes still require an existing Kubernetes cluster and orchestration layer that this simple, isolated batch job does not need.
Explanation
Container Instances is purpose-built for running single containers or container groups serverlessly, ideal for short-lived, isolated jobs that do not need Kubernetes orchestration or node management.
Example2 · Serverless with OCI Functions and API Gateway
A B2B SaaS company runs an image-thumbnail routine as an OCI Function that is triggered only a few times per hour during business hours. The platform team wants to confirm how billing behaves for this workload. Which statement best describes the OCI Functions billing and execution model?
✓You are billed only while a function invocation is actively running, and idle functions that receive no requests incur no execution charges
Correct. OCI Functions is serverless and billed per invocation based on execution time and allocated memory, so a function that is idle and receives no requests generates no execution charges.
・You are billed for a continuously reserved compute instance that stays provisioned for the function regardless of how many invocations occur during the hour
Incorrect. Functions does not keep a dedicated compute instance reserved; containers are spun up on demand and torn down, which is why idle functions cost nothing.
・You pre-purchase a fixed monthly block of invocations and any unused invocations in that block are carried forward to the next billing period automatically
Incorrect. There is no pre-purchased block of invocations with rollover; billing is consumption-based on actual execution.
・You are billed a flat daily rate per deployed function plus the networking egress generated by each container image pull from the registry
Incorrect. There is no flat daily per-function charge; cost is driven by invocation count, duration, and memory, not a daily rate tied to image pulls.
Explanation
OCI Functions follows a pay-per-use, event-driven serverless model: you are charged for the resources consumed during actual invocations, so infrequently called functions remain inexpensive and idle functions cost nothing.
Example3 · Developing with OCI Services (Streaming, Queue, Events, Notifications)
A B2B SaaS analytics platform ingests clickstream events from thousands of tenant websites into a single OCI Streaming stream. Each tenant's events must be processed in the exact order they were produced, but events from different tenants can be processed independently and in parallel. How should the development team publish messages to preserve per-tenant ordering while maximizing throughput?
・Enable stream compaction so that only the latest event per tenant is retained and processed
Incorrect. Compaction removes older records per key and would discard events the platform needs to process in order, not preserve ordering.
✓Set the message key to the tenant ID so events for a tenant always map to the same partition
Correct. OCI Streaming guarantees ordering only within a partition, and messages sharing a key are routed to the same partition, so keying by tenant ID preserves per-tenant order while other tenants spread across partitions.
・Publish every event without a key and rely on the consumer to re-sort by tenant
Incorrect. Without a key, events are distributed round-robin across partitions, so a tenant's events can land on different partitions and lose ordering.
・Create one dedicated single-partition stream per tenant and merge the consumers downstream
Incorrect. A stream per tenant for thousands of tenants is operationally unscalable and unnecessary when partition keying already provides the ordering guarantee.
Explanation
Ordering in OCI Streaming is per-partition. Using the tenant ID as the message key hashes all of a tenant's events to one partition for ordering while allowing different tenants to be spread across partitions for parallel throughput.
Example4 · Observability, Resource Manager, and DevOps CI/CD
A healthcare services firm runs a patient-intake microservice on OKE and wants its stdout/stderr container logs collected into OCI Logging so analysts can search them centrally. The team does not want to deploy or manage any log-forwarding sidecar container. Which approach lets them achieve this with the least operational overhead?
・Install and configure a Fluentd sidecar in each pod that streams container output to the Logging ingestion API endpoint
Incorrect. A Fluentd sidecar is exactly the self-managed forwarder the team wants to avoid, adding a container to every pod.
✓Enable a Custom Log with the OCI unified monitoring agent configured to tail the container log files on the nodes
Correct. A Custom Log backed by the OCI monitoring (unified) agent can tail log files on the worker nodes and ship them to Logging without any per-pod sidecar.
・Write application code that calls the Logging ingestion REST API directly for every log line the service emits
Incorrect. Embedding direct ingestion API calls in application code couples logging to the app and adds failure handling the team must maintain.
・Export the container output to Object Storage and schedule a Functions job to parse and republish it into Logging
Incorrect. Round-tripping through Object Storage plus a Functions parser is a heavy, latency-prone pipeline for simple container log collection.
Explanation
Custom Logs with the OCI monitoring agent collect file-based or container logs from compute/OKE nodes into Logging with minimal operational burden, avoiding sidecars or custom ingestion code.
Example5 · Security, IAM, Secrets, and Application Performance
A healthcare services firm runs an OCI Function that must write de-identified patient records to an Object Storage bucket. The developer wants the function to authenticate to OCI without embedding any user credentials or API keys in the code or configuration. Which approach correctly grants this access?
・Store an IAM user's API signing key in a config file, mount it into the function, and let the function sign requests with that user's key on every invocation
Incorrect. Embedding a user's API signing key defeats the purpose of credential-free auth and creates a key that must be rotated and protected.
✓Create a dynamic group matching the function's OCID and write a policy allowing that dynamic group to manage objects in the bucket's compartment
Correct. Resource principals rely on a dynamic group that matches the function resource, plus a policy granting that dynamic group the needed permissions, so no stored credentials are required.
・Generate a long-lived auth token for a service account user and pass it to the function through a plaintext environment variable at deploy time
Incorrect. Auth tokens are user credentials that would still be embedded and must be rotated; resource principals avoid this entirely.
・Add the function's compartment to an IAM group of human developers and grant that group manage permissions on the Object Storage service
Incorrect. IAM groups are for human users and identities, not for making a function resource itself a principal.
Explanation
Functions use the resource principal provider, which authenticates the function as an OCI resource. A dynamic group matches the function by OCID and a policy grants the dynamic group permissions, eliminating stored credentials.
Example6 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A healthcare services firm is migrating its patient-scheduling microservices to OCI and wants a managed service that provisions and operates the Kubernetes control plane for them while letting their team focus on the application workloads. Which OCI service meets this need?
✓Oracle Container Engine for Kubernetes (OKE), which hosts and manages the Kubernetes control plane while you run your worker nodes and workloads
Correct. OKE is OCI's managed Kubernetes service: Oracle operates the control plane while the customer deploys and scales workloads on worker nodes.
・OCI Container Instances
Incorrect. Container Instances runs individual containers serverlessly and does not provide a Kubernetes control plane or orchestration.
・OCI Functions
Incorrect. OCI Functions is a serverless FaaS platform for event-driven code, not a container orchestration or Kubernetes service.
・OCI Resource Manager
Incorrect. Resource Manager is a Terraform-based infrastructure provisioning service, not a container or Kubernetes runtime.
Explanation
OKE is the managed Kubernetes offering where Oracle runs the control plane and the customer focuses on workloads, which matches the firm's requirement.
Example7 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
The platform team at UrbanThread, a fashion retail brand, runs its storefront on an OKE cluster that uses managed node pools. During a planning review, an engineer asks which parts of the cluster OCI operates and which parts the team must operate themselves. How should you describe the managed node pool model?
・OCI fully manages both the control plane and the worker nodes, so UrbanThread does not patch or scale anything except the application pods running on the cluster
Incorrect. With managed node pools, OCI does not patch or manage the worker nodes automatically beyond the control plane; the team still owns node lifecycle tasks.
✓OCI manages the control plane while the team is responsible for the worker node lifecycle, including patching, scaling, and health of the node pool
Correct. In managed node pools OCI runs and maintains the control plane, while the customer is responsible for provisioning, patching, and scaling the worker nodes.
・The team must deploy and operate the control plane components manually, while OCI only provisions the worker node compute instances for the pool
Incorrect. OCI always operates the Kubernetes control plane in OKE; customers never deploy control plane components manually.
・OCI manages the control plane and worker nodes, and the team only supplies the VCN and subnet configuration used by the node pool
Incorrect. OCI does not manage the worker node lifecycle in managed node pools; node patching and scaling remain the customer's responsibility.
Explanation
In OKE managed node pools, OCI operates the Kubernetes control plane, but the customer owns the worker node lifecycle such as image patching and scaling. Virtual node pools shift more node management to OCI, but managed node pools keep node operations with the customer.
Example8 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
UrbanThread wants to run bursty promotional-campaign microservices on OKE without having to patch, scale, or manage the underlying worker compute, and they are comfortable being billed per pod resource consumption. Which OKE node option best meets these requirements?
・A managed node pool configured with the cluster autoscaler so that nodes are added and removed automatically as campaign demand changes
Incorrect. The cluster autoscaler automates scaling but the team still owns node patching and node lifecycle, which the requirement explicitly wants to avoid.
✓A virtual node pool, where OCI manages the node compute and billing is based on the resources requested by the pods
Correct. Virtual nodes are a serverless experience where OCI manages the worker node infrastructure and billing is based on pod resource requests, matching the requirements.
・A self-managed node created from a custom compute instance that the team joins to the cluster manually for the campaign
Incorrect. Self-managed nodes require the team to build, join, and operate the compute, which is the opposite of offloading node management.
・A managed node pool using preemptible compute instances to lower cost while the team continues to handle node patching
Incorrect. Preemptible managed nodes reduce cost but still require the team to patch and manage nodes, not meeting the serverless requirement.
Explanation
Virtual nodes give an OKE serverless-style experience: OCI manages the underlying node compute and charges based on the resources requested by pods, which fits a team that does not want to patch or manage worker nodes.
Example9 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A UrbanThread data engineer needs to run a nightly inventory-reconciliation container that starts, processes a batch, and exits, with no need for Kubernetes service discovery, scaling, or orchestration. Which OCI service is the most appropriate and lowest-overhead choice?
・OKE with a managed node pool and a Kubernetes Job object that schedules the reconciliation container each night and then terminates it
Incorrect. Running the job on OKE adds Kubernetes and node management overhead that is unnecessary for a single standalone batch container.
✓OCI Container Instances, which runs the containers directly without requiring a Kubernetes cluster or orchestration layer
Correct. Container Instances runs containers directly as a serverless offering with no Kubernetes cluster to manage, fitting a simple standalone batch workload.
・OCI Functions triggered on a schedule so the reconciliation logic runs as a short-lived serverless invocation each night
Incorrect. Functions is for event-driven code and imposes a different packaging and execution model, not a general container runtime for an existing image.
・A Compute instance with Docker installed where the team runs the reconciliation container through a scheduled cron job
Incorrect. A self-managed Compute instance with Docker adds OS patching and infrastructure overhead the team would rather avoid for a nightly batch.
Explanation
OCI Container Instances lets you run containers directly without provisioning or managing a Kubernetes cluster, making it ideal for standalone, short-lived, or batch workloads that do not need orchestration.
Example10 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A financial services firm needs to run a short-lived nightly batch job that reconciles transaction ledgers. The job runs for about 20 minutes, has no need for service discovery, scaling, or rolling updates, and the team wants to avoid managing any cluster. Which OCI service best fits this requirement?
✓OCI Container Instances, running the containerized batch job directly as a serverless instance without any orchestration layer to manage
Correct. Container Instances run containers serverlessly with no cluster or orchestration to manage, which suits a brief, self-contained batch job.
・OCI Kubernetes Engine (OKE) with a managed node pool and a CronJob resource
Incorrect. OKE still requires provisioning and operating a Kubernetes cluster, which is unnecessary overhead for a simple short-lived job.
・Oracle Container Engine running the job on a self-managed virtual node pool
Incorrect. This still involves OKE cluster management and node pools, contradicting the goal of avoiding cluster administration.
・OCI Functions triggered on a schedule to pull the container image
Incorrect. Functions execute code, not arbitrary long container images for a 20-minute batch, and have execution time limits.
Explanation
Container Instances provide a serverless way to run containers for short-lived tasks without managing a Kubernetes cluster or orchestration.
Example11 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A bank's platform team is designing an OKE cluster and wants Oracle to fully manage the underlying compute capacity so they never patch or scale worker nodes themselves. Which OKE feature should they choose?
・Managed node pools backed by compute instances that the team must manually patch and scale as workloads change over time
Incorrect. Managed node pools still require the customer to handle node scaling and OS patching responsibilities.
✓Virtual nodes, where Oracle manages the compute capacity and lifecycle of the nodes on the team's behalf
Correct. With virtual nodes, Oracle manages the compute capacity and node lifecycle, removing node patching and scaling duties from the team.
・Self-managed nodes added manually to the cluster
Incorrect. Self-managed nodes place the most operational burden on the customer, the opposite of what is wanted.
・Bare metal worker nodes attached to a managed node pool
Incorrect. Bare metal nodes increase, rather than remove, infrastructure management responsibilities for the team.
Explanation
OKE virtual nodes offer a serverless Kubernetes experience where Oracle handles node compute lifecycle, unlike managed node pools.
Example12 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A manufacturing distributor runs its order-intake microservices on an OKE cluster. The platform team wants worker nodes whose OS patching, scaling, and lifecycle Oracle helps manage, while they still retain SSH access and can customize the node image. Which OKE node type should they choose?
・Virtual nodes, because Oracle fully abstracts the underlying compute and the team never manages any node OS or instances at all
Incorrect. Virtual nodes offer a serverless experience where you do not manage the node OS, which contradicts the requirement for SSH access and image customization.
✓Managed nodes in a managed node pool, where the team controls the compute instances but OKE coordinates provisioning and upgrades
Correct. Managed node pools give the team control of the worker compute instances (SSH, custom images) while OKE coordinates provisioning, scaling, and upgrade operations.
・Self-managed nodes attached individually, where the team manually registers each bare metal instance to the cluster control plane
Incorrect. Self-managed nodes require manual registration and more operational overhead, not the Oracle-coordinated lifecycle the team wants.
・Preemptible-only nodes, where OCI reclaims capacity so the cluster must constantly recover running pods across zones
Incorrect. Preemptible nodes trade cost for interruption risk and do not describe the general managed lifecycle model the team is asking about.
Explanation
Managed node pools are the standard OKE option where customers own the worker instances but OKE automates provisioning, scaling, and coordinated upgrades, keeping SSH and custom-image flexibility.
Example13 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A distributor needs to run a short-lived nightly batch job that reconciles warehouse inventory, packaged as a single container image. The team wants to avoid provisioning or managing any Kubernetes cluster or servers just for this periodic workload. Which OCI service best fits?
・OKE with a dedicated autoscaling managed node pool reserved exclusively for the nightly reconciliation batch run
Incorrect. An OKE cluster with a reserved node pool adds Kubernetes management overhead that the team explicitly wants to avoid for a periodic job.
✓OCI Container Instances, which runs containers directly on serverless compute without a Kubernetes cluster
Correct. OCI Container Instances runs standalone containers on managed serverless infrastructure, ideal for short-lived or periodic workloads without any cluster to manage.
・A persistent bare metal compute instance running Docker Engine that stays powered on between the nightly batch jobs
Incorrect. A persistent bare metal instance running Docker keeps servers to patch and pay for and does not remove infrastructure management.
・OCI Functions triggered on a cron schedule to rebuild and redeploy the full Kubernetes cluster each night
Incorrect. Functions do not rebuild Kubernetes clusters, and this description misrepresents how Functions and OKE relate.
Explanation
Container Instances is purpose-built for running containers without managing a cluster, making it the right fit for short-lived or periodic batch workloads.
Example14 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
A telecom operator needs to run a short-lived batch job that reconciles nightly call-detail records. The job runs for about 20 minutes, needs no orchestration, auto-scaling, or service discovery, and the team wants to avoid managing any cluster. Which OCI compute option best fits this requirement?
・Provision a managed OKE cluster with a dedicated node pool and schedule the reconciliation as a Kubernetes CronJob on it
Incorrect. A full OKE cluster with a node pool reintroduces the cluster management overhead the team explicitly wants to avoid for a simple, non-orchestrated job.
✓Run the batch job as an OCI Container Instance
Correct. Container Instances run containers directly in a serverless fashion without any cluster, which is ideal for short-lived, standalone jobs that need no orchestration.
・Deploy the reconciliation container to an OKE virtual node pool backed by the virtual nodes feature
Incorrect. OKE virtual nodes still require a managed cluster and Kubernetes orchestration, which is unnecessary overhead for a single standalone batch job.
・Build a custom VM image containing the container runtime and launch a Compute instance each night
Incorrect. Building and maintaining a custom VM image plus a container runtime adds significant operational burden compared with a serverless container option.
Explanation
Container Instances provide serverless container execution without managing a cluster, making them the best fit for short-lived, standalone jobs that need no orchestration, scaling, or service discovery.
Example15 · Cloud Native Fundamentals and Containers (OKE, Container Instances)
The platform team at a telecom operator is evaluating Oracle Container Engine for Kubernetes (OKE). They want to understand who is responsible for the Kubernetes control plane components such as the API server and etcd. Which statement correctly describes the OKE responsibility model?
・The customer deploys and patches both the control plane nodes and the worker nodes using Terraform modules supplied by Oracle for every cluster
Incorrect. OKE does not require the customer to deploy and patch control plane nodes; Oracle operates the control plane as a managed service.
✓Oracle manages the Kubernetes control plane while the customer manages the worker nodes (for managed node pools)
Correct. In OKE, Oracle operates and maintains the Kubernetes control plane, and the customer is responsible for managed worker nodes in their node pools.
・Oracle manages the control plane and all worker nodes, leaving no node-level responsibility to the customer
Incorrect. With managed node pools the customer still owns worker node lifecycle tasks such as scaling and OS image updates; only virtual nodes shift more management to Oracle.
・The control plane is managed by the customer and only the worker nodes are managed by Oracle
Incorrect. This reverses the actual model; Oracle manages the control plane, not the customer.
Explanation
OKE is a managed Kubernetes service where Oracle runs the control plane and the customer manages worker nodes (in managed node pools), which reduces operational overhead while retaining node control.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)