Kubernetes MCQ Questions - Microsoft Azure
This section focuses on "Kubernetes" in Microsoft Azure. These Multiple Choice Questions (MCQ) should be practiced to improve the Microsoft Azure skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. Which one of the following is an orchestration software which can be used for scaling containers?
A. Azure Batch.
B. Azure Kubernetes.
C. Azure Data Factory.
D. Azure key vault.
View Answer
Ans : B
Explanation: Container packages codes as well as its dependencies which makes the applications more reliable. However scaling of containers is not easy. So, Kubernetes is used for this purpose.
2. What is the basic operational unit of Kubernetes?
A. Pod
B. Container
C. Nodes
D. Task
View Answer
Ans : A
Explanation: Pod is a group of containers, which is the basic operational unit of Kubernetes and it scales according to users requirement.
3. Which one of the following can be done for a container based application using Azure Kubernetes?
A. Making container scalability easy.
B. Make workloads portable.
C. Build more extensible apps.
D. All of the above.
View Answer
Ans : D
Explanation: Use of Azure Kubernetes makes container based application more scalable, portable and extensible.
4. Which one of the following helps to set up cluster autoscaler for adding capacity as per demand?
A. Virtual nodes
B. VM Scale sets
C. Container
D. None of the above.
View Answer
Ans : B
Explanation: VM Scale sets are the standard scaling option for AKS which helps to set up the cluster autoscaler.
5. Which one of the following is incorrect regarding Azure Kubernetes?
A. Azure Kubernetes does not mandatorily need resources to be created in cloud.
B. Azure Kubernetes manages and makes deployment of container based applications easy.
C. Azure Kubernetes helps in automatic scheduling of container based application.
D. None of these.
View Answer
Ans : D
Explanation: Azure Kubernetes provide Azure Kubernetes Cluster where resources can be created.
6. Choose the correct option.
A. Azure Kubernetes is an open source platform.
B. etcd is used to maintain the state of Kubernetes cluster and configuration.
C. Both A and B.
D. Neither A nor B.
View Answer
Ans : C
Explanation: Both the statements are correct. Etcd is key-value store within Kubernetes which maintains the state of Kubernetes cluster and configuration.
7. Choose the wrong statement regarding Azure Kubernetes.
A. Use of Azure Kubernetes demands a ver low minimum monthly charge.
B. It can integrate with Visual Studio Code.
C. It provides elastic scalability.
D. None of these.
View Answer
Ans : A
Explanation: No minimum monthly charge is required. Users have to pay for compute only.
8. Which one of the following is correct regarding clusters of Azure Kubernetes?
A. Cluster name need not be unique within the selected resource group.
B. Azure CLI can be used to create clusters.
C. Both A and B.
D. Neither A nor B.
View Answer
Ans : B
Explanation: Azure Kubernetes cluster name must be unique iside the selected resource group.
9. Choose the correct option.
A. It can integrate with Azure Active Directory.
B. Role based access control is possible in Azure Kubernetes.
C. Both A and B.
D. None of these.
View Answer
Ans : C
Explanation: Azure Kubernetes can integrate with Azure Active Directory and hence can provide RBAC to users,.
10. Which one of the following can be considered as the primary data store of Kubernetes?
A. node
B. pod
C. VM scale sets.
D. etcd
View Answer
Ans : D
Explanation: etcd can be considered as the primary datastore of Kubernetes, which besides atoring also replicates Kubernetes cluster state.
Discussion