| Exam Code | EX280 |
| Exam Name | Red Hat Certified OpenShift Administrator |
| Vendor | RedHat |
| Total Questions | 33 |
| Last Updated | 26-Oct, 2026 |
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Free EX280 Practice Questions
Explore 5 free practice questions for the RedHat EX280 exam and review the answers and explanations to support your preparation.
-
Question 1
Drag & DropSIMULATION Configure an identity provider Configure your OpenShift cluster to use an HTPasswd identity provider with the following requirements:
The name of the identity provider is: ex280-htpasswd The name of the secret is: ex280-idp-secret The user account armstrong=indionce
The user account collins=veraster The user account aldrin=roonkere The user account jobs=sestiver The user account wozniak=glegunge
Show Answer & Explanation Hide Answer & Explanation
Correct Answer
See the solution below in Explanation.
Explanation
Solution:
$ sudo yum install httpd-tools-y
$ htpasswd -c -B -b htpasswd-file-upload armstrong indionce
$ htpasswd -B -b htpasswd-file collins veraster
$ htpasswd -B -b htpasswd-file aldrin roonkere
$ htpasswd -B -b htpasswd-file jobs sestiver
$ htpasswd -B -b htpasswd-file wozniak glegunge
$ oc create secret generic ex280-idp-secret --from-file
htpasswd=htpasswd-file -n openshift-config
$ oc get oauth/cluster -o yaml> oauth.yaml
$ vim oauth.yaml
$
esc--> type :set paste --> enter --> insert --> then paste the content for correct indent pasting
spec:
identityProviders:
- name: ex280-htpasswd mappingMethod: claim type: HTPasswd htpasswd:
fileData:
name: ex280-idp-secret
$ oc replace -f oauth.yaml
$ oc login -u armstrong -p indionce
$ oc login -u collins -p veraster
$ oc login -u aldrin roonkere
$ oc login -u jobs sestiver
$ oc login -u wozniak -p glegunge
#This below part of operation is completely optional and done just for handy login purpose
$ alias _kube="oc login -u kubeadmin -p ${kube_pass} ${api_url}"
$ alias _armstrong="oc login -u armstrong -p ${armstrong}
${api_url}"
$ alias _collins="oc login -u collins -p ${collins} ${api_url}"
$ alias _aldrin="oc login -u aldrin -p ${aldrin} ${api_url}"
$ alias _jobs="oc login -u jobs -p ${jobs} ${api_url}"
$ alias _wozniak="oc login -u wozniak -p ${wozniak} ${api_url}"
$ _armstrong;_armstrong;_collins;_aldrin;_jobs;_wozniak;
-
Question 2
Drag & DropConfigure cluster permissions
Configure your OpenShift cluster to meet the following requirements: The user account jobs can
perform cluster administration tasks The user account wozniak can create projects
The user account wozniak cannot perform cluster administration tasks The user account armstrong
cannot create projects
The user account kubeadmin is not present
Show Answer & Explanation Hide Answer & Explanation
Correct Answer
See the solution below in Explanation.
Explanation
Solution:
$ oc adm policy add-cluster-role-to-user cluster-admin jobs
$ oc adm policy remove-cluster-role-from-group self-provisioner
system:authenticated:oauth
$ oc adm policy add-cluster-role-to-userself-provisioner wozniak
$ oc delete secret kubeadmin -n kube-system
-
Question 3
Drag & DropSIMULATION
Configure project permissions
Configure your OpenShift cluster to meet the following requirements: The following projects exist:
apollo manhattan gemini bluebook titan
The user account armstrong is an administrator for project apollo and project gemini
The user account wozniak can view project titan but not administer or delete it
Show Answer & Explanation Hide Answer & Explanation
Correct Answer
See the solution below in Explanation.
Explanation
Solution:
$ oc new-project apollo
$ oc new-project manhattan
$ oc new-project gemini
$ oc new-project bluebook
$ oc new-project titan
$ oc adm policy add-role-to-user admin armstrong -n apollo
$ oc adm policy add-role-to-user admin armstrong -n gemini
$ oc adm policy add-role-to-user view wozniak -n titan
-
Question 4
Drag & DropSIMULATION
Configure groups
Configure your OpenShift cluster to meet the following requirements: The user account armstrong is
a member of the commander group The user account collins is a member of the pilot group
The user account aldrin is a member of the pilot group
Members of the commander group have edit permission in the apollo project Members of the pilot
group have view permission in the apollo project
Show Answer & Explanation Hide Answer & Explanation
Correct Answer
See the solution below in Explanation.
Explanation
$ oc adm groups new commander
$ oc adm groups new pilot
$ oc adm groups add-users commander armstrong
$ oc adm groups add-users pilot collins
$ oc adm groups add-users pilot aldrin
$ oc adm policy add-role-to-group edit commander -n apollo
$ oc adm policy add-role-to-group view pilot -n apollo
-
Question 5
Drag & DropSIMULATION
Configure quotas
Configure your OpenShift cluster to use quotasin the manhattan project with the following
requirements:
The name ofthe ResourceQuota resource is: ex280-quota
The amount of memory consumed across all containers may not exceed 1Gi
The total amount of CPU usage consumed across all containers may not exceed
2 full cores
The maximum number of replication controllers does not exceed 3 The maximum number of pods
does not exceed 3
The maximum number ofservices does not exceed 6
Show Answer & Explanation Hide Answer & Explanation
Correct Answer
See the solution below in Explanation.
Explanation
Solution:
$ oc project manhattan
$ oc create quota ex280-quota --
hard=memory=1Gi,cpu=2,pods=3,services=6,replicationcontrollers=3
$ oc get resourcequota