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 #1
Which command validates a Helm chart before deployment?
- A . helm lint <chart>
- B . helm test <chart>
- C . helm verify <chart>
- D . helm check <chart>
Correct Answer: A
A
Explanation:
The helm lint command validates a Helm chart, checking its syntax and structure for errors before deployment.
A
Explanation:
The helm lint command validates a Helm chart, checking its syntax and structure for errors before deployment.
Question #2
How can you ensure traffic is directed only to healthy pods in OpenShift?
- A . Use Readiness Probes
- B . Use Liveness Probes
- C . Use Horizontal Pod Autoscaler
- D . Use PodAntiAffinity
Correct Answer: A
A
Explanation:
Readiness probes ensure traffic is directed only to healthy pods by marking pods as ready or unready based on their status.
A
Explanation:
Readiness probes ensure traffic is directed only to healthy pods by marking pods as ready or unready based on their status.
Question #3
Which build strategy is used to create an image from a pre-built base image in OpenShift?
- A . Docker Build
- B . Source-to-Image (S2I)
- C . Binary Build
- D . Custom Build
Correct Answer: A
A
Explanation:
The Docker Build strategy uses a Dockerfile to create a container image from a pre-built base image, offering flexibility and control.
A
Explanation:
The Docker Build strategy uses a Dockerfile to create a container image from a pre-built base image, offering flexibility and control.
Question #4
What is the purpose of the Dockerfile in creating a container image?
- A . To define the environment variables for Kubernetes pods
- B . To specify the instructions for building the image
- C . To configure the runtime of the container
- D . To set up OpenShift image streams
Correct Answer: B
B
Explanation:
A Dockerfile specifies instructions for building a container image, including base images, dependencies, and runtime configurations.
B
Explanation:
A Dockerfile specifies instructions for building a container image, including base images, dependencies, and runtime configurations.
Question #5
How can you set a specific project as the default for your oc commands?
- A . Use oc use-project <name>
- B . Use oc set project <name>
- C . Use oc project <name>
- D . Use oc config set-context
Correct Answer: C
C
Explanation:
The oc project <name> command switches the current context to the specified project and makes it the default for subsequent oc commands.
C
Explanation:
The oc project <name> command switches the current context to the specified project and makes it the default for subsequent oc commands.
Question #6
Which of the following commands lists all projects a user has access to?
- A . oc get projects
- B . oc get namespaces
- C . oc projects
- D . kubectl get namespaces
Correct Answer: C
C
Explanation:
The oc projects command lists all projects accessible to the user, making it easier to navigate between OpenShift projects.
C
Explanation:
The oc projects command lists all projects accessible to the user, making it easier to navigate between OpenShift projects.
Question #7
What file in a Helm chart defines its metadata, such as name and version?
- A . Chart.yaml
- B . metadata.yaml
- C . config.yaml
- D . chart-info.yaml
Correct Answer: A
A
Explanation:
The Chart.yaml file defines metadata about a Helm chart, including its name, version, and description, for proper versioning and documentation.
A
Explanation:
The Chart.yaml file defines metadata about a Helm chart, including its name, version, and description, for proper versioning and documentation.
Question #8
What is the primary purpose of the .gitignore file in Git?
- A . To prevent untracked files from being deleted
- B . To ignore specific files from being added to a repository
- C . To restrict access to the repository
- D . To track changes to ignored files
Correct Answer: B
B
Explanation:
The .gitignore file specifies patterns for files that should not be added to the repository, keeping irrelevant or sensitive data out of version control.
B
Explanation:
The .gitignore file specifies patterns for files that should not be added to the repository, keeping irrelevant or sensitive data out of version control.
Question #9
What OpenShift resource enables secure access to private container images?
- A . Secrets
- B . ConfigMaps
- C . ServiceAccounts
- D . Routes
Correct Answer: A
A
Explanation:
Secrets store credentials required for accessing private container images, ensuring secure integration with image registries.
A
Explanation:
Secrets store credentials required for accessing private container images, ensuring secure integration with image registries.
Question #10
How does Helm handle chart dependencies?
- A . By using a requirements.yaml file
- B . By specifying dependencies in Chart.yaml
- C . By linking charts in values.yaml
- D . By creating dependencies in the templates/ directory
Correct Answer: A
A
Explanation:
Helm manages chart dependencies through a requirements.yaml file, specifying other charts that must be deployed with the main chart.
A
Explanation:
Helm manages chart dependencies through a requirements.yaml file, specifying other charts that must be deployed with the main chart.