RedHat EX280 Exam Questions & Answers (November 2026)
Red Hat Certified OpenShift Administrator exam questions with 26 free practice questions and explained answers. Updated November 18, 2026. · See all RedHat exams
Answer 26 scenario questions on this page and see your score as you go. No sign-up needed.
Exam Details
- Exam Code
- EX280
- Vendor
- RedHat
- Duration (minutes)
- 3.0 hours
- Delivery
- Hands-on, practical exam
- Question Types
- Single Choice
- Official Page
- View Exam Page
Manage OpenShift Container Platform
This topic covers using the OpenShift web console and command-line interface to manage cluster resources and projects. Candidates must be able to inspect resource status, image references, logs, events, and alerts to diagnose common operational problems.
An administrator is investigating a running pod in the `billing` project. The pod specification names an image by a mutable tag, and the image tag was updated after the pod started. The audit record must identify the exact image content used by the running container, not merely the image reference stored in the pod specification.
An administrator is investigating a running pod in the `billing` project. The pod specification names an image by a mutable tag, and the image tag was updated after the pod started. The audit record must identify the exact image content used by the running container, not merely the image reference stored in the pod specification. Which command provides the needed value?
Show Answer
Correct Answer
A
Option A is correct because the container status imageID reports the image content associated with the running container, even when its tag has since changed. Option B shows the mutable image reference in the pod specification. Option C displays useful pod details but does not directly select the running container image ID. Option D examines a deployment rather than the running container status.
A pod in the `payments` project has restarted several times and is currently running. Its owner reports that each restart follows a short-lived failure, but the current container has not yet produced useful diagnostic output. You need to inspect the output from the most recently terminated instance of the `api` container.
A pod in the `payments` project has restarted several times and is currently running. Its owner reports that each restart follows a short-lived failure, but the current container has not yet produced useful diagnostic output. You need to inspect the output from the most recently terminated instance of the `api` container. Which command should you run?
Show Answer
Correct Answer
B
Option B is correct because `--previous` retrieves logs from the most recently terminated instance of the named container, which is the output needed after repeated restarts. Option A reads the current instance. Option C can show restart and state details, but it does not retrieve the terminated instance's logs. Option D lists events and cannot provide container log output.
A team needs a new project named `qa-review` for a short testing window. The project does not exist, the administrator is using the OpenShift CLI, and cluster policy permits the administrator to create projects. The administrator should finish with the new project selected as the current project so that later commands target it by default.
A team needs a new project named `qa-review` for a short testing window. The project does not exist, the administrator is using the OpenShift CLI, and cluster policy permits the administrator to create projects. The administrator should finish with the new project selected as the current project so that later commands target it by default. Which command meets both requirements?
Show Answer
Correct Answer
A
Option A is correct because `oc new-project` creates the OpenShift project and selects it as the current project. Option B creates a namespace but does not perform the requested OpenShift project workflow. Option C selects an existing project and cannot create one that is absent. Option D deletes a project instead of creating it.
Work with resource manifests
This topic covers applying and updating Kubernetes resource manifests on OpenShift, including manifests organized with Kustomize. Candidates must be able to create and use ConfigMaps and Secrets that match the names, keys, and namespaces referenced by workloads.
A team keeps a common application configuration in a `base` directory and a staging overlay in `overlays/staging`. The overlay adds a staging-specific patch, and each directory has a Kustomization file. The administrator must apply the staging version to the current project without editing the base or applying unrelated environment resources.
Which command should the administrator use to apply the staging configuration?
Show Answer
Correct Answer
C
Option C is correct because `oc apply -k overlays/staging` builds the staging resources from its Kustomization and incorporates the shared base. Option A is not correct because it omits the staging patch. Option B does not ask the client to build the Kustomize overlay. Option D is not correct because a Kustomization file describes resources and is not itself a Kubernetes resource to apply.
A pod in project `checkout` already obtains an environment variable through a `configMapKeyRef` that names `checkout-settings` and requests the key `MODE`. The ConfigMap does not exist, and the team wants to add it as a resource manifest so it can be managed declaratively. The value required for the staging project is `staging`.
Which resource manifest satisfies the existing pod reference?
Show Answer
Correct Answer
A
Option A is correct because the pod references a ConfigMap named `checkout-settings` and the key `MODE` in project `checkout`. Option B is not correct because a Secret does not satisfy a ConfigMap reference. Option C is not correct because the resource is in a different project. Option D is not correct because it defines `APP_MODE`, not the referenced key.
A workload in project `payments` already reads the `client-id` key from a Secret named `payment-auth`. A protected pipeline renders the credential into a resource manifest immediately before applying it, so the rendered value is not stored in the repository. The team wants a readable value field in that generated manifest and must preserve the workload's existing reference.
Which manifest design should the pipeline apply to provide the required credential?
Show Answer
Correct Answer
A
Option A is correct because `stringData` accepts the rendered string and the Secret name, project, and key match the workload reference. Option B is not correct because the workload references a Secret, not a ConfigMap. Option C is not correct because values in `data` must be base64-encoded. Option D is not correct because the key differs from `client-id`.
Deploy applications
This topic covers deploying applications from templates or Helm charts and managing their Deployments, ReplicaSets, labels, selectors, and Services. Candidates must be able to select an appropriate deployment method, maintain the desired application replicas, and provide external access to an application.
A team runs a payments application from a template named payments-web in its current project. The template defines a Deployment and Service, and it provides APP_NAME and IMAGE parameters. A canary instance must use a different name and image while leaving the existing production instance unchanged. Which command sequence should you use?
Which command sequence should you use to create the second application instance?
Show Answer
Correct Answer
A
Option A is correct because processing the existing template substitutes both requested parameters and submits the generated resources to the current project. Option B is not correct because scaling changes replica count and does not create a separately named application. Option C is not correct because it applies the template object without processing its parameters. Option D is not correct because creating a project does not instantiate template resources.
The inventory Deployment currently has two replicas, and its managed ReplicaSet also has two. The service owner needs five running pods during a planned traffic increase. The existing Deployment selector and rollout history must remain in use, and the team wants the controller to maintain the requested count if a pod fails. Which action should you take?
Which action should you take to increase the running application to five replicas while retaining Deployment management?
Show Answer
Correct Answer
A
Option A is correct because setting the Deployment replica count to five lets its controller adjust the managed ReplicaSet and maintain the requested pod count. Option B is not correct because the Deployment can reconcile its ReplicaSet back to its own desired count. Option C is not correct because selectors match labels, not individual pod names. Option D is not correct because separate ReplicaSets are unnecessary and do not preserve the existing Deployment's scaling control.
The catalog application is running in a project, and its ClusterIP Service selects the correct pods and exposes the application HTTP port. Users outside the cluster need a stable browser-accessible endpoint. The cluster uses OpenShift Routes for HTTP application access, and the team does not want to change how the Deployment or Service selects its pods. What should you do?
What should you do to provide external HTTP access to the application?
Show Answer
Correct Answer
A
Option A is correct because an OpenShift Route can direct external HTTP requests to the existing catalog Service, which already selects the application pods. Option B is not correct because changing the Service type is not the standard Route-based exposure requested here. Option C is not correct because port forwarding is a temporary client connection, not shared application access. Option D is not correct because a pod IP does not provide a managed external endpoint.
Manage authentication and authorization
This topic covers configuring HTPasswd authentication and managing OpenShift users, passwords, and groups. Candidates must be able to update identity-provider credentials and assign user or group permissions at the required scope.
A team uses the qa-reviewers group for analysts who need read-only access to the release-audit project. A RoleBinding already grants that group the view role there, and the binding must remain unchanged. A newly hired analyst, mchen, can authenticate to the cluster but is not yet in the group. The analyst must not receive permissions in other projects or across the cluster.
Which action gives the new analyst the access already assigned to the review group while keeping that access limited to the intended project?
Show Answer
Correct Answer
A
Option A is correct because adding mchen to qa-reviewers applies the group’s existing view access in release-audit without changing its RoleBinding. Option B is not correct because it creates a separate user binding instead of adding the analyst to the designated group. Option C is not correct because it changes membership in a broad system group. Option D is not correct because it grants cluster-wide access.
A company uses an existing external identity provider for most employees and now needs local accounts for a small operations team. The cluster administrator has prepared an HTPasswd file, and the security team requires the current provider to remain available during the change. The local accounts must be usable for authentication throughout the cluster, not only within one project.
Which approach meets the team’s requirements?
Show Answer
Correct Answer
A
Option A is correct because the HTPasswd provider reads the htpasswd key from a Secret in openshift-config, and adding it to the existing cluster OAuth configuration preserves the current provider. Option B is not correct because the provider requires a Secret, not a ConfigMap. Option C is not correct because replacing the provider list removes the existing identity provider. Option D is not correct because the Secret is in the wrong namespace.
The `payroll-prod` cluster uses an HTPasswd identity provider named `corp-users`, configured to read the `htpasswd` key from Secret `payroll-htpass` in `openshift-config`. Employee `jlee` forgot a password and must continue using the same OpenShift identity and existing project access. The administrator has access to the source htpasswd file and must change only this account's credential, without altering OAuth provider configuration or other entries.
Which procedure changes only `jlee`'s HTPasswd credential while keeping the existing identity provider and OpenShift identity?
Show Answer
Correct Answer
A
Option A is correct because updating `jlee`'s entry and applying the file to the existing Secret changes the credential source that `corp-users` uses, without changing the provider or other entries. Option B is not correct because OAuth still references the unchanged Secret. Option C does not update the password hash. Option D deletes an OpenShift user object but does not change the HTPasswd credential.
Configure network security
This topic covers OpenShift networking controls that protect traffic to and between applications. Candidates must be able to configure and troubleshoot network policies, Routes, and TLS settings to enforce the required traffic boundaries.
A payment service runs in the pay-prod namespace, whose backend pods have the label app=backend. An existing policy selects those backend pods and allows no ingress traffic by default. The service must accept TCP connections on port 8443 only from pods labeled app=frontend in namespaces labeled team=web. Other pods in those namespaces must remain blocked.
Which NetworkPolicy peer and port configuration meets the requirement?
Show Answer
Correct Answer
A
Option A is correct because a single peer containing both selectors requires the source pod to match app=frontend and its namespace to match team=web. Option B is not correct because it admits every pod in matching namespaces. Option C is not correct because it matches pods only in the policy namespace. Option D is not correct because separate peers are alternatives, not combined conditions.
A customer portal already has a Route, and the security team requires TLS from browsers to the router and from the router to the application service. The router must present the customer-issued certificate. The service listens for HTTPS and presents a certificate signed by the company internal CA. The router does not currently trust that CA, and the service must not be changed to plain HTTP.
Which Route TLS configuration satisfies the requirement?
Show Answer
Correct Answer
A
Option A is correct because re-encrypt termination protects both the client-to-router connection and the router-to-service connection, while the destination CA validates the backend certificate. Option B is not correct because edge termination sends plain HTTP to the service. Option C is not correct because passthrough does not terminate client TLS at the router. Option D is not correct because it permits unencrypted client traffic and misuses the service CA.
A production namespace has a default-deny ingress policy for its database pods and a separate policy intended to permit monitoring. After a recent change, pods from unrelated application teams can also connect to the database. Inspection shows that another policy selects the same database pods and allows ingress from all pods on all ports. Monitoring access must remain available, but the other teams must be blocked.
What is the best change to stop unrelated pods from reaching the selected service while preserving monitoring access?
Show Answer
Correct Answer
A
Option A is correct because narrowing the broad allow policy preserves monitoring access and removes its permission for unrelated pods. Option B is not correct because NetworkPolicies do not provide deny rules that override allowed traffic. Option C is not correct because policy evaluation has no priority order. Option D is not correct because another default-deny policy does not cancel permissions granted by an allow policy.
Expose non-HTTP/SNI Applications
This topic covers ways to provide external access to applications that do not use HTTP or TLS SNI. Candidates must select and configure an appropriate Service type and understand how external traffic settings affect client connections.
A team runs a plain TCP service on port 7443 in an OpenShift cluster. Its existing ClusterIP Service selects the correct pods, and the service port already maps to the pods' listening port. The cluster platform provides load balancer integration. External clients need a dedicated endpoint, and the application does not use HTTP, HTTPS, or TLS SNI.
Which change best meets the external access requirement?
Show Answer
Correct Answer
B
Option B is correct because the cluster has load balancer integration, and a LoadBalancer Service provides an external endpoint for this TCP application. Option A is not correct because a Route does not provide general access for plain TCP traffic. Option C does not provide the requested dedicated external endpoint. Option D only supplies a DNS alias and does not forward traffic to pods.
A TCP application is already reachable through a LoadBalancer Service, and the cloud load balancer honors node health checks. The application records the source address for each connection, but its logs show the address of a cluster node instead of the remote client. The administrator must preserve the client address without changing which clients are permitted or altering how internal Service traffic is routed.
Which Service setting should the administrator change?
Show Answer
Correct Answer
A
Option A is correct because externalTrafficPolicy set to Local preserves the original client source address for traffic entering through the load balancer. Option B affects internal Service traffic, not external traffic. Option C can keep a client directed to the same pod but does not preserve its source address. Option D restricts allowed source ranges and does not change address handling.
Enable developer self-service
This topic covers resource controls that let developers use projects within defined limits. Candidates must be able to configure quotas, limit ranges, and project templates to apply appropriate defaults and boundaries.
A platform team supports three research projects that share a single compute budget. Each project has a different owner, and the projects are labeled with the same cost-center value. The team must cap their combined CPU and memory requests, while leaving projects in other departments unaffected. Separate project caps would allow the three teams to exceed the shared budget together.
Which resource should the administrator use to enforce the shared CPU and memory request ceilings?
Show Answer
Correct Answer
B
Option B is correct because a ClusterResourceQuota can select projects by label and enforce one aggregate ceiling across all matching projects. Option A gives each project the full ceiling, so combined usage can exceed the budget. Option C sets per-container bounds, not an aggregate across projects. Option D would constrain projects outside the research group.
Developers in a new project often submit pod specifications without CPU or memory requests, and some containers request more memory than the platform team permits for a single container. The project already has an aggregate ResourceQuota, but admissions fail when requests are missing. The team wants omitted values filled automatically and an individual container ceiling enforced without changing every workload.
Which configuration should the administrator add to the project to meet the admission requirements?
Show Answer
Correct Answer
A
Option A is correct because a LimitRange can supply defaults when a container omits requests or limits and can enforce per-container maximums. Option B is not correct because ResourceQuota tracks aggregate consumption in the project, not per-container defaults and bounds. Option C selects aggregate project usage and does not assign pod defaults. Option D does not enforce container resource limits.
A company allows development teams to request projects through the cluster's standard project creation flow. Audits found that newly created projects do not consistently receive a ResourceQuota and a LimitRange, while manually updating each project has become unreliable. Administrators want those two resources included automatically for future project requests, without applying the policy to unrelated existing projects.
Which approach should the administrator take so that future projects receive the required defaults at creation?
Show Answer
Correct Answer
C
Option C is correct because the configured project request template can include the ResourceQuota and LimitRange that should be created with each requested project. Option A places a quota in the configuration namespace but does not make it a project default. Option B depends on manual copying. Option D does not create LimitRange objects.
Manage OpenShift operators
This topic covers installing and removing operators managed by Operator Lifecycle Manager. Candidates must choose the correct installation scope and approval settings, and remove an operator without deleting resources that must remain.
A platform team must install a storage operator from a catalog that already contains the required package and channel. Company policy requires an administrator to review each proposed operator installation or update before it is applied. The team wants OLM to manage the operator, and it must not build or maintain an operator Deployment itself.
Which action meets the team’s installation and update-control requirements?
Show Answer
Correct Answer
A
Option A is correct because manual approval lets the team review the InstallPlan before OLM installs the selected catalog version. Option B is not correct because automatic approval can apply later updates without review. Option C is not correct because removing a catalog source does not install or manage the package. Option D is not correct because a manually created Deployment is not an OLM-managed installation.
An operator installed through Operator Lifecycle Manager is no longer required in a project. Its custom resource instances contain configuration that another team must retain, and the team also wants the custom resource definitions to remain available for a later migration. The administrator must remove the operator software and prevent OLM from reinstalling it, without deleting the project or unrelated workloads.
Which sequence should the administrator use to remove the operator software while retaining the custom resources and their definitions?
Show Answer
Correct Answer
C
Option C is correct because removing the Subscription and installed ClusterServiceVersion removes the OLM-managed operator while allowing the custom resources and definitions to remain. Option A is not correct because deleting only the Subscription does not remove the installed ClusterServiceVersion. Option B is not correct because the remaining Subscription can cause OLM to install the operator again. Option D is not correct because deleting the project also removes unrelated project resources.
A team needs an operator for workloads in one project only. The package metadata confirms that the operator supports single-namespace installation, and the target project already has a compatible OperatorGroup. The cluster also has the standard openshift-operators project and a catalog source in another namespace. The administrator must avoid making the operator available across all projects.
Which installation choice best limits the operator installation to the designated project?
Show Answer
Correct Answer
B
Option B is correct because the specific-namespace mode places the Subscription and operator scope in the selected project, which has a compatible OperatorGroup. Option A is not correct because the catalog source namespace does not define the operator's target scope. Option C is not correct because all-namespaces mode is broader than required. Option D is not correct because a second Subscription is not a supported way to narrow a cluster-wide installation.
Configure application security
This topic covers configuring service accounts, security context constraints, and application access to sensitive data and Kubernetes APIs. Candidates must also select and configure Jobs and CronJobs to run tasks safely, including controlling how scheduled runs overlap.
A device-management agent in the warehouse project must access a host device, and its vendor requires the container to run in privileged mode. The project contains several unrelated applications that must remain under their current restrictions. The agent already has a dedicated service account, and the administrator must avoid expanding permissions for the default service account or changing policy for other projects.
Which change should the administrator make so that only this workload can run with the required privileges?
Show Answer
Correct Answer
A
Option A is correct because the dedicated service account can use the privileged SCC, allowing this pod to request privileged mode without broadening access for other workloads. Option B is not correct because anyuid and UID 0 do not grant privileged-container access. Option C is not correct because it weakens the restricted SCC broadly. Option D is not correct because UID 0 alone does not bypass SCC restrictions.
A reporting application in the metrics project must read ConfigMaps in its own namespace through the Kubernetes API. A RoleBinding already grants the report-reader service account the required read permissions. The pod currently uses the default service account, and its pod template explicitly disables service account token automounting. The application team has requested a configuration-only fix and no permission changes.
Which pod-template change should the administrator make so the application can use its existing ConfigMap permissions through the Kubernetes API?
Show Answer
Correct Answer
A
Option A is correct because the existing permission is assigned to report-reader, and enabling token automount supplies the pod with credentials for API requests. Option B is not correct because it uses the wrong identity and a manually managed token. Option C is not correct because the pod would still lack an automatically mounted token. Option D grants far more access than this application needs.
A team runs a database reconciliation task from a CronJob every ten minutes. The task usually takes fourteen minutes because the database is busiest during the scheduled window, and overlapping executions can cause conflicting updates. The team wants the schedule to remain active and accepts that a scheduled run may be skipped when the previous run is still processing.
Which CronJob setting should the administrator use to prevent two runs of this task from executing at the same time?
Show Answer
Correct Answer
A
Option A is correct because Forbid prevents a CronJob from starting a new run while an earlier run remains active. Option B is not correct because Replace terminates the active run when a new scheduled run begins. Option C permits overlapping runs. Option D suspends future scheduling rather than allowing the task to continue on its schedule.
Continue Your EX280 Preparation
You have seen 26 questions from a full set of 33. Prepare with the EX280 dumps PDF and the Web-Based Practice Test.
- Compatible with All Devices
- Printable Format
- No Download Limits
Practice Test
- Check your timing and weak areas
- No Practice Limits
- Regularly Updated
- 100% Money-Back Guarantee
- 90 Days Free Updates
- Instant Access
Frequently Asked Questions
What makes the EX280 hands-on format challenging?
The exam asks you to make changes in a working OpenShift environment, so recalling commands is not enough. You need to inspect resource status, image references, logs, events, and alerts, then choose a fix that meets the task requirements. Under the 3.0-hour time limit, careful verification matters as much as speed. Practise a repeatable cycle of inspect, change, and confirm for each task.
Which networking tasks tend to require the most care?
Network policies, Routes, and TLS settings can interact, so a change that solves one access problem may violate another traffic boundary. Non-HTTP applications add a separate decision, since they may require a Service type suited to traffic that does not use HTTP or TLS SNI. Practise by drawing the intended traffic path first, then configure and test each boundary and external access setting.
Why do Kubernetes manifests sometimes fail to work as expected on OpenShift?
A manifest can be valid yet fail to support a workload if a ConfigMap or Secret has the wrong name, key, or namespace. Kustomize adds another layer because you must understand which resources the organized manifests apply or update. When studying, trace each workload reference back to its resource and verify the namespace and key names. The Exam4Success PDF can help review these relationships away from a lab.
What can go wrong when removing an Operator?
Operator Lifecycle Manager tasks involve more than installing or removing a package. The installation scope and approval settings must fit the requirement, and removal must not delete resources that need to remain. This is easy to mishandle if you focus only on the Operator itself. Practise identifying the scope, approval choice, and resources to preserve before changing an installation. The Exam4Success PDF is useful for reviewing that decision sequence between lab sessions.
What practical OpenShift skills does EX280 help demonstrate?
EX280 focuses on administering OpenShift resources and projects, deploying applications, controlling access, and diagnosing operational issues. Its coverage also includes quotas, limit ranges, project templates, and application security, so preparation connects day-to-day cluster administration with developer self-service. Candidates can use the topic list to identify which tasks they already handle at work and which need practice. Build a short lab checklist around those weaker tasks.
Will this exam help me become more effective at supporting application teams?
The exam covers work that supports both administrators and developers, including deploying from templates or Helm charts, maintaining replicas, exposing applications, and setting project boundaries. It also addresses service accounts, security context constraints, and safe scheduled tasks with Jobs and CronJobs. These topics can help you practise the operational choices behind reliable application support. Choose one sample application and work through deployment, access, security, and scheduling tasks.
How should I decide what to study first for EX280?
Start with a self-check against the official topic areas. If cluster inspection or resource manifests are unfamiliar, begin there, since those skills support troubleshooting and application work. Then practise authentication, network controls, and security settings in a cluster. The Exam4Success Practice Test format can help identify weaker areas and give you a way to practise working within time. Use the results to plan focused lab sessions rather than repeating familiar topics.
How can I tell if I am ready for the 3.0-hour practical exam?
Readiness is easier to judge by task performance than by time spent studying. Try completing representative work without step-by-step notes, including configuring HTPasswd users or group permissions, deploying an application, and checking that its access and security settings meet the requirement. The Exam4Success Practice Test can help you review timing and identify weak areas. Before booking, make a final list of tasks you still need to perform independently in a lab.
Exam4Success is an independent exam preparation provider and is not affiliated with or endorsed by RedHat.