
RedHat EX280 Dumps - The Sure Way To Pass Exam
EX280 Exam Questions (Updated 2026) 100% Real Question Answers
NEW QUESTION # 13
Create Network Policy
Task information Details:
Create a NetworkPolicy named mysql-db-conn that permits ingress to database pods only from pods matching the specified labels in namespaces labeled team=devsecops , on TCP port 3306 .
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Create a file named mysql-db-conn.yaml:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: mysql-db-conn
spec:
podSelector:
matchLabels:
networking.k8s.io/v1/network: database
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
team: devsecops
podSelector:
matchLabels:
deployment: my-web-mysql
ports:
- protocol: TCP
port: 3306
* Apply it:
oc apply -f mysql-db-conn.yaml
* Verify:
oc get networkpolicy
oc describe networkpolicy mysql-db-conn
This task tests namespace/pod label selection and application isolation using OpenShift networking policy controls.
NEW QUESTION # 14
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 # 15
Configure 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
Answer:
Explanation:
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-user self-provisioner wozniak
$ oc delete secret kubeadmin -n kube-system
NEW QUESTION # 16
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 # 17
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 # 18
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 # 19
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 # 20
Create Secure Route in Quart Project
Task information Details:
Create an edge route named htquart for service httpd , using the specified hostname and TLS certificate/key files.
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Switch to the quart project:
oc project quart
* Create the secure route:
oc create route edge htquart \
--service=httpd \
--hostname=quart.apps.ocp4.example.com \
--cert=./req.crt \
--key=./req.key
* Verify:
oc get route htquart
oc describe route htquart
* Test resolution and access if DNS is available:
curl -k https://quart.apps.ocp4.example.com
This task checks route exposure, TLS termination, and secure ingress administration.
NEW QUESTION # 21
Create Secret with Name Magic in Math Project
Task information Details:
Create a secret named magic in the math project that stores MYSQL_ROOT_PASSWORD=redhat .
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Switch to the math project:
oc project math
* Create the secret:
oc create secret generic magic --from-literal=MYSQL_ROOT_PASSWORD=redhat
* Verify:
oc get secret magic
oc describe secret magic
Note:
* The uploaded lab text contains a typo --from-listeral; the valid option is --from-literal.
* The output in the lab also appears inconsistent. The intended secret name is magic .
This task checks secret creation and secure configuration data handling.
NEW QUESTION # 22
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 # 23
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 # 24
Deploy Application in the Project QED
Task information Details:
Set the service account for the specified deployment in project qed to project1-sa .
Answer:
Explanation:
See the solution below in Explanation.
Explanation:
Solution:
* Ensure you are in the correct project:
oc project qed
* Set the service account on the deployment:
oc set serviceaccount deployment/gitlab-skdjfklj project1-sa
* Verify:
oc get deployment gitlab-skdjfklj -o yaml | grep serviceAccount
oc describe deployment gitlab-skdjfklj
* If required, restart rollout:
oc rollout restart deployment/gitlab-skdjfklj
This task checks workload identity assignment through service accounts.
NEW QUESTION # 25
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 # 26
......
The EX280 exam aims to help organizations identify, hire, and retain professionals with the right set of skills and knowledge to manage OpenShift environments. Red Hat Certified Specialist in OpenShift Administration exam certification is a key requirement for many roles such as system administrators, DevOps engineers, and application developers. The EX280 exam offers a standardized measure of competency in OpenShift administration, which helps organizations ensure the quality of their teams, manage costs, and ensure compliance.
Pass RedHat EX280 Exam Quickly With VCE4Dumps: https://examtorrent.vce4dumps.com/EX280-latest-dumps.html