Docker/Docker Mcq Question Set 1 Sample Test,Sample questions

Question:
 Docker containerd is a core container runtime that manages?

1. The resources necessary to run the container

2.The container lifecycle of its Linux or Windows host system

3.Log analysis and reporting

4.Container and data security


Question:
 Identify the component of the Docker?

1.Image

2.Platform image

3.Container

4.All of the above


Question:
 Identify the type of Docker components?

1. The Host

2.The Registry

3.The Client

4.All of the above


Question:
 What are the features of docker?

1. Easy Modeling

2.Version control

3.Placement/Affinity

4.All of the above


Question:
A docker container is an instance of an image with a specific configuration.

1. True

2.False

3.all of the above

4.None of the mentioned


Question:
A docker registry is a place to store and distribute docker

1. Files

2.Codes

3.Images

4.All of the above


Question:
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.

1.True

2.False

3.all of the above

4.None of the mentioned


Question:
Containers running on a single machine all share the same operating system kernel, so they start instantly and make more efficient use of RAM.

1. True

2.False

3.all of the above

4.None of the mentioned


Question:
Docker develop in which year?

1.2013

2.2014

3.2016

4.2012


Question:
Docker host's IP address by default is 192.168.99.100.

1. True

2.False

3.all of the above

4.None of the mentioned


Question:
Docker Machine manage virtual hosts that use___

1.Command line

2.Docker Datacenter

3.Graphical user interface

4.Any of the above


Question:
How many states are there of docker containers?

1.Three

2.Four

3.Five

4.Six


Question:
How many types of the registry is there?

1. Two

2.Three

3.Four

4.Five


Question:
How to install Docker?

1.yum install docker

2.rm install docker

3.install docker

4.start docker


Question:
How to push the new image to Docker registry?

1.docker kill myorg/myimg

2.docker rm myorg/myimg

3.docker push myorg/myimg

4.docker sudo myorg/myimg


Question:
How you manage Docker images?

1. Docker Hub

2.Docker Registry

3.Docker Swarm

4.Both A & B


Question:
Identify the false advantage of docker?

1.Docker provides a difficult set-up initially.

2.Simple configuration and interaction with docker composed as possible.

3.The application lifecycle can be described in detail, docker grants permission for it

4.Documentation provides information in detail.


Question:
Identify the feature of Docker?

1.Easy Modeling

2.Placement/Affinity

3.Version control

4.All of the above


Question:
Identify the lifecycle of Docker Container?

1. Create a container.

2.Run the Docker container.

3.Pause the Container.

4.All of the above


Question:
Identify the true statement about memories web swap flag?

1.Swap permits the container for writing to express memory requirements to disc

2.When the container gets exhausted all the ramp available then only swap permits for writing the express memory requirements to disc.

3.Memory swap is the modification flag that only exists if memory is getting

4.All of the above


Question:
What command should you run to see all running container in Docker?

1. $ docker ps

2.$ docker rm

3.$ docker sudo

4.$ docker add


Question:
What is a benefit for a developer using docker?

1.Standardization and Productivity

2.Compatibility and Maintainability

3.CI Efficiency & Rapid Deployment

4.All of the above


Question:
What is a Dockerfile?

1.A developer who loves Docker and containerization, frequently espousing its virtues

2.Any report or document that Docker components produce

3.Any folder or document to run Docker components

4.A template used to describe the build of an image


Question:
Which is not true about docker hub?

1.The Hub is a network service

2.It's a totally private repository

3.It gives access to Docker images

4.Docker Hub is a network storage


Question:
Which of the following command is used for running the images as a container?

1.$ docker PS

2.$ Sudo docker run -i -t alpine /bin/bash

3.$ Sudo docker run container name

4.All of the above


Question:
Which of the following command is used for stopping a running container?

1. $ docker stop <:container_id>

2.$ docker kill <:container_id>

3.$ docker start <:container_id>

4.$ docker rm <:container_id>


Question:
Which of the following is used for monitoring the docker in a production environment?

1.Docker stats.

2.Docker events

3.Both 1 and 2

4.None of these


Question:
Which of the following statement is false about the public registry?

1.There is the availability of millions of images in the Docker hub.

2.The public registry helps in creating public dockers.

3.The public registry also called a docker hub.

4.Docker hub permits you for storing images privately.


Question:
Who created Docker?

1. Wilbur Davenport.

2.Clarence Madison Dally.

3.Solomon Hykes

4.Walter Dandy


Question:
___is a cloud-hosted service from Docker that provides registry capabilities for public and private content.

1. Docker Cloud

2.Docker Swarm

3.Docker Hub

4.Docker Compose


Question:
____is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual Docker host.

1.Docker Hub

2.Docker Swarm

3.Docker Compose

4.Docker Cloud


More MCQS

  1. Docker Mcq Question Set 1
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!