
Pass Exam With Full Sureness - EX280 Dumps with 33 Questions
Verified EX280 dumps Q&As - 100% Pass from GuideTorrent
NEW QUESTION # 16
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 # 17
Scale Application Manually
Task information Details:
Scale the httpd deployment to 5 replicas .
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Scale the deployment:
oc scale deployment httpd --replicas=5
* Verify:
oc get deployment httpd
oc get pods -l app=httpd
* Confirm the desired, current, and available replica counts match.
This task checks direct workload scaling using the OpenShift CLI.
NEW QUESTION # 18
Scale an application manually
Manually scale the minion application in the gru project to a total of 5 replicas.
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
$ oc project gru
$ oc get pods
$ oc get all | grep deployment
$ oc scale --replicas=5 deployment.apps/minion
$ oc get pods
NEW QUESTION # 19
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 # 20
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 # 21
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.
Answer:
Explanation:
See the solution below in Explanation.
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.
NEW QUESTION # 22
Configure a secret
Configure a secret in the math project with the following requirements: The name of the secret is: magic The secret defines a key with name: decoder_ring The secret defines the key with value:
XpWy9KdcP3Tr9FFHGQgZgVRCKukQdrQsbcl0c2ZYhDk=
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
$ oc project math
$ oc create secret generic magic --from-literal key=decoder_ring --from- literal value=XpWy9KdcP3Tr9FFHGQgZgVRCKukQdrQsbcl0c2ZYhDk=
$ oc get secret -n math
NEW QUESTION # 23
Deploy an application
Deploy the application called oranges in the apples project so that the following conditions are true:
The application uses the ex280sa service account
No additional configuration components have been added or removed The application produces output
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
$ oc project mercury
$ oc get pods
$ oc get all | grep deploy
$ oc describe deployment.apps/atlas | grep -L memory
$ oc set resources deployment.apps/atlas --resources=memory=80Mi
NEW QUESTION # 24
Create a CronJob test-cron
Task information Details:
Create service account jupiter .
Grant anyuid SCC and cluster- admin to it.
Update CronJob cron-test to use that service account.
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Switch to the project hosting the cronjob, if needed:
oc project cron-test
* Create the service account:
oc create sa jupiter
* Grant anyuid:
oc adm policy add-scc-to-user anyuid -z jupiter -n cron-test
* Grant cluster-admin:
oc adm policy add-cluster-role-to-user cluster-admin system:serviceaccount:cron-test:jupiter
* Update the cronjob:
oc patch cronjob cron-test -p '{"spec":{"jobTemplate":{"spec":{"template":{"spec":{"serviceAccountName":" jupiter"}}}}}}'
* Verify:
oc get cronjob cron-test -o yaml | grep serviceAccountName
Notes:
* The uploaded lab uses oc set sa cronjob.batch/cron-test jupiter, which is not the usual command form for CronJobs. Patching the pod template is the reliable method.
This task checks service account and privilege adjustments for scheduled workloads.
NEW QUESTION # 25
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 # 26
Managing Group
Task information Details:
Create the groups site-users and guest-users .
Add qwerty to guest-users .
Add harry and susan to site-users .
Grant edit to site-users on test .
Grant view to guest-users on demo .
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Create the groups:
oc adm groups new site-users
oc adm groups new guest-users
* Add users to groups:
oc adm groups add-users guest-users qwerty
oc adm groups add-users site-users harry susan
* Grant edit role on test to site-users:
oc policy add-role-to-group edit site-users -n test
* Grant view role on demo to guest-users:
oc policy add-role-to-group view guest-users -n demo
* Verify:
oc get groups
oc describe group site-users
oc describe group guest-users
oc get rolebinding -n test
oc get rolebinding -n demo
This task measures practical administration of OpenShift groups and project-scoped RBAC assignments.
NEW QUESTION # 27
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 # 28
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
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
$ oc project apples
$ oc create sa ex280sa
$ oc adm policy add-scc-to-user anyuid -z ex280sa
NEW QUESTION # 29
......
The EX280 exam consists of a performance-based exam format, which means that candidates will be required to perform hands-on tasks in a live environment to demonstrate their skills and knowledge. EX280 exam has a duration of 3 hours, and candidates will be evaluated on their ability to perform tasks related to installation, configuration, administration, and troubleshooting of OpenShift clusters. EX280 exam is conducted remotely, and candidates can take the exam from the comfort of their home or office.
EX280 Dumps Full Questions - Exam Study Guide: https://pass4sure.guidetorrent.com/EX280-dumps-questions.html