Azure Kubernetes Sample Test,Sample questions

Question:
An abstraction in kubernetes which defines a logical set of pods and a policy to access them.

1. Kubelet

2.Service

3.Node

4.Container


Question:
As soon a service starts, .......... daemon running on each node add a set of environment variables on the pod for each active service.

1. Kubectl

2.Kubelet

3.Kubeadm

4.Service discovery


Question:
Cronjobs in kubernetes run in







1.UTC only

2.Server NTP settings

3.Local time zone

4.GMT only


Question:
Kube-apiserver on kubernetes master is designed to scale. 



1.Vertically

2.Horizontally

3.Both a and b

4.none of these


Question:
Kubernetes uses _______________________ to connect to ouath 2 providers to offload the authentication to external services.

1. Webhook Token Authentication

2.Keystone Password

3.OpenID Connect Tokens

4.Authentication Proxy


Question:
The command to create Kubernetes service is

1. Kubectl expose

2. Kubectl set service

3.Kubectl run

4.Kubectl deploy


Question:
The Service Type _____________ works only if your cluster is setup to work with a cloud provider.

1. ClusterIP

2.NodePort

3.LoadBalancer

4.ExternalName


Question:
This volume type can be used to share contents within containers in a pod, but will not persist beyond the life of a pod.

1. EmptyDir

2.FlexVolume

3.ConfigMap

4.Local


Question:
To program additional authentication logic besides available authenticator modules, _______________ can be used.

1. WebHook Authentication

2. Authentication Proxy

3.Keystone Password

4. OpenID Connect Tokens


Question:
___ manages the assigning nodes to pods depending on resource availability.

1. Etcd

2.Kubectl

3.Scheduler

4.Flanneld


Question:
______ service is automatically created for you k8s cluster creation and takes care of the internal routing of the cluster.







1.NodePort

2.ClusterIP

3.Headless

4.Load Balancer


Question:
______ service is automatically created for you k8s cluster creation and takes care of the internal routing of the cluster.







1.NodePort

2.ClusterIP

3.Headless

4.Load Balancer


Question:
_______ runs on each node and ensures containers are running in a pod.

1.Kubelet

2.Etcd

3.Scheduler

4.Pod


Question:
___________ is responsible for health check of the pods running on individual nodes

1. Kubectl

2.Kube controller manager

3.Kube scheduler

4.Kubelet


Question:
________________ is a special namespace that is used for special purposes like bootstrapping a cluster.

1. Kube-public

2.Kube-private

3. Kube-system

4.Default


More MCQS

  1. "Kubernetes" Mcq
Search