Docker and Kubernetes Quiz

Docker and Kubernetes Quiz

Assessment

Quiz

Other

Professional Development

Hard

Created by

Intern undefined

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

46 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following command is used to build a Docker image from a Dockerfile?

docker run

docker compose

docker build

docker create

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default network driver when a Docker container is started without specifying a network?

bridge

host

none

overlay

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check the logs of a specific container?

docker logs

docker inspect

docker show

docker status

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove all stopped containers, unused networks, and dangling images?

docker rm

docker rmi

docker prune

docker system prune

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default storage driver for Docker on Linux?

aufs

btrfs

overlay2

zfs

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to see the layers of a Docker image?

docker layers

docker history

docker info

docker show

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a limitation of Docker Swarm compared to Kubernetes?

Lack of service discovery

Limited scaling capabilities

Lack of a built-in monitoring solution

No support for container orchestration

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?