Kubernetes Administration using Docker for Beginners Quiz Questions and Answers

Once you’ve worked with an image, how do you push it to the Docker hub?

Answer :
  • Docker push

Which of the following is the native clustering for Docker?

Answer :
  • Docker swarm

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

Answer :
  • True

You cannot create multiple containers from the same image.

Answer :
  • False

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

What is the name of the environment variable in Kubernetes?

Answer :
  • A) Plain key
    B) Configmap
    C) Secret
    All of the above

Kubernetes is a platform for_______.

Answer :
  • Running and scheduling container applications on a cluster

What is Deployment?

Answer :
  • A Deployment is responsible for managing the desired state of your application

What would be the result of the following command? “kubectl exec -it my_pod_name bash”

Answer :
  • Open a console on the first container inside the my_pod_name