RedHat EX288 Practice Exams
Last updated on Oct 22,2026- Exam Code: EX288
- Exam Name: Red Hat Certified OpenShift Application Developer exam
- Certification Provider: RedHat
- Latest update: Oct 22,2026
Question #61
What resource in OpenShift stores user credentials securely?
- A . ConfigMaps
- B . Secrets
- C . Routes
- D . Pods
Correct Answer: B
B
Explanation:
Secrets store sensitive information like user credentials and API tokens securely, protecting them from unauthorized access.
B
Explanation:
Secrets store sensitive information like user credentials and API tokens securely, protecting them from unauthorized access.
Question #62
How do you retrieve logs for a running build in OpenShift?
- A . oc get build-logs
- B . oc describe build <name>
- C . oc logs build/<name>
- D . kubectl get build-logs
Correct Answer: C
C
Explanation:
The oc logs build/<name> command retrieves real-time logs for a running or completed build, aiding in troubleshooting and monitoring.
C
Explanation:
The oc logs build/<name> command retrieves real-time logs for a running or completed build, aiding in troubleshooting and monitoring.
Question #63
Which file in Git determines the commit message editor?
- A . .gitconfig
- B . .gitignore
- C . config.yml
- D . editor.config
Correct Answer: A
A
Explanation:
The .gitconfig file specifies Git configurations, including the default editor for commit messages, enhancing usability.
A
Explanation:
The .gitconfig file specifies Git configurations, including the default editor for commit messages, enhancing usability.
Question #64
Which configuration ensures a BuildConfig triggers a new build when an image stream updates?
- A . Webhook Trigger
- B . Image Change Trigger
- C . Binary Trigger
- D . Configuration Change Trigger
Correct Answer: B
B
Explanation:
Image Change Triggers monitor image streams and start new builds when an associated image is updated, ensuring consistency.
B
Explanation:
Image Change Triggers monitor image streams and start new builds when an associated image is updated, ensuring consistency.
Question #65
What command adds a liveness probe to an existing deployment in OpenShift?
- A . oc set probe <deployment> –liveness
- B . oc add probe <deployment> –liveness
- C . oc configure probe <deployment>
- D . oc set probe <deployment>
Correct Answer: A
A
Explanation:
The oc set probe command configures health probes, such as liveness probes, for an existing deployment in OpenShift to monitor application health.
A
Explanation:
The oc set probe command configures health probes, such as liveness probes, for an existing deployment in OpenShift to monitor application health.
Question #66
Which command lists all available builds in an OpenShift project?
- A . oc get builds
- B . oc describe builds
- C . oc list builds
- D . oc get imagestreams
Correct Answer: A
A
Explanation:
The oc get builds command lists all builds in the current OpenShift project, including their statuses and configurations.
A
Explanation:
The oc get builds command lists all builds in the current OpenShift project, including their statuses and configurations.
Question #67
What is the role of the oc tag command in OpenShift?
- A . To tag an image stream for deployment
- B . To create a new image stream
- C . To add metadata to a container image
- D . To configure image registry authentication
Correct Answer: A
A
Explanation:
The oc tag command tags an image stream for deployment or builds, enabling version tracking and consistent image updates.
A
Explanation:
The oc tag command tags an image stream for deployment or builds, enabling version tracking and consistent image updates.
Question #68
Which probe type determines whether a pod is ready to accept traffic?
- A . Liveness Probe
- B . Readiness Probe
- C . Startup Probe
- D . Resource Probe
Correct Answer: B
B
Explanation:
A Readiness Probe ensures the pod is ready to accept traffic by monitoring application status, allowing traffic routing only when the application is operational.
B
Explanation:
A Readiness Probe ensures the pod is ready to accept traffic by monitoring application status, allowing traffic routing only when the application is operational.
Question #69
How do you ensure that a build configuration uses the latest version of a base image? (Choose two.)
- A . Enable Image Change Triggers in the BuildConfig
- B . Set the latest tag in the from field of the build strategy
- C . Manually rebuild the image
- D . Use a webhook to trigger updates
Correct Answer: A, B
A, B
Explanation:
Enabling Image Change Triggers and specifying the latest tag ensures the BuildConfig uses the most recent version of the base image.
A, B
Explanation:
Enabling Image Change Triggers and specifying the latest tag ensures the BuildConfig uses the most recent version of the base image.
Question #70
What does the oc adm prune builds command do?
- A . Deletes failed builds
- B . Removes old builds based on retention policies
- C . Prunes unused image streams
- D . Cleans up build configurations
Correct Answer: B
B
Explanation:
The oc adm prune builds command removes old or unused builds according to retention policies, optimizing resource usage.
B
Explanation:
The oc adm prune builds command removes old or unused builds according to retention policies, optimizing resource usage.