Q.1 Kube-scheduler is used to assign nodes to_____.
A. pods that were created and scaled
B. Pods that are deleted
C. newly created pods that aren’t assigned any nodes
D. Old pods that aren’t assigned to any nodes
Ans : newly created pods that aren’t assigned any nodes
Q.2 What is container runtime?
A. Software to execute containers
B. Software to manage containers
C. Software to connect the Master and Node
D. Software to connect to kubernetes
Ans : Software to connect to kubernetes
Q.3 The Kubernetes CLI tool is called______.
A. kubelet
B. minikube
C. kubecommand
D. kubectl
Ans : kubectl
Q.4 Which of the following commands do we use to open up a proxy on localhost for the Kubernetes cluster?
A. DNS Server
B. kubelet
C. etcd
D. Kubectl-proxy
Ans : Kubectl-proxy
Q.5 Nodes contain_____ and pods contain_______.
A. Containers, Pods
B. kubelet,kube-proxy
C. Pods, Container
D. Container-runtime, containers
Ans : Pods, Container
Q.6 Kubernetes Architectutre consists of ______.
A. Master and Node
B. Server and Client
C. Master and Slave
D. All of the these
Ans : Master and Node
Q.7 Which of these is a Node component
A. Cloud-controller-manager
B. Kube-proxy
C. Kube-proxy and kubelet
D. kubelet
Ans : Kube-proxy and kubelet
Q.8 Kubelet is required on every Node?
A. True
B. False
Ans : True
Q.9 Master and Node can run on the same machine.
A. True
B. False
Ans : False
Q.10 Kubernetes cluster must contain only one Master?
A. True
B. False
Ans : False
Q.11 The Names inside a namespace can be similar
A. True
B. False
Ans : False
Q.12 Pods have a well defined lifecycle.
A. True
B. False
Ans : True
Q.13 Which of these is a Node component
A. Cloud-controller-manager
B. Kube-proxy
C. Kube-proxy and kubelet
D. kubelet
Ans : Kube-proxy and kubelet
Q.14 Which of these is not a kubernetes Master components?
A. kube-apiserver
B. etcd
C. Kube-controller-manager
D. DNS Server
Ans : DNS Server
Q.15 Which of these is not a kubernetes Master components?
A. DNS Server
B. Kube-controller-manager
C. kube-apiserver
D. etcd
Ans : DNS Server
Q.16 How are Persistent volumes different from the Volumes used by containers.
A. they are more Persistent
B. They do not have a lifecycle
C. They have a lifecycle different than that of Pods
D. None of these
Ans : They have a lifecycle different than that of Pods
Q.17 _____is a system generated string that uniquely identifies an object.
A. PID
B. UID
C. object ID
D. None of these
Ans : UID
Q.18 Which command is used to create an object?
A. $kubectl build
B. $kubectl -create
C. Kubectl –create
D. $kubectl create
Ans : $kubectl create
Q.19 Logical group of similar type of containers is called______.
A. Cluster
B. Pods
C. Arrows
D. Nodes
Ans : Pods
Q.20 Objects are used to maintain the ______ state.
A. Desired State
B. Actual State
C. Stable state
D. Running State
Ans : Desired State
Q.21 What are labels?
A. Key-value pair to select and group objects
B. Key-value pair that map object to node
C. Key-value pair to organize and select attributes of an object
D. All of these
Ans : Key-value pair to organize and select attributes of an object
Q.22 Logical group of similar type of containers is called______.
A. Arrows
B. Cluster
C. Nodes
D. Pods
Ans : Pods
Q.23 What are Objects used for?
A. group set of objects
B. Define the state of the cluster
C. run a set of objects
D. All of these
Ans : Define the state of the cluster
Q.24 Which of these is not a Service Spec?
A. PodIP
B. ClusterIP
C. ExternalName
D. NodePort
Ans : PodIP