RedHat Red Hat Certified OpenShift Administrator EX280 Dumps in PDF

Free RedHat EX280 Real Questions (page: 5)

SIMULATION
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

  1. See Explanation section for answer.

Answer(s): A

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



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.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

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 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=

  1. See Explanation section for answer.

Answer(s): A

Explanation:

Solution:
$ oc project math
$ oc create secret generic magic --from-literal key=decoder_ring --from- literal value=XpWy9KdcP3Tr9FFHGQgZgVRCKukQdrQsbcl0c2ZYhDk=
$ oc get secret -n math



SIMULATION
Configure an application to use a secret
Configure the application called qed in the math project with the following requirements:
The application uses the secret previously created called: magic The secret defines an environment variable with name: DECODER_RING
The application output no longer displays: Sorry, application is not configured correctly.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

Solution:
$ oc get all | grep deploy
$ oc set env --from=secret/magic deployment.apps/qed



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

  1. See Explanation section for answer.

Answer(s): A

Explanation:

Solution:
$ oc project apples
$ oc create sa ex280sa
$ oc adm policy add-scc-to-user anyuid -z ex280sa



SIMULATION
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

  1. See Explanation section for answer.

Answer(s): A

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



SIMULATION
Task 1
Manage Identity Provider
Task information Details: Create the following HTPasswd users: bob, qwerty, john, armstrong, natasha, harry, susan. Create a secret from the HTPasswd file in openshift-config. Configure cluster OAuth to use the HTPasswd identity provider. Restart the OAuth pods so the new authentication configuration takes effect.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

Solution:
Create the initial HTPasswd file with the first user:
htpasswd -c -B -b /tmp/htpass.txt bob indionce
Add the remaining users:
htpasswd -b /tmp/htpass.txt qwerty catalog htpasswd -b /tmp/htpass.txt john john123
htpasswd -b /tmp/htpass.txt armstrong natasha123
htpasswd -b /tmp/htpass.txt natasha arthstrong htpasswd -b /tmp/htpass.txt harry harry123
htpasswd -b /tmp/htpass.txt susan susuan123
Create the secret in openshift-config:
oc create secret generic ex280-secure --from-file=htpasswd=/tmp/htpass.txt -n openshift-config
Edit OAuth and add the HTPasswd identity provider:
oc edit oauth cluster
Use a valid structure like this:
spec:
identityProviders:
- name: ex280-idp-secure mappingMethod: claim type: HTPasswd htpasswd:
fileData:
name: ex280-secure
Save and exit.
Restart OAuth pods:
oc delete pod -n openshift-authentication -l app=oauth-openshift
Verify:
oc get pods -n openshift-authentication oc get oauth cluster -o yaml
This task validates OpenShift local authentication configuration through HTPasswd and cluster OAuth integration.



SIMULATION
Task 2
Manage Cluster Project and Permission
Task information Details: Create projects apollo, test, and demo. Grant bob the cluster-admin role. Prevent ordinary authenticated users from self-provisioning projects. Allow john to create projects. Give natasha view-only access to test and apollo. Give armstrong admin access to apollo. Remove the kubeadmin user secret.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

Solution:
Create the projects:
oc new-project apollo oc new-project test oc new-project demo
Grant cluster-admin to bob:
oc adm policy add-cluster-role-to-user cluster-admin bob
Disable normal self-provisioning for authenticated users:
oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth
Allow john to self-provision:
oc adm policy add-cluster-role-to-user self-provisioner john
Give natasha view access in test and apollo:
oc policy add-role-to-user view natasha -n test oc policy add-role-to-user view natasha -n apollo
Give armstrong admin in apollo:
oc policy add-role-to-user admin armstrong -n apollo
Remove kubeadmin secret:
oc delete secret kubeadmin -n kube-system
Verify permissions:
oc adm policy who-can create projectrequests oc describe rolebinding.rbac -n apollo oc describe rolebinding.rbac -n test
This task tests core OpenShift administration around project lifecycle control, cluster-level RBAC, and decommissioning default bootstrap credentials.



Share your comments for RedHat EX280 exam with other users:

