Docker MCQs with answers Page - 1

Dear candidates you will find MCQ questions of Docker here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

V

Vikash Gupta • 33.56K Points
Instructor I

Q. What is Docker primarily used for?

  • (A) Virtualization
  • (B) Containerization
  • (C) Cloud Storage
  • (D) Web Hosting

V

Vinay • 28.75K Points
Instructor II

Q. Which command is used to list all running Docker containers?

  • (A) docker ps
  • (B) docker list
  • (C) docker show
  • (D) docker containers

S

Shiva Ram • 30.44K Points
Instructor I

Q. Which file is used to define a Docker image build process?

  • (A) Dockerfile
  • (B) docker-compose.yml
  • (C) Docker.config
  • (D) Docker.json

P

Priyanka Tomar • 35.28K Points
Coach

Q. What does the 'docker run' command do?

  • (A) Starts a new container
  • (B) Stops a container
  • (C) Removes a container
  • (D) Lists all containers

V

Vinay • 28.75K Points
Instructor II

Q. Which Docker command is used to download an image from Docker Hub?

  • (A) docker get
  • (B) docker pull
  • (C) docker download
  • (D) docker import

G

Gopal Sharma • 38.32K Points
Coach

Q. What is Docker?

  • (A) A programming language
  • (B) A containerization platform
  • (C) A cloud service provider
  • (D) A database management system

P

Praveen Singh • 36.71K Points
Coach

Q. Which command is used to create a new Docker container?

  • (A) docker start
  • (B) docker run
  • (C) docker create
  • (D) docker build

R

Rakesh Kumar • 28.44K Points
Instructor II

Q. What is a Docker image?

  • (A) A running instance of a container
  • (B) A template for creating containers
  • (C) A virtual machine
  • (D) A Docker network

V

Vinay • 28.75K Points
Instructor II

Q. Which command lists all running Docker containers?

  • (A) docker ps
  • (B) docker ls
  • (C) docker list
  • (D) docker containers

P

Praveen Singh • 36.71K Points
Coach

Q. What is the purpose of Docker Compose?

  • (A) To build Docker images
  • (B) To manage multiple containers as a single service
  • (C) To monitor Docker containers
  • (D) To create Docker networks

Download our easy to use, user friendly Android App from Play Store. And learn MCQs with one click.

Image

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.