Docker

Docker

Professional Development

11 Qs

quiz-placeholder

Similar activities

Cloud Computing  week8

Cloud Computing week8

Professional Development

10 Qs

Cloud Computing Quiz week 10

Cloud Computing Quiz week 10

Professional Development

10 Qs

Gitlab

Gitlab

Professional Development

8 Qs

jop-test1

jop-test1

Professional Development

10 Qs

AI102-TCS-Day1

AI102-TCS-Day1

Professional Development

9 Qs

Docker basics

Docker basics

Professional Development

10 Qs

AZ-204_Module_3

AZ-204_Module_3

Professional Development

9 Qs

Revision Quiz 1

Revision Quiz 1

Professional Development

10 Qs

Docker

Docker

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

DevOps MCQ

Used 2+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Docker image?

 A running instance of a Docker container

A virtual machine template

A snapshot of a Docker container

A compressed archive containing an application and its dependencies

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following options is not available for containers?

build

 update

destroy

create

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option is used to map a port from the host to the container when running a Docker container?

-e

-v

-p

-i

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a Docker Volume?

To store Docker images efficiently

To create isolated networks for containers

To manage container logs and outputs

To persist data beyond the lifecycle of a container

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Docker networking mode allows containers to communicate with each other on the same host?

Bridge

Host

Overlay

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Dockerfile instructions admit Shell and Exec formats?

RUN

Only CMD

 ENTRYPOINT and CMD

All Dockerfile instructions admit both Exec and Shell formats

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We executed a container named webserver. Which of the following sentences is false?

 It can be removed using docker container rm --force

We can update its image using docker container update

We can rename the webserver container to websrv using docker container rename

We can view the container's output using docker container logs

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?