EX280 Exam Questions & Answers
Red Hat Certified OpenShift Administrator • RedHat
100% money-back guarantee
Sample EX280 Questions
Practice with real exam-style questions, each with the verified correct answer and explanation.
SIMULATION
Configure a secure route
Configure the oxcart application in the area51 project with the following requirements:
The application uses a route called oxcart
The application uses a CA signed certificate with the following subject fields:
/C=US/ST=NV/L=Hiko/O=CIA/OU=USAF/CN=classified.apps.domainxx.example.com The application is reachable only at the following address: https://classified.apps.domainxx.example.com
The application produces output
A utility script called newcert has been provided to create the CA signed certificate. You may enter the certificate parameters manually or pass the subject as a parameter.
Your certificate signing request will be uploaded to the CA where it will immediately be signed and then downloaded to your current directory.
Solution:
$ oc project area51
$ oc get pods
$ oc get all | grep deployment
$ oc get route
$ oc delete route oxcart
$ openssl genrsa -out ex280.key 2048
$ openssl req -new -key ex280.key -out ex280.csr -subj '/C=US/ST=NV/L=Hiko/O=CIA/OU=USAF/CN=classified.apps.domainxx.example.com'
$ openssl x509 -req -in ex280.csr -signkey ex280.key -out ex280.crt
$ oc create route edge oxcart --service oxcart --key ex280.key --cert ex280.crt --hostname classified.apps.domainxx.example.com
$ oc get route
$ oc get svc
SIMULATION
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
Solution:
$ oc project manhattan
$ oc create quota ex280-quota -- hard=memory=1Gi,cpu=2,pods=3,services=6,replicationcontrollers=3
$ oc get resourcequota
SIMULATION
Task 13
Install Helm Chart
Task information Details:
Add the Helm repository do280-repo and install the example-app release from the specified chart.
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.
SIMULATION
Task 8
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.
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.
SIMULATION
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
Solution:
$ oc project apples
$ oc create sa ex280sa
$ oc adm policy add-scc-to-user anyuid -z ex280sa
Get access to all 33 verified questions with detailed answers.
Unlock All EX280 Questions