Q.1
What is the atomic unit of scheduling in Docker.
  • the image
  • the pod
  • the job
  • the container
  • the process
Q.2
What does ECS stand for?
  • Elastic Container Serverless
  • Elastic Compute Service
  • Elastic Container Service
  • Elastic Cubernetes Service
Q.3
Command to create cluster in docker ?
  • K8s
  • docker swarm
  • apache mesos
  • all of the above
Q.4
What is a Dockerfile?
  • A Docker image that gets built by running a Docker command
  • A text file that contains all the commands needed to build a given image
  • A running instance of a Docker image
  • A website where you can download Docker images
Q.5
Which of the following Dockerfile instructions will define the process that keeps the container running? Commands defined using this instruction CANNOT be overridden at the command line during container initialization.
  • ENTRYPOINT
  • RUN
  • CMD
  • START
Q.6
A Docker container is an instance of an image with a specific configuration
  • True
  • False
Q.7
Which Dockerfile instruction indicates what base image to use?
  • ENTRYPOINT
  • BASE
  • FROM
  • USING
Q.8
Which command will map portin the container to porton the Docker host?
  • docker run -p 5001:80
  • docker run -p 80:5001
  • docker run expose 80:5001
  • docker run expose 5001:80
Q.9
What syntax can be used to convert a Dockerfile into an Image?
  • docker create -t <image_name>:<tag_name> .
  • docker build -t <image_name>:<tag_name> .
  • docker run -t <image_name>:<tag_name> .
  • docker convert -t <image_name>:<tag_name> .
Q.10
What's the good analogy for docker exec?
  • Allows you to run additional processes outside a container.
  • Allows you to run additional processes in a container.
  • It's similar to installing software.
  • Allows you to run additional processes in new containers.
Q.11
What options are available for getting source code into Docker Containers?
  • Use the Dockerfile "EMBEDCODE" instruction.
  • Create a custom container with the source code and use the "mount" command to point to your dev machine.
  • Create a custom docker image with the source code or create a data volume pointing to your dev machine.
  • None of these.
Q.12
A Docker registry is a place to store and distribute Docker...
  • Files
  • Images
  • Codes
  • All of the above
Q.13
This command uploads your local image to your Docker Registry
  • docker push
  • docker build
  • docker tag
  • docker run
Q.14
This Dockerfile command specifies the base image to use when creating a Docker image
  • FROM
  • ADD
  • COPY
  • CMD
Q.15
Which of the following is not a recommended Dockerfile Directive?
  • FROM
  • COPY
  • MAINTAINER
  • LABEL
  • EXPOSE
Q.16
Which of the following Network interface gets created when you install Docker runtime on Docker host?
  • Docker1
  • Docker0
  • eth0
  • eth1
Q.17
Which of the following is not a component of Docker Architecture?
  • Docker Machine
  • Docker Engine
  • Docker Runtime
  • Docker Registry
  • Docker Daemon
Q.18
How to update a service ?
  • docker update service --image <imgName> <srvName>
  • docker service update --image <imgName> <srvName>
  • docker service update <srvName>
  • docker update service --image <imgName
Q.19
How's retrived token of manager?
  • docker join-token -q manager
  • docker join-token manager
  • docker swarm join-token -q manager
Q.20
What is the name it receives the main orchestration server
  • worker
  • manager
  • node control
  • node administrator
0 h : 0 m : 1 s