SIMULATIONScale an application automaticallyAutomatically scale the hydra application deployment configuration in the lerna project with the following requirements:Minimum number of replicas: 6 Maximum number of replicas: 9Target average CPU utilization: 60 percent Container CPU resource request: 25m Container CPU resource limit: 100m
Answer(s): A
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
SIMULATIONConfigure a secure routeConfigure the oxcart application in the area51 project with the following requirements:The application uses a route called oxcartThe 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.comThe application produces outputA 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
SIMULATIONConfigure a secretConfigure a secret in the math project with the following requirements: The name of the secret is: magicThe secret defines a key with name: decoder_ring The secret defines the key with value:XpWy9KdcP3Tr9FFHGQgZgVRCKukQdrQsbcl0c2ZYhDk=
Solution:$ oc project math$ oc create secret generic magic --from-literal key=decoder_ring --from- literal value=XpWy9KdcP3Tr9FFHGQgZgVRCKukQdrQsbcl0c2ZYhDk=$ oc get secret -n math
SIMULATIONConfigure an application to use a secretConfigure 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_RINGThe application output no longer displays: Sorry, application is not configured correctly.
Solution:$ oc get all | grep deploy$ oc set env --from=secret/magic deployment.apps/qed
SIMULATIONConfigure a service accountConfigure a service account in the apples project to meet the following requirements:The name of the account is ex280saThe 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
SIMULATIONDeploy an applicationDeploy the application called oranges in the apples project so that the following conditions are true:The application uses the ex280sa service accountNo additional configuration components have been added or removed The application produces output
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
SIMULATIONTask 1Manage Identity ProviderTask 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.
Solution:Create the initial HTPasswd file with the first user:htpasswd -c -B -b /tmp/htpass.txt bob indionceAdd the remaining users:htpasswd -b /tmp/htpass.txt qwerty catalog htpasswd -b /tmp/htpass.txt john john123htpasswd -b /tmp/htpass.txt armstrong natasha123htpasswd -b /tmp/htpass.txt natasha arthstrong htpasswd -b /tmp/htpass.txt harry harry123htpasswd -b /tmp/htpass.txt susan susuan123Create the secret in openshift-config:oc create secret generic ex280-secure --from-file=htpasswd=/tmp/htpass.txt -n openshift-configEdit OAuth and add the HTPasswd identity provider:oc edit oauth clusterUse a valid structure like this:spec:identityProviders:- name: ex280-idp-secure mappingMethod: claim type: HTPasswd htpasswd:fileData:name: ex280-secureSave and exit.Restart OAuth pods:oc delete pod -n openshift-authentication -l app=oauth-openshiftVerify:oc get pods -n openshift-authentication oc get oauth cluster -o yamlThis task validates OpenShift local authentication configuration through HTPasswd and cluster OAuth integration.
SIMULATIONTask 2Manage Cluster Project and PermissionTask 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.
Solution:Create the projects:oc new-project apollo oc new-project test oc new-project demoGrant cluster-admin to bob:oc adm policy add-cluster-role-to-user cluster-admin bobDisable normal self-provisioning for authenticated users:oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauthAllow john to self-provision:oc adm policy add-cluster-role-to-user self-provisioner johnGive 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 apolloGive armstrong admin in apollo:oc policy add-role-to-user admin armstrong -n apolloRemove kubeadmin secret:oc delete secret kubeadmin -n kube-systemVerify permissions:oc adm policy who-can create projectrequests oc describe rolebinding.rbac -n apollo oc describe rolebinding.rbac -n testThis 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:
question 134s answer shoule be "dlp"
in 72 the answer must be [sys_user_has_role] table.
i appreciated the mix of multiple-choice and short answer questions. i passed my exam this morning.
great to find this website, thanks
examination questions seem to be relevant.
planning to take psm test
please allow to download
please provide dumps
is the answer to question 15 correct ? i feel like the answer should be b
its getting more technical
i think these questions are what i need.
helpful assessment
i am confused about the answers to the questions. do you know if the answers are correct?
hi, please make the dumps available for my upcoming examination.
good practice
so far it is really informative
hi i want it please please upload it
am preparing for exam ,just nice questions
please upload c_tadm_23 exam
can we get tdvan4 vantage data engineering pdf?
want to clear the exam.
could you please upload the dumps of sap c_sac_2302
asm management configuration is about storage
kool thumb up
just passed the az-500 exam this last friday. most of the questions in this exam dumps are in the exam. i bought the full version and noticed some of the questions which were answered wrong in the free version are all corrected in the full version. this site is good but i wish the had it in an interactive version like a test engine simulator.
i can practice for exam
please i need this exam.
i need the dump
i want it bad, even if cs6 maybe retired, i want to learn cs6
i hate comptia with all my heart with their "choose the best" answer format as an argument could be made on every question. they say "the "comptia way", lmao no this right here boys is the comptia way 100%. take it from someone whos failed this exam twice but can configure an entire complex network that these are the questions that are on the test 100% no questions asked. the pbqs are dead on! nice work
very good materials
thanks for your support.
iam impressed with the quality of these dumps. they questions and answers were easy to understand and the xengine app was very helpful to use.
not bad but you question database from isaca
Keeping this site free takes real effort. We constantly battle automated scraping and unauthorized content copying. A quick account helps us protect the community and keep the site free.
To continue studying for your EX280, please sign in or create a free account.