Red HatFree

Red Hat Certified OpenShift Administrator Free Practice Questions

This deck covers 15 practice questions that test knowledge of OpenShift core concepts, application lifecycle management, networking, storage, configuration, and security. Topics include Projects, DeploymentConfig, BuildConfig, ImageStreams, Routes, NetworkPolicy, PersistentVolumeClaims, ConfigMaps, LimitRanges, and SecurityContextConstraints. The exercises focus on practical CLI commands (e.g., oc get pods, oc describe route) and understanding how resources interact in a multi-tenant cluster. Use this guide to reinforce decision-making around resource isolation, automated deployments, ingress exposure, storage requests, and policy enforcement.

15
practice questions
20
recall cards
15
explanations
0
sign-ups required
Exam-focused analysis

What this Red Hat Certified OpenShift Administrator practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Core OpenShift Concepts and Multi-tenancy

This section tests understanding of the primary unit of organization—Projects—and how they isolate workloads and access control. It also covers basic CLI commands like oc get pods to inspect pod status within a project. Mastery of these fundamentals is essential for navigating an OpenShift cluster and ensuring secure multi-tenancy.

  • Recognize Projects as the boundary for resource grouping and RBAC.
  • Use oc get pods to list pod status in a project.
  • Understand that Projects provide namespace-like isolation.

Application Build and Deployment Pipeline

The practice bank exercises the workflow from source code to running application. BuildConfig defines how to fetch source and produce an image, ImageStream tracks image changes, and DeploymentConfig manages the deployment lifecycle, including triggers for automated rollouts. Together, these resources form a continuous delivery pipeline.

  • Define BuildConfig to specify source, build strategy, and output image.
  • Use ImageStream to monitor registries and trigger deployments on updates.
  • Configure DeploymentConfig triggers to initiate new builds or deployments.
  • A successful BuildConfig creates a new DeploymentConfig revision.

Networking and Exposure

Questions on Routes and NetworkPolicy cover how applications are exposed externally and how pod-to-pod communication is secured. Routes provide a stable hostname with TLS termination, while NetworkPolicy enforces zero-trust rules. The oc describe route command is used to troubleshoot route configuration.

  • Expose services via Routes for consistent external endpoints.
  • Implement NetworkPolicy to restrict traffic between pods.
  • Use oc describe route to view route details including host and TLS settings.

Storage and Configuration Management

This section addresses storage requests via PersistentVolumeClaim, configuration injection with ConfigMap, and resource constraints with LimitRange. These resources decouple state and configuration from container images and prevent resource exhaustion, essential for production workloads.

  • Request specific storage capacity and access modes with PersistentVolumeClaim.
  • Inject configuration as environment variables or files using ConfigMap.
  • Enforce minimum and maximum resource limits with LimitRange.
Active recall deck

Practice Red Hat Certified OpenShift Administrator with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Static practice bank

Start the 15-question diagnostic

The complete question bank is embedded in this pre-rendered page. There is no database request or second content download when you begin.

Question 1 of 15

What is the primary purpose of a Project in OpenShift?

Show hint

Understand core OpenShift concepts and multi-tenancy

1 correct answers

Study workflow

Turn one Red Hat Certified OpenShift Administrator attempt into a study plan

  1. 1

    Create a Project and Deploy an Application

    Create a new project with oc new-project myapp. Then deploy an application from an image using oc new-app --docker-image=<image>. Verify pods are running with oc get pods. This step establishes resource isolation and basic deployment.

  2. 2

    Set Up a BuildConfig from Git Source

    Use oc new-app <git-repo> to automatically create a BuildConfig. Confirm with oc get bc. Trigger a build with oc start-build <bc-name>. Monitor build logs with oc logs -f bc/<bc-name>. This demonstrates image creation from source.

  3. 3

    Expose a Service Using a Route with TLS

    After creating a service with oc expose deployment <name> --port=8080, create a secure route: oc create route passthrough --service=<svc> --hostname=app.example.com. Verify with oc get route. This step ensures external access with encryption.

  4. 4

    Configure Persistent Storage with PVC

    Create a PersistentVolumeClaim YAML with desired storage class, access modes, and size. Apply with oc apply -f pvc.yaml. Then reference the PVC in a pod spec's volumes. Confirm binding with oc get pvc. This attaches persistent storage to a pod.

  5. 5

    Apply Resource Limits Using LimitRange

    Define a LimitRange YAML that sets default CPU and memory requests/limits for containers. Apply to a project with oc apply -f limitrange.yaml. New pods will validate against these ranges. Test by creating a pod without explicit limits and verify defaults are injected.

FAQ

Questions about this exam practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the primary purpose of a Project in OpenShift?+

A Project provides a namespace-like boundary that groups workloads and enforces role-based access control. It isolates resources and permissions for a team or application, enabling multi-tenancy.

How does a BuildConfig relate to a DeploymentConfig?+

A BuildConfig defines how to build an image from source code. When a build succeeds, it can automatically update the associated DeploymentConfig with the new image, triggering a rolling update of pods.

When should you use a Route instead of a Service?+

A Route provides a stable hostname and handles TLS termination and ingress traffic. Use a Route when you need external access with a friendly URL and security; a Service alone is only reachable within the cluster.

What resource would you use to enforce maximum CPU usage per container in a project?+

Use a LimitRange. It defines minimum and maximum resource requests and limits for containers, ensuring fair scheduling and preventing a single container from consuming all cluster resources.

How does a PersistentVolumeClaim request storage?+

A PVC asks for storage with specific access modes (e.g., ReadWriteOnce) and capacity. The cluster binds it to a PersistentVolume that meets those criteria, decoupling pod storage requirements from actual storage infrastructure.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.