ExamDumpster

Free EX288 sample questions

Real questions from the Red Hat Certified OpenShift Application Developer practice bank, with the correct answer and an explanation for each one. No junk, no filler.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 6 of 12 free sample questions.

Question 1Choose one

You are configuring a Red Hat OpenShift Pipeline (Tekton) to build and deploy a Java application. The pipeline consists of two tasks: `build-app` (which compiles the code using Maven) and `build-image` (which uses Buildah to create a container image). The `build-app` task produces a JAR file that the `build-image` task requires. However, the `build-image` task fails immediately, stating the JAR file cannot be found. You have verified the JAR is successfully created in the first task. Which configuration is required to persist and share files between these two tasks?

Question 2Choose one

A developer is customizing a Source-to-Image (S2I) build for a Python application. The application requires a specific configuration file to be generated dynamically based on environment variables *before* the application starts, but *after* the dependencies are installed. The developer decides to provide a custom S2I script in the source repository. Which script must the developer create, and where should it be placed in the source code repository to override the default behavior?

Question 3Choose one

You are deploying a legacy Java application that takes approximately 90 seconds to initialize and accept connections. You configure a Liveness probe to check the endpoint `/healthz` every 10 seconds. During deployment, you observe that the Pod enters a `CrashLoopBackOff` state because the Liveness probe fails before the application is ready. Which configuration change is the BEST practice to resolve this issue without compromising the ongoing failure detection capability?

Question 4Choose one

A developer needs to deploy an application to OpenShift using a Helm chart. The chart is stored in a local directory named `./my-chart`. The developer wants to install the chart into the `frontend` project with the release name `web-ui`, setting the replica count to 3 via the command line. Which command achieves this?

Question 5Choose one

You are managing a microservices application using Kustomize. You have a `base` directory containing the common resources and an `overlays/prod` directory for production-specific changes. You want to add a prefix `prod-` to all resources deployed from the production overlay and apply a common label `env: prod`. Which fields should you add to the `kustomization.yaml` file in the `overlays/prod` directory?

Question 6Choose one

You need to create a Kubernetes Secret from a local file named `db-creds.json` to be used by a Pod. The key in the secret should be `credentials`. Which command will create this secret in the current project?

6 more free samples are waiting

Create a free account to unlock the whole EX288 sample bank, or get full access to all 120 practice questions in the simulator.

Create account