Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Which kubectl command is used to display information about the master and services in the cluster?

Answer»

Which kubectl command is used to display INFORMATION about the master and services in the cluster?
CHOOSE the correct option from below list
(1)kubelet
(2)All of these
(3)Master-info
(4)Kubernetes-info
(5)Cluster-info

Answer:-(5)Cluster-info

2.

What is a worker node?

Answer»

What is a worker NODE?
Choose the correct option from below list
(1)A PLACE to securely STORE and share DOCKER images with all cluster users
(2)A persistent storage instance
(3)The compute host, typically a virtual machine, that your pods run on
(4)Another name for your cluster

Answer:-(3)The compute host, typically a virtual

3.

kubectl command lists one or more resources.

Answer» KUBECTL command lists one or more resources.
Choose the CORRECT option from below list
(1)list
(2)GET
(3)All of the these
(4)desc

Answer:-(2)get
4.

The master to cluster coomunications starts at the apiserver and ends at______

Answer»

The master to CLUSTER coomunications starts at the APISERVER and ends at______
Choose the correct option from below list
(1)kubelet's HTTPs ENDPOINT
(2)NODE
(3)NONE of these
(4)Kube-proxy

Answer:-(1)kubelet's HTTPs endpoint

5.

The Kubernetes CLI tool is called______

Answer»

The Kubernetes CLI TOOL is called______
Choose the correct OPTION from below list
(1)kubecommand
(2)KUBECTL
(3)KUBELET
(4)minikube

Answer:-(2)kubectl

6.

Which label selectors select all the objects in a collection?

Answer»

