0 votes
in Docker by
Docker- Container Orcas Questions and Answers

1 Answer

0 votes
by

Below we have listed the few Docker Container Orcas MCQ Questions that check your basic knowledge of Docker Quiz.

(1)Which of the following is not an example of Virtualization?

a) Memory virtualization

b) None of the options mentioned

c) Data virtualization

d) Desktop virtualization

Answer:-None of the options mentioned

(2)Which of the following is a cloud-hosted service from Docker that provides registry capabilities for public and private content?

a) Docker Hub

b) Docker Cloud

c) Docker Swarm

d) Docker Compose

 

Answer:-Docker Hub

(3)Which of the following is a text document that contains all the commands a user could call on the command line to assemble an image?

a) Docker Cloud

b) Dockerfile

c) Docker Kitematic

d) Docker Compose

 

Answer:-Dockerfile 

(4)VM runs on___________.

a)Child machine

b)Host machine

c)Container machine

d)Base machines

Answer:-Host machine

(5)Another name for Hypervisor is___________.

a)Containers

b)Virtual Machines

c)Images

d)Virtual Machine Monitor

ANswer:-Virtual Machine Monitor

(6)Which of the following is the criteria to be fulfilled by a ideal VMM?

a)VMM must have total control of the system resources.

b)VM should perform exactly the same way as it would perform on the physical machine.

c)The environment created for the VM should be same as original physical machine.

d)All of the given options

Answer:-All of the given options

(7)A virtual machine may be hosted on a system running Microsoft Windows and may behave like Ubuntu at the same time.

a)False

b)True

Answer:-True

(8)What is a Hypervisor?

a)Software running the VM

b)Collection of Vms

c)None of the options mentioned

d)The VM itself

Answer:-Software running the VM

(9)What is Hardware virtualization?

a)Creation of virtual machine that behaves like a real physical computer with an operating system!

b)We replace sophisticated hardwares with small and efficient hardwares.

c)Hardware is there but specialized softwares are installed in them.

d)All of the given options

Answer:-Creation of virtual machine that behaves like a real physical computer with an operating system!

(10)You can add new features to an existing image by ___________.

a)Adding the new layer with the changes.

b)Deleting un-necessary layers and adding modified layers.

c)Sharing the layers with other containers.

d)Changing the existing layer.

Answer:-Adding the new layer with the changes.

(11)A machine can not run multiple containers independently.

a)False

b)True

Answer:-False

(12)Docker Container _________

a)Enables quick start up

b)Uses Copy-on-write mechanism

c)All of the given options

d)Eliminates repetitive environment setup on different hosts.

Answer:-All of the given options

(13)Command used to build package of application and environment is ________.

a)Docker build

b)Docker package

c)Docker Jar

d)Docker images

Answer:-Docker build

(14)Which of the following is the native clustering for Docker?

a) Docker Hub

b) Docker Cloud

c) Docker Swarm

d) Docker Compose

 

Answer:-Docker Swarm

(15)What is Docker registry?

a) Storage

b) Content Delivery System

c) Both A & B

 

Answer:-Both A & B

(16)Content of an Image can be altered.

a)True

b)False

Answer:-False

(17)Docker Images can be run in _________.

a)Clouds

b)Physical Machines

c)All of the given options

d)Virtual Machines

Answer:-All of the given options

(18)What is a docker Image?

a)Repository where files are stored

b)Both the options mentioned

c)None of the options mentioned

d)Collection of all files, libraries, binaries and other dependencies

Answer:-Collection of all files, libraries, binaries and other dependencies

(19)Docker images are ___________.

a)Write only

b)Read only

c)Read-Write only

d)All of the given options

Answer:-Read only

(20)How will you check for the status of the docker running service?

a)service docker

b)check docker status

c)docker status

d)service docker status

Answer:-service docker status

(21)Which sub-command is used to create the new image?

a)docker commit

b)docker create

Answer:-docker commit

(22)How will you check the version of installed Docker?

a)-version

b)--version

c)docker –version

d)dockerversion

ANswer:-docker –version

(23)Docker command to run a image is ___________.

a)docker push

b)docker run

c)docker pull

d)docker save

Answer:-docker run

(24)Which sub-command helps you to verify the downloaded images?

a)docker images

b)docker prune

c)docker rm

d)docker image

Answer:-docker images

(25)Which sub command is used to download images from a registry?

a)docker extract

b)docker pull

c)docker download

d)docker push

ANswer:-docker pull

