Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

RedHat EX280 Dumps 2026 with Free Practice Questions and Answers

13 original practice questions for the Red Hat Certified OpenShift Administrator exam, each with an answer and explanation.

Exam topics: Configure Application Security, Configure Network Security, Deploy Applications, Enable Developer Self-Service and 5 more.

Formats: single answer, multiple answers, order list, drag and drop and dropdown. A new question is added every 15 days.

EX280 Practice Set Details

Vendor
RedHat
Exam Code
EX280
Questions On This Page
13
Exam Topics Covered
9 of 9
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
33
Certification
Red Hat Openshift Certifications
13 questions

RedHat EX280 Exam Questions and Answers by Topic

Manage OpenShift Container Platform

1 practice question on this topicWhat this topic covers

Question 1

Added

Single Answer

A pod in the `catalog` project repeatedly restarts after its image was changed. The deployment is healthy at the API level, but the application team reports that the new container exits immediately. The administrator needs evidence from the failed container instance before changing the manifest. The pod still exists and has a previous terminated container state. Which command is the best next step to inspect the output from that prior instance?

Correct answer: B

`oc logs --previous` retrieves logs from the prior terminated container in the pod, which is the evidence needed before changing the deployment. Describing the Deployment reports controller and rollout details but not the terminated process output. Events can reveal scheduling and lifecycle causes, but they do not replace the prior container's application logs. `oc exec` targets a running container and cannot inspect a process that has already exited.

Work with Resource Manifests

1 practice question on this topicWhat this topic covers

Question 2

Added

Single Answer

A team maintains a base Deployment and Service for an application, plus separate overlays for staging and production. Production changes only the image tag and replica count; the team must keep the common resources in the base and apply the production-specific changes without copying the full manifests. Which approach uses Kustomize as intended?

Correct answer: C

A Kustomize overlay references shared base resources and applies environment-specific transformations or patches, allowing production to change only the image and replica count. Copying the manifests duplicates the base and makes common updates harder to maintain. A ConfigMap is not automatically substituted into arbitrary manifest fields by Kustomize. A Helm chart is rendered through Helm; `oc apply -k` does not use a Helm values file as a Kustomize overlay.

Deploy Applications

2 practice questions on this topicWhat this topic covers

Question 3

Added

Multiple Answers

An engineering team deploys two versions of a stateless API in one project. A Service should send traffic only to the stable version, even while canary pods are running, and the team must be able to scale the stable version without changing the Service definition. The canary must remain available for direct testing but must not receive production Service traffic. Both Deployments currently carry the label `app=orders`, and the Service selector is also `app=orders`. Which two changes meet the requirements? (Choose two.)

Correct answer: B, D

Service routing is based on matching pod labels, not Deployment object names or replica counts. Adding a stable-specific label to the Service selector and stable pod template selects the production pods, while labeling canary pods separately prevents them from matching. Changing `targetPort` selects a port, not a subset of pods. Equal replica counts do not affect endpoint selection. A Service selector cannot select a Deployment object through `matchLabels`; it matches labels on pods.

Question 4

Added

Order List

A team has a YAML manifest for a Deployment, but the target project does not yet exist. The Deployment uses a namespace-specific image pull Secret that must be available before pods start. The team wants to apply the manifest using the OpenShift CLI and confirm that the workload has reached its requested replica count. Arrange the steps in the order they must be performed.

Drag the steps into the correct order, or use the arrows.

  1. Apply the Deployment manifest to the project
  2. Wait for the Deployment rollout to complete
  3. Create the target project
  4. Create the image pull Secret in that project
Correct answer:
  1. Create the target project
  2. Create the image pull Secret in that project
  3. Apply the Deployment manifest to the project
  4. Wait for the Deployment rollout to complete

The project must exist before namespaced resources can be created. The image pull Secret must be present in the same namespace before the Deployment's pods need it, or image pulls may fail. Applying the Deployment then creates the controller and pods. Waiting for rollout completion verifies that the requested replicas became available rather than merely confirming that the manifest was accepted.

Manage Authentication and Authorization

1 practice question on this topicWhat this topic covers

Question 5

Added

Dropdown

An administrator has prepared an HTPasswd file containing a new user's account. The cluster already has an `HTPasswd` identity provider configured, and the administrator must add the account to that provider's existing secret without replacing other users. Complete the command sequence to add the user and apply the updated secret.

