
EX280 Certification – Valid Exam Dumps Questions Study Guide! (Updated 33 Questions)
EX280 Dumps are Available for Instant Access using TrainingQuiz
RedHat EX280 Exam Cover Topics
The RedHat EX280 Exam topics are bellow:
Control access to resources
Configure pod scheduling
Manage OpenShift Container Platform
Manage users and policies
Configure networking components
NEW QUESTION # 12
Install Helm Chart
Task information Details:
Add the Helm repository do280-repo and install the example-app release from the specified chart.
Answer:
Explanation:
See the solution below in Explanation.
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.
NEW QUESTION # 13
Scale an application automatically
Automatically scale the hydra application deployment configuration in the lerna project with the following requirements:
Minimum number of replicas: 6 Maximum number of replicas: 9
Target average CPU utilization: 60 percent Container CPU resource request: 25m Container CPU resource limit: 100m
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
$ oc project lerna
$ oc get pods
$ oc get all | grep deployment
$ oc autoscale deployment.apps/hydra --max=9 --min=6 --cpu-percent=60
$ oc get hpa
$ oc set resources deployment.apps/hydra --limits=cpu=100m -- requests=cpu=25m
$ oc describe deployment.apps/hydra | grep Limits -A3
NEW QUESTION # 14
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 .
Answer:
Explanation:
See the solution below in Explanation.
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.
NEW QUESTION # 15
Start a Probe in Project Start
Task information Details:
Add a Liveness Probe to the deployment in project start using the Web Console.
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Open the Web Console.
* Switch to project start .
* Navigate to: Workloads # Deployments
* Select the target deployment.
* Click the action menu and choose: Add Health Checks
* Select Liveness Probe .
* Configure the appropriate probe type:
* HTTP
* TCP
* or Command
* Enter the required endpoint or command based on the application.
* Save the configuration.
* Verify the deployment updates successfully and the pod status remains healthy.
CLI alternative if needed:
oc set probe deployment/ < deployment-name >
--liveness --get-url=http://:8080/ --initial-delay-seconds=10
This task measures health-check configuration for workload self-recovery.
NEW QUESTION # 16
Deploy an application
Deploy the application called rocky in the bullwinkle project so that the following conditions are true:
The
application is reachable at the following address: http://rocky.apps.domainXX.example.com The application produces output
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
$ oc project bullwinkle
$ oc get pods
$ oc get all | grep deploy
$ oc get nodes
$ oc describe nodes | grep -i taint
$ oc adm taint nodes worker0 key1=value1:NoSchedule-
$ oc adm taint nodes worker1 key1=value1:NoSchedule-
$ oc describe nodes | grep -i taint
$ oc get route
$ oc delete route rocky
$ oc expose svc rocky --hostname rocky.apps.domainxx.example.com
$ oc get route
NEW QUESTION # 17
Configure quotas
Configure your OpenShift cluster to use quotas in the manhattan project with the following requirements:
The name of the 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 of services does not exceed 6
Answer:
Explanation:
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
NEW QUESTION # 18
Create LimitRanges for Project Darpa
Task information Details:
Switch to project darpa and create a LimitRange with Pod and Container minimums and maximums of CPU and memory, plus default container values.
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Switch to the target project:
oc project darpa
* Create a YAML file, for example limitrange.yaml:
apiVersion: v1
kind: LimitRange
metadata:
name: darpa-limits
namespace: darpa
spec:
limits:
- type: Pod
max:
cpu: 300m
memory: 300Mi
min:
cpu: 5m
memory: 5Mi
- type: Container
max:
cpu: 300m
memory: 300Mi
min:
cpu: 5m
memory: 5Mi
default:
cpu: 100m
memory: 100Mi
* Apply it:
oc apply -f limitrange.yaml
* Verify:
oc get limitrange -n darpa
oc describe limitrange darpa-limits -n darpa
This task validates namespace-level defaulting and constraint policies for pod scheduling and resource consumption.
NEW QUESTION # 19
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
Answer:
Explanation:
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
NEW QUESTION # 20
Create Project Template
Task information Details:
Generate the bootstrap project template, create it in openshift-config , update the cluster project configuration to use the template, and create a new project to validate it.
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Generate the default template:
oc adm create-bootstrap-project-template -o yaml > template.yaml
* Review and edit template.yaml if required.
* Create the template in openshift-config:
oc create -f template.yaml -n openshift-config
* Edit the cluster project configuration:
oc edit project.config.openshift.io/cluster
* Add or update:
spec:
projectRequestTemplate:
name: project-request
* Save and exit.
* Create a test project:
oc new-project test123
* Verify the template behavior:
oc get project test123 -o yaml
Notes:
* The uploaded lab text shows projects.config.openshift.io cluster-admin; the standard resource is project.
config.openshift.io/cluster.
This task checks cluster-wide customization of new-project creation behavior.
NEW QUESTION # 21
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
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
$ 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
NEW QUESTION # 22
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.
Answer:
Explanation:
See the solution below in Explanation.
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.
NEW QUESTION # 23
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
Answer:
Explanation:
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;
NEW QUESTION # 24
Create Service Account in QED
Task information Details:
Switch to project qed .
Create service account project1-sa .
Grant the anyuid SCC to that service account.
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Switch to the project:
oc project qed
* Create the service account:
oc create serviceaccount project1-sa -n qed
* Grant the SCC:
oc adm policy add-scc-to-user anyuid -z project1-sa -n qed
* Verify:
oc get sa project1-sa -n qed
oc adm policy who-can use scc anyuid
Why this matters:
* anyuid allows containers to run with arbitrary user IDs when an application requires it.
* This is a common administrative task in OpenShift for third-party container images.
This task validates service account creation and SCC assignment.
NEW QUESTION # 25
......
What is the cost of the RedHat EX280 Exam
The RedHat EX280 Exam cost is 450 USD.
RedHat EX280 Exam Practice Test Questions: https://www.trainingquiz.com/EX280-practice-quiz.html

