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.
- 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 thefrontendproject with the release nameweb-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--setoverrides values invalues.yaml. - Question 2Intermediate
Deploy multi-container applications · Customizing deployments with Kustomize
You are managing a microservices application using Kustomize. You have a
basedirectory containing the common resources and anoverlays/proddirectory for production-specific changes. You want to add a prefixprod-to all resources deployed from the production overlay and apply a common labelenv: prod.Which fields should you add to the
kustomization.yamlfile in theoverlays/proddirectory?Show answer & explanation
Correct answer: C
In Kustomize,
namePrefixprepends a string to the names of all resources, andcommonLabelsadds labels to all resources and selectors. This is the standard way to differentiate environments in an overlay. - Question 3Beginner
Work with configuration maps · Create secret resources
You need to create a Kubernetes Secret from a local file named
db-creds.jsonto be used by a Pod. The key in the secret should becredentials.Which command will create this secret in the current project?
Show answer & explanation
Correct answer: D
The
oc create secret genericcommand creates a generic secret. The--from-file=key=pathsyntax allows you to map a specific key ('credentials') to the content of a local file ('db-creds.json'). - Question 4IntermediateSelect 2
Work with hooks and 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: A, D
You must configure the
BuildConfigto accept a webhook. This provides a secret and a URL.GitHub needs to know where to send the event. You copy the payload URL from OpenShift and paste it into the GitHub repository settings.
- 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: expressionfield in a template parameter allows OpenShift to generate a value based on a regular expression if the user does not supply one. Thefromfield specifies the regex pattern (alphanumeric, 12 chars). - 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 namedmyappand the tag isv1. 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
The
oc describe istag(orImageStreamTag) command retrieves detailed metadata about a specific tag in an image stream, including the image digest, creation time, and Docker metadata managed by the internal registry.
Ready for the real thing?
The full EX288 simulator has every exam-style question, timed mode, and instant scoring.