Search Header Logo

Docker quiz 221

Authored by Rajani Sajjan

Computers

Professional Development

Used 1+ times

Docker quiz 221
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Vikrant is a software developer who needs to deploy his applications consistently across different environments. He is considering various tools to help him with this task. What is the primary role of Docker?

A container platform

A cloud service provider

A virtual machine manager

A container orchestration tool

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command is used to stop a running Docker container?

docker exit

docker kill

docker remove

docker stop

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the 'docker ps' command do?

Lists all Docker images

Lists all running containers

Removes stopped containers

Pulls images from Docker Hub

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a Dockerfile used for?

To run containers

To create Docker images

To manage Docker networks

To install Docker

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a benefit of using Docker?

Slower deployment

Increased hardware requirements

Portability

Complex setup

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the command to remove a Docker image?

docker clean

docker remove

docker rmi

docker delete

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the 'FROM' instruction in a Dockerfile specify?

The environment variables

The base image

The command to run

The exposed ports

Access all questions and much more by creating a free account

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

Already have an account?