
Day 5 - OCP Troubleshoot and labs
Authored by Bernardo Segura
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which command do we use to extract a yaml file from a specific object?
oc get <object> <objectName> -y yaml >> destinationFile.yaml
oc get <object> <objectName> -o yaml >> destinationFile.yaml
oc get <objectName> > destinationFile.yaml
oc describe <objectName> > destinationFile.yaml
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ArgoCD is a Continuous Delivery DevOps tool?
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What command should we use to create a resource from a YAML file?
oc replace -o <file.yaml>
oc add -f <file.yaml>
oc create -o <file.yaml>
oc create -f <file.yaml>
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
This command we should use to edit a deployment.
oc edit deployment <deploymentName> -f
oc describe deployment <deploymentName>
oc vi deployment <deploymentName>
oc edit deployment <deploymentName>
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What command should we use to create a service from a deployment?
oc expose service <servicename> --port 8080
oc create service <servicename>
oc expose deployment <deploymentName>
oc create deploy <servicename>
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The routes are the way to expose our service to the world?
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?