InterviewSolution
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? |
|
| 2. |
What is a worker node? |
|
Answer» What is a worker NODE? |
|
| 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______ |
|
| 5. |
The Kubernetes CLI tool is called______ |
|
Answer» The Kubernetes CLI TOOL is called______ |
|
| 6. |
Which label selectors select all the objects in a collection? |
|
Answer» Which label selectors select all the OBJECTS in a collection? |
|
| 7. |
The Minikube cluster has_____master and _____nodes. |
|
Answer» The MINIKUBE CLUSTER has_____master and _____nodes. |
|
| 8. |
The Names inside a namespace can be similar |
|
Answer» The Names INSIDE a NAMESPACE can be similar |
|
| 9. |
What are Objects used for? |
|
Answer» What are Objects used for? |
|
| 10. |
Nodes contain_____ and pods contain_______. |
|
Answer» Nodes contain_____ and pods contain_______. |
|
| 11. |
______ are the Objects used to define a logical set of Pods. |
|
Answer» ______ are the Objects used to define a logical SET of Pods. |
|
| 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? |
|
| 15. |
Which of these is a Node component |
|
Answer» Which of these is a NODE component |
|
| 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? |
|
| 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. |
|
| 19. |
What are labels? |
|
Answer» What are labels? |
|
| 20. |
The desired state of a Node is described by______? |
|
Answer» The desired state of a Node is described by______? |
|
| 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 |
|
| 23. |
Which command is used to create an object? |
|
Answer» Which COMMAND is used to create an object? |
|
| 24. |
What are the information provided by Node status? |
|
Answer» What are the information provided by Node status? |
|
| 25. |
Objects are used to maintain the ______ state. |
|
Answer» Objects are used to maintain the ______ 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. |
|
| 27. |
Nodes are created by Kubernetes? |
|
Answer» Nodes are created by KUBERNETES? |
|
| 28. |
$kubectl get deployments command is used to__________ |
|
Answer» $kubectl get DEPLOYMENTS command is used to__________ |
|
| 29. |
What is the use of edit command in K8s |
|
Answer» What is the use of edit command |
|
| 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? |
|
| 31. |
Which of these is not a Service Spec? |
|
Answer» Which of these is not a Service Spec? |
|
| 32. |
How are Persistent volumes different from the Volumes used by containers |
|
Answer» How are Persistent volumes different from the Volumes used by containers |
|
| 33. |
Pods have a well defined lifecycle |
|
Answer» Pods have a well DEFINED lifecycle |
|
| 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? |
|
| 36. |
What is the use of Repllication controller? |
|
Answer» What is the use of Repllication controller? |
|