Docker basics

Docker basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz Webinar Docker 25 April 21

Quiz Webinar Docker 25 April 21

Professional Development

10 Qs

Docker

Docker

Professional Development

11 Qs

DevOps MCQ

DevOps MCQ

Professional Development

10 Qs

Operating system

Operating system

Professional Development

10 Qs

Revision Monday - Part 3

Revision Monday - Part 3

Professional Development

10 Qs

Docker

Docker

Professional Development

10 Qs

Skill Builder Day - Quiz

Skill Builder Day - Quiz

Professional Development

8 Qs

Enhance your Cloud-Native SuperPower - Quiz 3

Enhance your Cloud-Native SuperPower - Quiz 3

Professional Development

15 Qs

Docker basics

Docker basics

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

Akhilash K

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a Dockerfile?

Docker cannot be build images automatically by reading the instructions from a file called Dockerfile.

Docker can build audio automatically by reading the instructions from a file called Dockerfile.

Docker can build images automatically by reading the instructions from a file called Dockerfile.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How to build a Dockerfile?

$ docker build <path to docker file>

$ docker build to <path to docker file>

$ docker build in <path to docker file>

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Docker image is created with a series of read-only layers and layer in docker represents instructions on the Dockerfile of the image.

The hypervisor needs extensive hardware for proper function while docker is implemented on an actual operating system.

The hypervisor needs extensive software for proper function while docker is implemented on an actual hardware system.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Docker can build images automatically by reading the instructions from:

docker.config

docker.json

docker.yaml

Dockerfile

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the FROM instruction do in a Dockerfile?

FROM creates a layer from a base Docker image.

FROM specifies the creator of the image

FROM is an invalid instruction

FROM adds files from your Docker client’s current directory

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the COPY instruction do in a Dockerfile?

COPY makes a copy of your Dockerfile

COPY adds files from your Docker client’s current directory

COPY creates a copy of your running container

COPY creates a copy of your image

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which command is used for running the images as a container?

$ docker PS

Sudo docker run container name

$ Sudo docker run -i -t alpine /bin/bash

All of the above

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?