RedHat EX288 Practice Exams
Last updated on Oct 21,2026- Exam Code: EX288
- Exam Name: Red Hat Certified OpenShift Application Developer exam
- Certification Provider: RedHat
- Latest update: Oct 21,2026
Question #21
Which configuration file in Git specifies repository-level settings?
- A . .gitignore
- B . .gitconfig
- C . .gitsettings
- D . config.yml
Correct Answer: B
B
Explanation:
The .gitconfig file stores repository-level settings, including user information and aliases, to manage Git configurations effectively.
B
Explanation:
The .gitconfig file stores repository-level settings, including user information and aliases, to manage Git configurations effectively.
Question #22
Which build strategy is ideal for customizing the build process in OpenShift?
- A . Docker Build
- B . Binary Build
- C . Source-to-Image Build
- D . Custom Build
Correct Answer: D
D
Explanation:
Custom Build strategies allow users to define and execute tailored build processes, making them suitable for non-standard workflows.
D
Explanation:
Custom Build strategies allow users to define and execute tailored build processes, making them suitable for non-standard workflows.
Question #23
What command is used to delete a project in OpenShift?
- A . oc delete project <name>
- B . oc remove project <name>
- C . oc delete ns <name>
- D . kubectl delete namespace <name>
Correct Answer: A
A
Explanation:
The oc delete project command removes a project and all its associated resources, ensuring a clean deletion in OpenShift.
A
Explanation:
The oc delete project command removes a project and all its associated resources, ensuring a clean deletion in OpenShift.
Question #24
Which build trigger type is used to start a build when a new commit is pushed to a repository?
- A . Image Change
- B . Webhook
- C . Manual
- D . Configuration Change
Correct Answer: B
B
Explanation:
Webhook triggers initiate a build when a new commit is pushed to a configured repository, ensuring the image stays up-to-date with source code changes.
B
Explanation:
Webhook triggers initiate a build when a new commit is pushed to a configured repository, ensuring the image stays up-to-date with source code changes.
Question #25
What is the purpose of the OpenShift BuildConfig output field?
- A . To specify the output location for logs
- B . To define where the built image will be stored
- C . To configure deployment targets
- D . To set resource limits for the build
Correct Answer: B
B
Explanation:
The output field in a BuildConfig specifies the image stream or registry where the built image will be stored after the build.
B
Explanation:
The output field in a BuildConfig specifies the image stream or registry where the built image will be stored after the build.
Question #26
What does the Source-to-Image (S2I) build process in OpenShift do?
- A . Converts Kubernetes manifests into images
- B . Creates an image from source code and a builder image
- C . Configures resource limits for pods
- D . Automates application scaling
Correct Answer: B
B
Explanation:
S2I combines application source code with a builder image to create a runnable container image, simplifying image creation for developers.
B
Explanation:
S2I combines application source code with a builder image to create a runnable container image, simplifying image creation for developers.
Question #27
Which field in a build configuration defines the base image for a Docker build?
- A . spec.baseImage
- B . spec.strategy.dockerStrategy.from
- C . strategy.baseImage
- D . strategy.buildImage
Correct Answer: B
B
Explanation:
The spec.strategy.dockerStrategy.from field in a build configuration specifies the base image used during the Docker build process.
B
Explanation:
The spec.strategy.dockerStrategy.from field in a build configuration specifies the base image used during the Docker build process.
Question #28
How does Kustomize manage application configurations? (Choose two.)
- A . By layering configurations
- B . By applying patches to resources
- C . By using Helm templates
- D . By creating new resource objects
Correct Answer: A, B
A, B
Explanation:
Kustomize layers configurations and applies patches to Kubernetes resource files, enabling customizations without altering the original files.
A, B
Explanation:
Kustomize layers configurations and applies patches to Kubernetes resource files, enabling customizations without altering the original files.
Question #29
What feature of Helm ensures rollback capability during deployment failures?
- A . Helm hooks
- B . Release history
- C . Chart dependencies
- D . Template rendering
Correct Answer: B
B
Explanation:
Helm maintains a release history for each deployment, enabling rollbacks to a previous state in case of
deployment failures.
B
Explanation:
Helm maintains a release history for each deployment, enabling rollbacks to a previous state in case of
deployment failures.
Question #30
Which command logs in to the OpenShift internal registry for pushing images?
- A . oc registry login
- B . oc login –registry
- C . podman login
- D . docker login
Correct Answer: C
C
Explanation:
The podman login command logs in to the OpenShift internal registry when authentication credentials are properly configured.
C
Explanation:
The podman login command logs in to the OpenShift internal registry when authentication credentials are properly configured.