Which label selectors select all the OBJECTS in a collection?
Choose the correct option from below list
(1)SET based`
(2)Null
(3)Empty
(4)None of these

Answer:-(3)Empty

7.

The Minikube cluster has_____master and _____nodes.

Answer»

The MINIKUBE CLUSTER has_____master and _____nodes.
Choose the correct option from below LIST
(1)One,Many
(2)One,One
(3)Two,Two
(4)One,Two

Answer:-(2)One,One

8.

The Names inside a namespace can be similar

Answer»

The Names INSIDE a NAMESPACE can be similar
Choose the CORRECT option from below list
(1)TRUE
(2)False

Answer:-(2)False

9.

What are Objects used for?

Answer»

What are Objects used for?
Choose the correct OPTION from below LIST
(1)All of these
(2)group set of objects
(3)Define the STATE of the cluster
(4)run a set of objects

Answer:-(3)Define the state of the cluster

10.

Nodes contain_____ and pods contain_______.

Answer»

Nodes contain_____ and pods contain_______.
Choose the CORRECT OPTION from below list
(1)CONTAINERS, Pods
(2)kubelet,kube-proxy
(3)Pods, CONTAINER
(4)Container-runtime, containers

Answer:-(3)Pods, Container

11.

______ are the Objects used to define a logical set of Pods.

Answer»

______ are the Objects used to define a logical SET of Pods.
Choose the correct OPTION from below list
(1)Nodes
(2)Containers
(3)Services
(4)Deployments

Answer:-(3)Services

12.

Master and Node can run on the same machine.

Answer» MASTER and Node can run on the same machine.
Choose the correct OPTION from below list
(1)True
(2)FALSE

Answer:-(2)False
13.

Kubelet is required on every Node?

Answer» KUBELET is required on EVERY Node?
Choose the correct OPTION from below list
(1)True
(2)False

Answer:-(1)True
14.

Which of these is not a kubernetes Master components?

Answer»

Which of these is not a KUBERNETES MASTER components?
Choose the correct option from below list
(1)etcd
(2)Kube-controller-manager
(3)kube-apiserver
(4)DNS SERVER

Answer:-(4)DNS Server

15.

Which of these is a Node component

Answer»

Which of these is a NODE component
Choose the CORRECT OPTION from below list
(1)kubelet
(2)Kube-proxy and kubelet
(3)Cloud-controller-manager
(4)Kube-proxy

Answer:-(2)Kube-proxy and kubelet

16.

Which of the following commands do we use to open up a proxy on localhost for the Kubernetes cluster?

Answer»

Which of the following COMMANDS do we USE to open up a proxy on localhost for the Kubernetes cluster?
Choose the correct option from below LIST
(1)DNS SERVER
(2)etcd
(3)Kubectl-proxy
(4)kubelet

Answer:-(3)Kubectl-proxy

17.

Kube scheduler is used to assign nodes to_____

Answer» KUBE scheduler is used to assign nodes to_____
Choose the correct option from below LIST
(1)newly created pods that aren0t ASSIGNED any nodes
(2)Pods that are deleted
(3)Old pods that arenot assigned to any nodes
(4)pods that were created and scaled

Answer:-(1)newly created pods that arenot assigned any nodes
18.

_____is a system generated string that uniquely identifies an object.

Answer»

_____is a system GENERATED string that uniquely IDENTIFIES an object.
Choose the correct option from below list
(1)PID
(2)object ID
(3)NONE of these
(4)UID

Answer:-(4)UID

19.

What are labels?

Answer»

What are labels?
CHOOSE the correct option from below list
(1)Key-value PAIR to select and GROUP objects
(2)Key-value pair that map object to node
(3)All of these
(4)Key-value pair to organize and select ATTRIBUTES of an object

Answer:-(4)Key-value pair to organize and select attributes of an object

20.

The desired state of a Node is described by______?

Answer»

The desired state of a Node is described by______?
Choose the CORRECT option from below list
(1)Deployment Controller
(2)Deployment Object
(3)Deployment Runner
(4)All of these

Answer:-(2)Deployment Object

21.

Logical group of similar type of containers is called______.

Answer» LOGICAL group of similar type of containers is called______.
Choose the correct option from below list
(1)NODES
(2)PODS
(3)Cluster
(4)Arrows

Answer:-(2)Pods
22.

Kubernetes supports inbuilt logging and monitoring mechanism

Answer»

Kubernetes supports INBUILT logging and MONITORING mechanism
Choose the correct option from below list
(1)False
(2)TRUE

Answer:-(2)True

23.

Which command is used to create an object?

Answer»

Which COMMAND is used to create an object?
CHOOSE the CORRECT option from below list
(1)$kubectl BUILD
(2)$kubectl create
(3)$kubectl -create
(4)Kubectl create

Answer:-(2)$kubectl create

24.

What are the information provided by Node status?

Answer»

What are the information provided by Node status?
Choose the correct option from below list
(1)CAPACITY
(2)All of these
(3)INFO
(4)Addresses
(5)Conition

Answer:-(2)All of these

25.

Objects are used to maintain the ______ state.

Answer»

Objects are used to maintain the ______ state.
Choose the CORRECT OPTION from below list
(1)Actual State
(2)Stable state
(3)Running State
(4)DESIRED State

Answer:-(4)Desired State

26.

______ is the grouping primtive in Kubernetes that groups objects with same labels.

Answer»

______ is the grouping primtive in KUBERNETES that groups OBJECTS with same labels.
Choose the correct option from below list
(1)SELECTORS-----------------
(2)Deployments
(3)Services
(4)All of these

Answer:-(1)Selectors

27.

Nodes are created by Kubernetes?

Answer»

Nodes are created by KUBERNETES?
Choose the CORRECT option from below list
(1)FALSE
(2)True

Answer:-(1)False

28.

$kubectl get deployments command is used to__________

Answer»

$kubectl get DEPLOYMENTS command is used to__________
(1)All of these
(2)get the details of the deployment
(3)get the status of actual and DESIRED STATE
(4)get the details of created deployments

Answer:-(4)get the details of created deployments

29.

What is the use of edit command in K8s

Answer»

What is the use of edit command
(1)use to edit the CLUSTER
(2)USED to edit the RESOURCE
(3)All of these
(4)edit the NUMBER of nodes and masters

Answer:-(2)used to edit the resource

30.

The command used to evict the pods from the node for maintainenace?

Answer»

The COMMAND used to evict the PODS from the NODE for MAINTAINENACE?
(1)drain
(2)clean
(3)kill
(4)flush

Answer:-(1)drain

31.

Which of these is not a Service Spec?

Answer»

Which of these is not a Service Spec?
Choose the CORRECT OPTION from below LIST
(1)ClusterIP
(2)PodIP
(3)ExternalName
(4)NodePort

Answer:-(2)PodIP

32.

How are Persistent volumes different from the Volumes used by containers

Answer»

How are Persistent volumes different from the Volumes used by containers
Choose the CORRECT OPTION from below LIST
(1)they are more Persistent
(2)NONE of these
(3)They have a lifecycle different than that of Pods
(4)They do not have a lifecycle

Answer:-(3)They have a lifecycle different than that of Pods

33.

Pods have a well defined lifecycle

Answer»

Pods have a well DEFINED lifecycle
Choose the correct option from below list
(1)TRUE
(2)False

Answer:-(1)True

34.

Containers inside a pod communicate with each other via ________.

Answer» CONTAINERS INSIDE a pod communicate with each other via ________.
Choose the correct OPTION from below LIST
(1)container IP
(2)Pod IP
(3)None of these
(4)LOCALHOST
(5)cluster IP

Answer:-(4)localhost
35.

Which of the following are conatiner orchestration systems?

Answer»

Which of the following are conatiner orchestration SYSTEMS?
(1)Docker Swarm and Kubernetes
(2)Jenkins
(3)Kubernetes
(4)Docker Swarm

Answer:-Answer of above question is (1)Docker Swarm and Kubernetes

36.

What is the use of Repllication controller?

Answer»

What is the use of Repllication controller?
Choose the CORRECT option from below list
(1)to MANAGE the communications
(2)to keep the node up and running AND to create pod REPLICAS
(3)to create pod replicas
(4)to keep the node up and running

Answer:-(2)to keep the node up and running AND to create pod replicas

37.

What is Minikube?

Answer»

What is MINIKUBE?
(1)FULL SCALE version of Kubernetes that runs on local Machine
(2)Light weight Version of Kubernetes
(3)NONE of these
(4)Eneterprise version of kubernetes

Answer:-(2)Light weight Version of Kubernetes