(26)Docker registry is a ___________.

a)Storage house for docker softwares

b)Storage house for the Docker images

c)Storage house for the Docker containers

d)None of the options mentioned

ANswer:-Storage house for the Docker images

(27)How will you check for the history of creation of an image?

a)docker imageName history

b)docker imageName show

c)docker history imageName

d)docker imageName show-history

Answer:-docker history imageName

(28) Who created Docker?

a) Walter Dandy

b) Solomon Hykes

c) Wilbur Davenport

d) Clarence Madison Dally

 

Answer:-Solomon Hykes

(29) Docker was developed in ..........

 a)2012

 b)2013

 c)2014

 d)2015

 

Answer:-2013

(30) What are the features of docker?

 a)Easy Modeling

 b)Version control

 c)Placement/Affinity

 d)All of the above

 

Answer:-All of the above

(31) .............. command is used for stopping a running container.

 a)$ docker kill

 b)$ docker rm

 c)$ docker stop

 d)$ docker start

 

(32) What is a benefit for a developer using Docker?

 a)Standardization and Productivity

 b)CI Efficiency & Rapid Deployment

 c)Compatibility and Maintainability

 d)All of the above

Answer:-Download Free : Docker MCQ PDF

 

All of the above

(33) A Docker registry is a place to store and distribute Docker ...............

 a)Codes

 b)Images

 c)Files

 Answer:-All of the above

 

Answer:-Images

(34) Is Docker still popular?

 a)Yes

 b)No

 

Answer:-Yes

(35) Does Kubernetes use Docker?

 a)Yes

b) No

 

Answer:-Yes

(36) Is docker image OS dependent?

 a)Yes

 b)No

 

Answer:-Yes

(37) Which command is used for running the images as a container?

a) $ docker PS

 b)$ Sudo docker run container name

 c)$ Sudo docker run -i -t alpine /bin/bash

 d)All of the above

Answer:-$ Sudo docker run -i -t alpine /bin/bash

(38) Which of the following is the native clustering for Docker?

a) Docker Hub

b) Docker Cloud

c) Docker Swarm

d) Docker Compose

 

Answer:-Docker Swarm

(39) What is Docker registry?

 a)Storage

 b)Content Delivery System

 c)Both A & B

 

Answer:-Both A & B

(40) What port does Docker registry use?

 a)Port 3000

 b)Port 5000

 c)Port 8000

 d)None of the above

 

Answer:-Port 5000

(41) A Docker container is an instance of an image with a specific configuration.

 a)True

 b)False

 

Answer:-True

(42) You can't create multiple containers from the same image in docker

 a)True

 b)False

 

Answer:-False

(43) How many private repositories are allowed for a individual on Docker hub?

a) 1

b) 2

 3

 4

 

Answer:-1

(44) Is Docker free for Windows?

 a)Yes

 b)No

 

Answer:-Yes

(45) Can we remove a paused container from Docker?

 a)Yes

 b)No

 

Answer:-No

(46)What is virtualization?

a)Creation of logical object version of something rather than actual Version.

b)No hardware at all.

c)Just another word for virtual storage.

d)Creation of actual version of something rather than logical object.

Answer:-Creation of logical object version of something rather than actual version.

(47)What is the drawback of virtualization?

a)All of the given options

b)Not easy to handle

c)Degraded performance

d)Physical Fault

Answer:-All of the given options

(48) Which of the following is a cloud-hosted service from Docker that provides registry capabilities for public and private content?

a) Docker Hub

 b)Docker Cloud

 c)Docker Swarm

 d)Docker Compose

 

Answer:-Docker Hub

(49) Which of the following is a text document that contains all the commands a user could call on the command line to assemble an image?

 a)Docker Cloud

 b)Dockerfile

 c)Docker Kitematic

 d)Docker Compose

 

Answer:-Dockerfile 

  

(50)Which of the following statements is not correct about Docker?

a)It lessens the extra work to be done by the developer.

b)It reduces the size of development.

c)Running containers can share OS kernel.

d)Containers are non-scalable.

Answer:-Containers are non-scalable.

(51)Image from the host machine can be deleted by using ___________.

a)docker -rm imageName

b)docker rm imageName

c)docker -rmi imageName

d)docker rmi imageName

Answer:-docker rmi imageName

Related questions

0 votes
asked Aug 8, 2022 in Docker by sharadyadav1986
0 votes
asked Jan 25 in Docker by GeorgeBell
...