최신 EX280 무료덤프 - RedHat Red Hat Certified Specialist in OpenShift Administration

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.
정답:
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.
Create LimitRanges for Project Darpa
Task information Details:
Switch to project darpa and create a LimitRange with Pod and Container minimums and maximums of CPU and memory, plus default container values.
정답:
See the solution below in Explanation.
Explanation:
Solution:
* Switch to the target project:
oc project darpa
* Create a YAML file, for example limitrange.yaml:
apiVersion: v1
kind: LimitRange
metadata:
name: darpa-limits
namespace: darpa
spec:
limits:
- type: Pod
max:
cpu: 300m
memory: 300Mi
min:
cpu: 5m
memory: 5Mi
- type: Container
max:
cpu: 300m
memory: 300Mi
min:
cpu: 5m
memory: 5Mi
default:
cpu: 100m
memory: 100Mi
* Apply it:
oc apply -f limitrange.yaml
* Verify:
oc get limitrange -n darpa
oc describe limitrange darpa-limits -n darpa
This task validates namespace-level defaulting and constraint policies for pod scheduling and resource consumption.
Scale Application Manually
Task information Details:
Scale the httpd deployment to 5 replicas .
정답:
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.
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.
정답:
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.

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기