Search Header Logo

Day 5 - OCP Troubleshoot and labs

Authored by Bernardo Segura

Computers

Professional Development

Used 1+ times

Day 5 - OCP Troubleshoot and labs
AI

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

Media Image

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

Media Image

ArgoCD is a Continuous Delivery DevOps tool?

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?