Basic Linux and Docker with Kubernetes Quiz Questions and Answers

Which command is used to see all running containers in Docker?

Answer :
  • docker ps

Which of the following can be considered as primary datastore of kubernetes?

Answer :
  • <p>etcd</p>

Which of these are services in kubernetes?

Answer :
  • A) <p>ClusterIP</p>
    B) <p>NodePort</p>
    C) <p>Load Balancer</p>
    All of the above

Choose the right option for the feature of Docker.

Answer :
  • Version control

If I do not define selectors, the endpoints controller does not create Endpoints records. Which is the right option?

Answer :
  • Headless Service

True/False: Containers use one machine. All containers share the same operating system kernel so they start instantly and make more efficient use of RAM.

Answer :
  • True

Which is suitable for the lifecycle of the Docker container?

Answer :
  • A) Create a container
    B) Run Docker container
    C) Pause the container
    All of the above

Which Resource can be used to perform the recurring job?

Answer :
  • CronJob

What is the command to start docker service?

Answer :
  • systemctl start docker

What is the name of the component of Docker?

Answer :
  • A) Image
    B) Registry
    C) Container
    All of the above