wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Dockerization

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

Which command is used to start a Docker container?

a)

docker start

b)

docker create

c)

docker run

d)

docker init

2.

What is a Docker image?

a)

A running instance of a Docker container

b)

A snapshot of a Docker container

c)

A configuration file for a Docker container

d)

A log file generated by a Docker container

3.

How are Docker images organized and stored?

a)

On the local machine's file system

b)

In a remote Git repository

c)

In a central Docker registry

d)

In a distributed peer-to-peer network

4.

What is the main advantage of using Docker for application deployment?

a)

Faster application performance

b)

Reduced development time

c)

Lower hardware requirements

d)

Improved security through isolation

5.

How many docker images are required to deploy a 2 microservices in dev, uat and prod environments?

a)

2

b)

3

c)

1

d)

4

6.

How does Dockerization simplify the management of development dependencies?

a)

By providing a centralized dependency repository

b)

By isolating dependencies within containers

c)

By automatically resolving dependency conflicts

d)

None of the above

7.

How does Dockerization enhance collaboration among developers?

a)

By facilitating code sharing and version control

b)

By providing real-time collaboration features

c)

By automating code reviews and bug tracking

d)

All of the above

8.

How does Dockerization improve the scalability of applications?

a)

By automatically scaling resources based on demand

b)

By providing load balancing capabilities

c)

By integrating with orchestration tools for automatic scaling

d)

None of the above

9.

How does Dockerization improve the efficiency of testing?

a)

By allowing parallel execution of tests in containers

b)

By simplifying the setup and teardown of test environments

c)

By providing isolated environments for running tests

d)

None of the above

10.

How does Dockerization improve the efficiency of resource utilization?

a)

By reducing the memory footprint of applications

b)

By automatically optimizing resource allocation based on application needs

c)

By providing real-time monitoring of resource usage for optimization

d)

All of the above