EX280 Sample Questions & Answers
Free Red Hat Certified OpenShift Administrator practice questions with worked answers and explanations. See how the ExamJungle simulator prepares you — then jump into the full test.
Launch the full EX280 simulator →Showing 6 of 12 free samples.
- Question 1Advanced
Work with resource manifests · Work with Kustomize overlays
Your organization requires a specific set of Kustomize overlays for deploying an application to Development, Stage, and Production environments. You have a 'base' directory containing the common deployment.yaml and service.yaml. You need to ensure the Production overlay scales the replicas to 5 and changes the image tag to 'stable'.
Which file structure and content is correct for the production overlay?
Show answer & explanation
Correct answer: C
An overlay is a folder with its own kustomization.yaml. It lists the base under resources. Its patches change only what differs, here 5 replicas and the stable image tag. The base files stay unchanged.
- Question 2Beginner
Manage authentication and authorization · Modify user and group permissions
You need to grant a specific user, 'alice', the ability to view all resources in the 'marketing' project only, not in other projects, and the user should not be able to modify any resources. Which command achieves this using the default ClusterRoles?
Show answer & explanation
Correct answer: C
oc adm policy add-role-to-user view alice -n marketingbinds view in the marketing project only. The view role allows no changes.add-cluster-role-to-userwould grant view in every project, even with-n. - Question 3Intermediate
Enable developer self-service · Configure project quotas
A database pod in the 'db-prod' project keeps restarting with an 'OOMKilled' error. Its only container has a 1Gi memory limit and needs 2Gi. The project has a ResourceQuota 'quota-prod' with 'limits.memory: 10Gi', and 9.5Gi is already used, including this pod's 1Gi. What must you do to successfully deploy the fix?
Show answer & explanation
Correct answer: C
Without this pod, the project uses 8.5Gi of its 10Gi limits.memory quota. A 2Gi limit brings the total to 10.5Gi. The quota rejects the pod, even after scaling to zero. Raise the quota first, then the limit.
- Question 4Intermediate
Manage OpenShift operators · Install an operator
You are installing the Web Terminal Operator from the software catalog. You want it installed for all namespaces and updated automatically whenever a new version appears in its 'fast' channel. Which resource should you configure to define the channel and approval strategy?
Show answer & explanation
Correct answer: B
A Subscription names the Operator package, its catalog source and the update channel. Its
installPlanApprovalfield is Automatic or Manual. The OperatorGroup only sets which namespaces the Operator watches. - Question 5Advanced
Configure application security · Manage and apply permissions using security context constraints
An application in the 'hr-app' project requires the ability to run as a specific user ID (UID 5000) defined in its Dockerfile. By default, OpenShift assigns an arbitrary UID. What is the most secure and appropriate way to allow this specific UID for the application's ServiceAccount?
Show answer & explanation
Correct answer: C
A custom SCC with runAsUser MustRunAs 5000 allows only that one UID, and only for this service account. The anyuid and privileged SCCs allow far more. The restricted-v2 SCC rejects UIDs outside the project's range.
- Question 6Intermediate
Configure network security · Configure application network policies
You are defining a NetworkPolicy to isolate the 'backend' pods. The policy must block all incoming traffic to 'backend' pods except for traffic originating from pods with the label 'role=frontend' in the same namespace. Which ingress rule configuration achieves this?
Show answer & explanation
Correct answer: C
Once a policy selects the backend pods for ingress, only traffic that a rule allows can reach them. A from entry with only a podSelector matches pods in the policy's own namespace. Only role=frontend pods there get in.
Ready for the real thing?
The full EX280 simulator has every exam-style question, timed mode, and instant scoring.