Choose the correct value for each blank.

Run to update the file, then run to apply it.
Correct answer:

Run htpasswd -B -b users.htpasswd analyst 'TempPass1!' to update the file, then run oc create secret generic htpasswd --from-file=htpasswd=users.htpasswd -n openshift-config --dry-run=client -o yaml | oc apply -f - to apply it.

Using `htpasswd -B -b` updates or adds the account using bcrypt without recreating the file, so existing users remain. Generating a Secret manifest and piping it to `oc apply` updates the configured Secret declaratively while preserving the existing Secret object. The `-c` option would recreate the password file and can remove other accounts. Direct `oc create` fails when the Secret already exists. `oc replace` does not accept the shown `--from-file` form, and granting cluster-admin is unrelated to updating identity data.

Configure Network Security

2 practice questions on this topicWhat this topic covers

Question 6

Added

Single Answer

A company publishes an HTTPS application through an OpenShift Route. The application team supplies a certificate and private key for `portal.example.com`; its certificate authority chain is not trusted by all client browsers unless the intermediate certificate is sent. TLS must terminate at the router, and the connection from the router to the application must also use TLS. The application serves HTTPS on its service target port, and the team wants the router to verify the backend certificate against the supplied CA. Which Route configuration meets these requirements?

Correct answer: D

Re-encrypt termination lets the router present the specified certificate and chain to clients, then establish a separate TLS connection to the service. Supplying the backend CA enables the router to verify the backend certificate as required. Edge termination does not encrypt the router-to-service leg. Passthrough leaves TLS termination and certificate presentation to the application, contrary to the stated router-termination requirement. Re-encrypt with only the backend CA would not provide the application's required client-facing certificate.

Question 7

Added

Multiple Answers

A multi-tenant cluster hosts an internal reporting service in project `reports`. Only pods labeled `role=frontend` in project `portal` may connect to the reporting pods on TCP port 8443. Other ingress must be denied, while egress from reporting pods must remain unrestricted. The cluster's network plugin enforces Kubernetes NetworkPolicy. Which two configuration elements are required? (Choose two.)

Correct answer: A, D

An ingress NetworkPolicy selecting the reporting pods and allowing the specified port from matching pods in the selected namespace provides the requested ingress control. The namespace selector matches namespace labels, so `portal` must carry the label used by the policy. An egress policy would constrain outbound traffic and is unnecessary because egress must remain unrestricted. Routes do not restrict pod-to-pod traffic by namespace. A LoadBalancer Service exposes an external endpoint and is not a substitute for the required namespace-aware network policy.

Expose non-HTTP/SNI Applications

1 practice question on this topicWhat this topic covers

Question 8

Added

Single Answer

A team must expose a proprietary TCP protocol on a fixed port to external clients. The protocol is not HTTP and does not use TLS SNI, so an OpenShift Route cannot select it. The cluster runs on an infrastructure provider that supports load balancers, and the team requires a provider-managed external address rather than a manually maintained node port. Which exposure method is the best fit?

Correct answer: A

A `LoadBalancer` Service requests an external load balancer from a supported infrastructure provider and forwards the configured TCP port to the selected pods. It does not require HTTP or SNI. A Route is an HTTP/S routing resource, and passthrough TLS still depends on TLS traffic rather than arbitrary TCP. A NodePort exposes a port on nodes and does not meet the requirement for a provider-managed external address. The described Ingress approach does not provide generic TCP routing or allocate an external address in the specified way.

Enable Developer Self-Service

2 practice questions on this topicWhat this topic covers

Question 9

Added

Multiple Answers

A platform team is preparing a project template for application teams. Pods in each project must have CPU and memory requests and limits within an approved range, while the project must also have an aggregate ceiling on requested CPU and memory. Teams should receive defaults when they omit container values, but administrators must not rely on admission failures to teach developers the expected settings. The cluster already has an appropriate ResourceQuota definition available, and the team wants these controls applied automatically whenever a project is created from the template. Which two resource types should the template create? (Choose two.)

Correct answer: A, E

A LimitRange supplies default container requests and limits and can enforce per-container bounds at admission, so developers receive usable defaults rather than simply encountering missing-value failures. A ResourceQuota enforces the project-wide aggregate ceiling on requested CPU and memory. A NetworkPolicy controls network traffic, not resource settings. A PodDisruptionBudget limits voluntary disruptions and does not account for CPU or memory. A LimitRange governs individual containers or pods, not the aggregate project usage required here.

