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
How can you expose a deployment to external traffic using the oc command?
- A . oc expose service <name>
- B . oc expose pod <name>
- C . oc expose deployment <name>
- D . oc route add <name>
C
Explanation:
The oc expose deployment <name> command creates a service and optionally a route to expose the deployment to external traffic.
What is the purpose of the patchesStrategicMerge field in Kustomize?
- A . To apply selective updates to resources
- B . To merge ConfigMaps dynamically
- C . To generate new resources
- D . To transform Kubernetes objects
A
Explanation:
The patchesStrategicMerge field applies selective updates to existing Kubernetes resources, providing a flexible customization mechanism.
What is the purpose of the BuildConfig strategy field?
- A . To define the deployment strategy
- B . To specify the build strategy (e.g., S2I, Docker)
- C . To set resource limits for builds
- D . To configure post-build hooks
B
Explanation:
The strategy field specifies the build strategy, such as Docker or S2I, determining how the image is created.
How can you manage an application deployment using the OpenShift web console? (Choose two.)
- A . Modify environment variables
- B . Scale replicas up or down
- C . Create custom monitoring agents
- D . Rebuild the application image
A, B
Explanation:
The web console allows real-time scaling and environment variable management, making it convenient for managing deployments.
Which command creates a new project in OpenShift?
- A . oc create project <name>
- B . oc new-project <name>
- C . oc create ns <name>
- D . kubectl create namespace <name>
B
Explanation:
The oc new-project command creates a new project in OpenShift and switches to it. It sets up the environment automatically, making it the preferred command for project creation.
Which Kustomize field specifies the directory containing base configurations?
- A . resources
- B . bases
- C . overlays
- D . paths
B
Explanation:
The bases field in kustomization.yaml specifies the directory containing base configurations to be customized in overlays.
What is the purpose of Horizontal Pod Autoscaler (HPA) in OpenShift? (Choose two.)
- A . Scale pods based on CPU usage
- B . Scale pods based on memory usage
- C . Manage persistent volumes
- D . Monitor pod health
A, B
Explanation:
HPA dynamically adjusts the number of pods based on resource usage such as CPU and memory, maintaining application performance during fluctuating workloads.
Which Kustomize feature allows creating environment-specific customizations? (Choose two.)
- A . Overlays
- B . Bases
- C . Templates
- D . Profiles
A, B
Explanation:
Bases define the common configuration, while overlays provide environment-specific customizations, allowing flexible application deployment.
Which of the following ensures secure image pulling from OpenShift’s internal registry? (Choose two.)
- A . Assigning pull secrets to service accounts
- B . Configuring resource quotas
- C . Creating ImageStreams
- D . Setting proper access controls
A, D
Explanation:
Pull secrets and access controls ensure secure image pulling from the internal registry, safeguarding private images against unauthorized access.
How do you push a local image to the OpenShift internal registry?
- A . Use docker push
- B . Use oc tag
- C . Use oc image push
- D . Use podman push
D
Explanation:
The podman push command pushes a local container image to the OpenShift internal registry, provided the registry login credentials are configured.