EX288 Sample Questions

EX288 Sample Questions & Answers

Free Red Hat Certified OpenShift Application Developer practice questions with worked answers and explanations. See how the ExamJungle simulator prepares you — then jump into the full test.

Launch the full EX288 simulator →

Showing 6 of 12 free samples.

  1. Question 1Beginner

    Deploy multi-container applications · Create and use Helm charts

    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?

    Show answer & explanation

    Correct answer: D

    The correct syntax for installing a local chart is helm install . The --namespace (or -n) flag targets the project/namespace, and --set overrides values in values.yaml.

  2. Question 2Intermediate

    Deploy multi-container applications · Customizing deployments with Kustomize

    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?

    Show answer & explanation

    Correct answer: B

    namePrefix adds prod- to every resource name. commonLabels adds env: prod to all resources and their selectors. Kustomize v5 marks commonLabels as deprecated, but it still works. There is no prefix field.

  3. Question 3Beginner

    Work with configuration maps and secrets · Create secret resources

    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?

    Show answer & explanation

    Correct answer: C

    The oc create secret generic command creates a generic secret. The --from-file=key=path syntax allows you to map a specific key ('credentials') to the content of a local file ('db-creds.json').

  4. Question 4IntermediateSelect 2

    Work with build hooks and build triggers · Manage and trigger application builds

    A developer wants to trigger a new build of an application automatically whenever a code change is pushed to the master branch of a GitHub repository. The OpenShift cluster is accessible from the internet.

    Which TWO steps are required to achieve this? (Select TWO)

    Show answer & explanation

    Correct answers: B, E

    GitHub must know where to send push events. You add a webhook in the repository settings with the BuildConfig's payload URL. GitHub then calls that URL when code is pushed.

    A type: GitHub trigger makes the BuildConfig accept GitHub webhook calls. OpenShift then gives the BuildConfig a payload URL that includes the webhook secret.

  5. Question 5Advanced

    Work with templates · Add custom parameters to a template

    You are creating an OpenShift Template to deploy a database. You want the user to be able to provide a password when processing the template, but if they do not provide one, the template should automatically generate a random 12-character alphanumeric string.

    Which parameter definition correctly achieves this?

    Show answer & explanation

    Correct answer: D

    The generate: expression field in a template parameter allows OpenShift to generate a value based on a regular expression if the user does not supply one. The from field specifies the regex pattern (alphanumeric, 12 chars).

  6. Question 6Intermediate

    Work with container images in OpenShift Container Platform · Publish container images to a the OpenShift image registry

    A developer has pushed a Docker image to the internal OpenShift image registry in the project myproject. The image stream is named myapp and the tag is v1. You want to verify the image metadata and signature.

    Which command should you use to inspect the image details stored in the internal registry?

    Show answer & explanation

    Correct answer: B

    oc describe istag myapp:v1 shows the image behind that tag: its digest, creation time, labels, environment and any signatures. oc get image needs an image digest, not a stream tag name.

Ready for the real thing?

The full EX288 simulator has every exam-style question, timed mode, and instant scoring.

Go to the EX288 simulator →