1Z0-1084-25 Sample Questions

1Z0-1084-25 Sample Questions & Answers

Draws on Docker and Kubernetes container orchestration running neck and neck with Oracle Functions, API Gateway and event-driven serverless design, plus cloud native fundamentals, testing and securing applications, and observability for troubleshooting.

Launch the full 1Z0-1084-25 simulator →

Showing 10 of 20 free samples.

  1. Question 1Intermediate

    Cloud Native Applications and Containerization · Explain docker and the concepts around its architecture and components

    A developer is writing a Dockerfile for a Java application. To minimize the final image size and improve security, they want to build the application using a full JDK image and then copy only the resulting JAR file into a lightweight JRE-only image for production. Which Docker feature enables this process within a single Dockerfile?

    Show answer & explanation

    Correct answer: B

    Multi-stage builds are a Docker feature designed for this exact purpose. They allow you to use multiple FROM instructions in a single Dockerfile. Each FROM instruction begins a new build stage. You can selectively copy artifacts from one stage to another, leaving behind everything you don't want in the final image, such as build tools and intermediate files.

  2. Question 2Intermediate

    Leveraging Serverless Technologies for Cloud Native Development · Develop Serverless Application with Oracle Functions

    A team is designing an OCI Function that will be triggered by an HTTP request via an API Gateway. The function needs to perform a long-running data processing task that can take up to 10 minutes. What is a critical consideration for this design?

    Show answer & explanation

    Correct answer: A

    OCI Functions have a maximum execution timeout of 300 seconds (5 minutes). A task that takes 10 minutes will always fail. The correct architectural pattern is to have the initial HTTP-triggered function accept the request, place the task details onto a queue (like OCI Queue), and return an immediate '202 Accepted' response. A separate, asynchronously triggered function (or another worker process) would then consume from the queue to perform the long-running task.

  3. Question 3Intermediate

    Cloud Native Applications and Containerization · Use OCIR to pull and push container images

    A developer needs to create a CI/CD pipeline that automatically builds a Docker image from source code in a Git repository and pushes the new image to Oracle Cloud Infrastructure Registry (OCIR). Which command is used to upload the locally built and tagged image my-app:v1.1 to a repository in the us-ashburn-1 region for the tenancy mytenancy?

    Show answer & explanation

    Correct answer: B

    The correct command is docker push. To push to OCIR, the image must first be tagged with the fully qualified repository name, which follows the format .ocir.io/ / :. Assuming the image was correctly tagged (e.g., docker tag my-app:v1.1 iad.ocir.io/mytenancy/my-app:v1.1), this docker push command will upload it to the specified OCIR repository. iad is the region key for us-ashburn-1.

  4. Question 4Intermediate

    Leveraging Serverless Technologies for Cloud Native Development · Build events-driven serverless applications using OCI event service

    A retail company is building a serverless application to process new inventory updates. Whenever a JSON file is uploaded to a specific OCI Object Storage bucket, an OCI Function must be triggered to parse the file and update a database. What is the most direct and efficient way to configure this trigger mechanism?

    Show answer & explanation

    Correct answer: B

    OCI Events Service is designed for this exact use case. It allows you to create rules that respond to state changes in OCI resources. By creating a rule that filters for the 'Object - Create' event in the specified compartment and bucket, and setting the action to invoke an OCI Function, you create a fully managed, event-driven, and efficient pipeline without any custom polling or intermediate services.

  5. Question 5Intermediate

    Monitoring & Troubleshooting Cloud Native Applications · Perform Tasks around Monitoring, Logging, and Tracing

    A developer is troubleshooting a failing pod in an OKE cluster. The pod's status is CrashLoopBackOff. The developer has already checked the application configuration and resource limits, which appear correct. What is the most effective kubectl command to get detailed information about why the container inside the pod is failing to start?

    Show answer & explanation

    Correct answer: C

    The kubectl logs command fetches the logs from the standard output and standard error streams of the container(s) within the pod. For a CrashLoopBackOff error, this is the most direct way to see the application's error messages or stack traces that are causing it to exit prematurely. kubectl describe is useful for viewing events and configuration, but the application's specific error will be in its logs.

  6. Question 6Intermediate

    Cloud Native Fundamentals · Explain the microservices architecture and discuss the design methodology of microservices

    When designing a resilient microservices architecture, a key principle is to prevent failures in one service from cascading to others. One common pattern is to stop making requests to a service that is known to be failing. What is this design pattern called?

    Show answer & explanation

    Correct answer: C

    The Circuit Breaker pattern is a resiliency mechanism that monitors for failures. When the number of failures reaches a certain threshold, the circuit breaker 'trips' or 'opens', and for a configured duration, all further calls to that service fail immediately without being attempted. After the timeout, the circuit breaker allows a limited number of test requests to pass through. If those succeed, it 'closes' the circuit and resumes normal operation. This prevents a client from repeatedly trying to call a failing service, which can exhaust resources and cause cascading failures.

  7. Question 7Advanced

    Testing and Securing Cloud Native Applications · Analyze and evaluate cloud native testing methodologies and develop effective strategies for testing cloud native applications

    A software development team uses contract testing to validate the interactions between their microservices. What is the primary goal of contract testing in a cloud-native environment?

    Show answer & explanation

    Correct answer: B

    The primary goal of contract testing is to verify that two separate systems (like a consumer and a provider microservice) are compatible and can communicate with each other. It captures the interactions in a 'contract' that is tested against each service independently. This allows teams to detect integration issues early in their respective CI/CD pipelines without needing to deploy and run a full, complex end-to-end integration test environment.

  8. Question 8Advanced

    Leveraging Serverless Technologies for Cloud Native Development · Create API gateways to process traffic from API clients and route it to back-end services

    A developer is configuring an OCI API Gateway deployment. They need to ensure that requests from a specific legacy client, which cannot set the proper Authorization header, are still authenticated. The legacy client sends its API key in a custom header called X-API-Key. How can the developer configure the API Gateway to handle this authentication requirement?

    Show answer & explanation

    Correct answer: B

    For custom authentication logic, such as validating a key from a non-standard header, the correct approach is to use a custom authorizer function. This involves creating an OCI Function that receives request context (including headers), performs the validation logic against a database or vault, and returns a JSON response indicating whether the request is authenticated and authorized. This provides maximum flexibility for non-standard authentication schemes.

  9. Question 9Advanced

    Leveraging Serverless Technologies for Cloud Native Development · Facilitate Asynchronous Messaging for Microservices with OCI Queue

    A media processing company has a workflow where large video files are uploaded and need to be processed by a series of microservices for transcoding, watermarking, and packaging. The processing for a single video can take over 30 minutes. The services are decoupled and communicate asynchronously. Which OCI service is most appropriate for managing the state and orchestration of this long-running, multi-step workflow?

    Show answer & explanation

    Correct answer: B

    While OCI does not have a dedicated state machine service like AWS Step Functions, the most robust way to build this long-running workflow using the available serverless components is with OCI Queue. Each step of the workflow can be a microservice (or function) that consumes a task from an input queue. Upon completion, it places a message in the next service's input queue. This pattern, often called queue-based workflow or choreography, is highly resilient, scalable, and suitable for long-running processes, as it decouples the services and avoids timeout limitations of services like OCI Functions.

  10. Question 10Intermediate

    Monitoring & Troubleshooting Cloud Native Applications · Use OCI Logging service to enable, manage, and search logs

    A developer is using the OCI Logging service to collect custom application logs from a compute instance. They want to be able to search for logs based on specific fields within their JSON log entries, such as userId and transactionId. What must the developer do to enable this field-based searching capability?

    Show answer & explanation

    Correct answer: C

    OCI Logging automatically detects and parses log entries that are formatted as valid, single-line JSON objects. When it parses the JSON, it indexes the key-value pairs, allowing you to use them in search queries (e.g., where data.userId = '12345'). This practice is known as structured logging and is essential for effective log analysis in cloud environments.

Ready for the real thing?

The full 1Z0-1084-25 simulator has every exam-style question, timed mode, and instant scoring.