Question 10

Added

Order List

A platform administrator must enforce a project-wide ceiling on requested CPU and memory for a newly created project. The project must receive a `ResourceQuota` automatically through the organization's project template, and the administrator wants to validate the template change before creating another project. Arrange the steps in the order they must be performed.

Drag the steps into the correct order, or use the arrows.

  1. Update the cluster's project request template reference
  2. Create a test project and verify its ResourceQuota
  3. Export the current project template to a local YAML file
  4. Add the ResourceQuota object to the template's objects list
Correct answer:
  1. Export the current project template to a local YAML file
  2. Add the ResourceQuota object to the template's objects list
  3. Update the cluster's project request template reference
  4. Create a test project and verify its ResourceQuota

Exporting the current template provides the editable source without discarding existing template objects. Adding the quota before configuring the cluster to use the updated template ensures newly created projects receive it. Updating the project request template reference applies the modified template for future requests. Creating a test project last verifies the behavior through the actual project creation path.

Manage OpenShift Operators

1 practice question on this topicWhat this topic covers

Question 11

Added

Drag And Drop

A platform team is standardizing operator lifecycle tasks across separate environments. In each environment, the CatalogSource and OperatorGroup are already configured unless the requirement explicitly calls for changing the installation namespace. Match each lifecycle requirement to the OpenShift resource or action that directly satisfies it.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Install an operator only in one project
Install an operator for all namespaces
Remove the operator software but retain its CRDs
Remove the operator's API definitions after uninstalling it
Delete the operator's CRDs
Delete the Subscription
Create a Subscription with installMode support for AllNamespaces
Create an OperatorGroup scoped to that project and a Subscription
Correct answer:
  • Install an operator for all namespaces → Create a Subscription with installMode support for AllNamespaces
  • Install an operator only in one project → Create an OperatorGroup scoped to that project and a Subscription
  • Remove the operator software but retain its CRDs → Delete the Subscription
  • Remove the operator's API definitions after uninstalling it → Delete the operator's CRDs

A Subscription requests installation and tracks the chosen operator package and channel; installation scope must be supported by the package and its OperatorGroup configuration. An OperatorGroup scoped to one project supports a namespace-scoped installation when paired with a Subscription. Deleting a Subscription removes the ongoing install request but does not by itself delete CRDs. CRDs define the operator's custom APIs, so deleting them is the action that removes those definitions after the operator is uninstalled.

Configure Application Security

2 practice questions on this topicWhat this topic covers

Question 12

Added

Single Answer

A payment processor runs a diagnostic container that must change kernel-level settings unavailable to ordinary workloads. The security team permits this only for one service account in the `payments` project; granting elevated access to the default service account or changing the cluster-wide default SCC is prohibited. The cluster already has an approved SCC named `payments-diagnostics` that allows the required privilege. Which action grants the workload the needed access while preserving the stated boundary?

Correct answer: D

A dedicated service account with permission to use the approved SCC confines elevated pod admission to the intended workload. SCC use is controlled through authorization, and the pod can specify that service account. Adding a project name to an SCC users list is not the appropriate project-scoped authorization grant. `allowPrivilegeEscalation` does not itself grant SCC admission or all required privileges. Granting the SCC to `system:authenticated` would expose it far beyond the required boundary.

Question 13

Added

Single Answer

A batch workload must call the Kubernetes API to read ConfigMaps in its own project. It must not read Secrets or access resources in other projects. The workload currently uses the default service account, whose token automounting is disabled by project policy. The application can use a mounted projected token, and no human user credentials may be embedded in the image. What is the least-privilege configuration?

Correct answer: C

A dedicated service account with a project-scoped Role limited to `get` on ConfigMaps grants only the required API access. A projected service-account token supplies the workload identity without embedding human credentials or relying on automatic mounting. A cluster-wide `view` binding extends access beyond the project and includes more read permissions than requested. A cluster-admin kubeconfig violates least privilege. The `edit` role permits broader project actions, and changing the default account's automount setting ignores the stated policy.

More Practice Questions

Get the Full RedHat EX280 Dumps as PDF and Practice Test

13 questions are free on this page and the full set has 33. It comes as a PDF and an online practice test, with 90 days of free updates.