wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Docker and Kubernetes - Day-1

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

The language used to write Dockerfile is:

a)

None of them

b)

JSON

c)

XML

d)

YAML

2.

Docker is written in programming language:

a)

C++

b)

JavaScript

c)

Go

d)

Scala

3.

A container is:

a)

An instance of docker image

b)

a process bound by Linux Primitives

c)

an isolated space in Linux Primitives

d)

an unified way to ship software

4.

The isolation between processes in Linux is achieved through:

a)

cgroups

b)

namespaces

c)

Linux Primitives

d)

security groups

5.

How do you map a host port to the container port?

a)

docker run -it image:5000

b)

docker run -p 5000:5000 image:5000

c)

docker run --expose 5000:5000 image:5000

d)

None of them are correct

6.

The command to show the logs from docker container is:

a)

docker log <containerName>

b)

docker logs -t <containerName>

c)

docker logs <containerName>

d)

docker log -t <containerName>

7.

The containers run on top of:

a)

Docker Engine

b)

Kernel

c)

Hypervisor

d)

Docker image

8.

Docker command use to create and start a container is:

a)

docker exec

b)

docker start

c)

docker create

d)

docker run

9.

The standards around container formats and runtimes is:

a)

Container runtime

b)

Open Container Specification

c)

Cloud Native Container Specification

d)

Open Container Initiative

10.

Which of the following is a valid Dockerfile instruction?

a)

ENTRY

b)

RUN

c)

EXEC

d)

BUILD