- Home
- RedHat Certification
- EX280 Exam
- RedHat.EX280.dumpsfiles Dumps
Free RedHat EX280 Exam Dumps Questions & Answers
| Exam Code/Number: | EX280Join the discussion |
| Exam Name: | Red Hat Certified Specialist in OpenShift Administration exam |
| Certification: | RedHat |
| Question Number: | 33 |
| Publish Date: | Nov 29, 2026 |
|
Rating
100%
|
|
Total 33 questions
Autoscale of Pods
Task information Details:
Create an HPA for httpd with min=2 , max=9 , and CPU target 60% .
Set resource requests on the httpd deployment so autoscaling can function properly.
Explanation:
Solution:
* Set resource requests on the deployment:
oc set resources deployment httpd --requests=cpu=50m,memory=100Mi
* Create the HPA:
oc autoscale deployment httpd --min=2 --max=9 --cpu-percent=60
* Verify:
oc get hpa
oc describe hpa httpd
oc get deployment httpd -o yaml
Why resource requests matter:
* HPA CPU utilization is calculated against requested CPU.
* Without requests, percentage-based autoscaling is incomplete or invalid.
This task focuses on autoscaling prerequisites and policy creation.
Configure a service account
Configure a service account in the apples project to meet the following requirements:
The name of the account is ex280sa
The account allows pods to be run as any available user
Explanation:
Solution:
$ oc project apples
$ oc create sa ex280sa
$ oc adm policy add-scc-to-user anyuid -z ex280sa
Install Helm Chart
Task information Details:
Add the Helm repository do280-repo and install the example-app release from the specified chart.
Explanation:
Solution:
* Add the repository:
helm
repo add do280-repo http://helm.ocp4.example.com/charts
* Refresh repositories:
helm repo update
* Install the chart:
helm install example-app do280-repo/etherpad
* Verify:
helm list
oc get all
Notes:
* The uploaded lab text appears to spell the chart name incorrectly as ehterpad.
* In practice, use the actual chart name published in the repo. If the lab repo truly contains the typo, follow the repo index result.
This task tests Helm repository management and application deployment.
Create Resource Quota for Project Rocky
Task information Details:
Use project rocky and create a quota named rocky-quota with limits for CPU, memory, pods, services, replication controllers, and secrets.
Explanation:
Solution:
* Ensure the project exists and switch to it:
oc new-project rocky
oc project rocky
* Create the quota:
oc create quota rocky-quota \
--hard=limits.cpu=2,limits.memory=1Gi,pods=3,services=6,replicationcontrollers=6,secrets=6
* Verify:
oc get resourcequota -n rocky
oc describe quota rocky-quota -n rocky
Notes:
* The lab text uses cpu=2,memory=1G and secret=6; in real OpenShift usage, the more reliable forms are limits.cpu, limits.memory, and secrets.
* If the exam specifically expects the exact resource names shown in the lab environment, use what the cluster accepts.
This task checks quota enforcement and namespace resource governance.
Create a PV and PVC
Task information Details:
Create a PersistentVolume named landing-pv with 1Gi , ReadOnlyMany , NFS backend, and Retain reclaim policy.
Create a PersistentVolumeClaim named landing-pvc requesting 1Gi , ReadOnlyMany , and storage class nfs2 .
Explanation:
Solution:
* Create landing-pv.yaml:
apiVersion: v1
kind: PersistentVolume
metadata:
name: landing-pv
spec:
capacity:
storage: 1Gi
accessModes:
- ReadOnlyMany
nfs:
path: /open001
server: 192.168.2.2
persistentVolumeReclaimPolicy: Retain
* Apply it:
oc apply -f landing-pv.yaml
* Create landing-pvc.yaml:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: landing-pvc
spec:
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 1Gi
storageClassName: nfs2
* Apply it:
oc apply -f landing-pvc.yaml
* Verify:
oc get pv
oc get pvc
oc describe pv landing-pv
oc describe pvc landing-pvc
This task validates persistent storage provisioning and claim binding concepts.