A
AJ
9/24/2023 9:32:00 AM

hi please upload sre foundation and practitioner exam questions

P
peter parker
8/10/2023 10:59:00 AM

the exam is listed as 80 questions with a pass mark of 70%, how is your 50 questions related?

B
Berihun
7/13/2023 7:29:00 AM

all questions are so important and covers all ccna modules

N
nspk
1/19/2024 12:53:00 AM

q 44. ans:- b (goto setup > order settings > select enable optional price books for orders) reference link --> https://resources.docs.salesforce.com/latest/latest/en-us/sfdc/pdf/sfom_impl_b2b_b2b2c.pdf(decide whether you want to enable the optional price books feature. if so, select enable optional price books for orders. you can use orders in salesforce while managing price books in an external platform. if you’re using d2c commerce, you must select enable optional price books for orders.)

M
Muhammad Rawish Siddiqui
12/2/2023 5:28:00 AM

"cost of replacing data if it were lost" is also correct.

A
Anonymous
7/14/2023 3:17:00 AM

pls upload the questions

M
Mukesh
7/10/2023 4:14:00 PM

good questions

E
Elie Abou Chrouch
12/11/2023 3:38:00 AM

question 182 - correct answer is d. ethernet frame length is 64 - 1518b. length of user data containing is that frame: 46 - 1500b.

D
Damien
9/23/2023 8:37:00 AM

i need this exam pls

N
Nani
9/10/2023 12:02:00 PM

its required for me, please make it enable to access. thanks

E
ethiopia
8/2/2023 2:18:00 AM

seems good..

W
whoAreWeReally
12/19/2023 8:29:00 PM

took the test last week, i did have about 15 - 20 word for word from this site on the test. (only was able to cram 600 of the questions from this site so maybe more were there i didnt review) had 4 labs, bgp, lacp, vrf with tunnels and actually had to skip a lab due to time. lots of automation syntax questions.

V
vs
9/2/2023 12:19:00 PM

no comments

J
john adenu
11/14/2023 11:02:00 AM

nice questions bring out the best in you.

O
Osman
11/21/2023 2:27:00 PM

really helpful

E
Edward
9/13/2023 5:27:00 PM

question #50 and question #81 are exactly the same questions, azure site recovery provides________for virtual machines. the first says that it is fault tolerance is the answer and second says disater recovery. from my research, it says it should be disaster recovery. can anybody explain to me why? thank you

M
Monti
5/24/2023 11:14:00 PM

iam thankful for these exam dumps questions, i would not have passed without this exam dumps.

A
Anon
10/25/2023 10:48:00 PM

some of the answers seem to be inaccurate. q10 for example shouldnt it be an m custom column?

P
PeterPan
10/18/2023 10:22:00 AM

are the question real or fake?

C
CW
7/11/2023 3:19:00 PM

thank you for providing such assistance.

M
Mn8300
11/9/2023 8:53:00 AM

nice questions

N
Nico
4/23/2023 11:41:00 PM

my 3rd purcahse from this site. these exam dumps are helpful. very helpful.

C
Chere
9/15/2023 4:21:00 AM

found it good

T
Thembelani
5/30/2023 2:47:00 AM

excellent material

V
vinesh phale
9/11/2023 2:51:00 AM

very helpfull

B
Bhagiii
11/4/2023 7:04:00 AM

well explained.

R
Rahul
8/8/2023 9:40:00 PM

i need the pdf, please.

C
CW
7/11/2023 2:51:00 PM

a good source for exam preparation

A
Anchal
10/23/2023 4:01:00 PM

nice questions

J
J Nunes
9/29/2023 8:19:00 AM

i need ielts general training audio guide questions

A
Ananya
9/14/2023 5:16:00 AM

please make this content available

S
Swathi
6/4/2023 2:18:00 PM

content is good

L
Leo
7/29/2023 8:45:00 AM

latest dumps please

L
Laolu
2/15/2023 11:04:00 PM

aside from pdf the test engine software is helpful. the interface is user-friendly and intuitive, making it easy to navigate and find the questions.

AI Tutor 👋 I’m here to help!