SIMULATIONConfigure an identity providerConfigure 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-secretThe user account armstrong=indionce The user account collins=veraster The user account aldrin=roonkere The user account jobs=sestiverThe user account wozniak=glegunge
Answer(s): A
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;
SIMULATIONConfigure cluster permissionsConfigure your OpenShift cluster to meet the following requirements: The user account jobs can perform cluster administration tasks The user account wozniak can create projectsThe user account wozniak cannot perform cluster administration tasks The user account armstrong cannot create projectsThe user account kubeadmin is not present
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
SIMULATIONConfigure project permissionsConfigure your OpenShift cluster to meet the following requirements: The following projects exist:apollo manhattan gemini bluebook titanThe user account armstrong is an administrator for project apollo and project geminiThe user account wozniak can view project titan but not administer or delete it
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
SIMULATIONConfigure groupsConfigure 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 groupThe user account aldrin is a member of the pilot groupMembers of the commander group have edit permission in the apollo project Members of the pilot group have view permission in the apollo project
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
SIMULATIONConfigure quotasConfigure your OpenShift cluster to use quotas in the manhattan project with the following requirements:The name of the ResourceQuota resource is: ex280-quotaThe amount of memory consumed across all containers may not exceed 1GiThe total amount of CPU usage consumed across all containers may not exceed2 full coresThe maximum number of replication controllers does not exceed 3 The maximum number of pods does not exceed 3The 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
SIMULATIONConfigure limitsConfigure your OpenShift cluster to use limits in the bluebook project with the following requirements:The name of the LimitRange resource is: ex280-limitsThe amount of memory consumed by a single pod is between 5Mi and 300Mi The amount of memory consumed by a single container is between 5Mi and300Mi with a default request value of 100MiThe amount of CPU consumed by a single pod is between 10m and 500mThe amount of CPU consumed by a single container is between 10m and 500m with a default request value of 100m
Solution:$ vim limit.yaml# Edit the yaml file like below mentioned apiVersion: "v1" kind: "LimitRange" metadata:name: "resource-limits" spec:limits:- type: "Pod"max:cpu: "500m" memory: "300Mi"min:cpu: "10m" memory: "5Mi"- type: "Container" max:cpu: "500m" memory: "300Mi"min:cpu: "10m" memory: "5Mi"defaultRequest: cpu: "100m" memory: "100Mi"$ oc create -f limit.yaml --save-config -n bluebook$ oc describe limitranges -n bluebook
SIMULATIONDeploy an applicationDeploy 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.comThe application produces output
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
SIMULATIONScale an application manuallyManually scale the minion application in the gru project to a total of 5 replicas.
Solution:$ oc project gru$ oc get pods$ oc get all | grep deployment$ oc scale --replicas=5 deployment.apps/minion$ oc get pods
Share your comments for RedHat EX280 exam with other users:
please reopen it now ..its really urgent
these practice exam questions were exactly what i needed. the variety of questions and the realistic exam-like environment they created helped me assess my strengths and weaknesses. i felt more confident and well-prepared on exam day, and i owe it to this exam dumps!
thank u it very instructuf
its helpful?
is this dump still valid???
question 205 answer is b
question 39, should be answer b, directions stated is being sudneted from /21 to a /23. a /23 has 512 ips so 510 hosts. and can make 4 subnets out of the /21
beautiful test engine software and very helpful. questions are same as in the real exam. i passed my paper.
the questions are exactly the same in real exam. just make sure not to answer all them correct or else they suspect you are cheating.
question: 78 the right answer i think is d not a
very helpful
i am writing this exam tomorrow and have dumps
can i have the icdl excel exam
please upload it
hye when will post again the past year question for this h13-311_v3 part since i have to for my test tommorow…thank you very much
on question 22, option b-once per session is also valid.
this website is very helpful
its my first time exam
correct answers are device configuration-enable the automatic installation of webview2 runtime. & policy management- prevent users from submitting feedback.
is this dump still valid? today is 9-july-2023
i need this exam.. please upload these are really helpful
please upload the oracle 1z0-1059-22 dumps
very good questions
nice, first step to exams
is this valid for chfiv9 as well... as i am reker 3rd time...
great exam for people taking 220-1101
this is very helpfull for me
just started preparing for the exam
these are the type of questions i need.
does this actually work? are they the exam questions and answers word for word?
thanks for providing these questions
interesting
these dumps are pretty good.
good questions