Kubernetes Quiz: Questions And Answers

18 Questions | Total Attempts: 13208

SettingsSettingsSettings
Kubernetes Quiz: Questions And Answers - Quiz

You need to take our Kubernetes quiz with informative questions and answers today if you want to find out how much you actually know about it! You must be aware that Kubernetes is an open-source platform for managing containerized workloads and services which is portable and extensible. It also facilitates both declarative configuration and automation. It even has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available all over the world. The name Kubernetes has its origins in Greek, meaning helmsman or pilot. Now let's get on with the quiz!


Questions and Answers
  • 1. 
    ___________ runs on each node and ensures containers are running in a pod.
    • A. 

      Kubelet

    • B. 

      Etcd

    • C. 

      Scheduler

    • D. 

      Pod

  • 2. 
    _______ manages the assigning nodes to pods depending on resource availability.
    • A. 

      Etcd

    • B. 

      Kubectl

    • C. 

      Scheduler

    • D. 

      Flanneld

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

      Kubectl

    • B. 

      Kubelet

    • C. 

      Kubeadm

    • D. 

      Service discovery

  • 4. 
    Replication Controllers and Deployment Controllers are part of
    • A. 

      API Controller Manager

    • B. 

      Etcd manager

    • C. 

      Master Controller Manager

    • D. 

      Kubeadm

  • 5. 
    ___________________ is a special namespace that is used for special purposes like bootstrapping a cluster.
    • A. 

      Kube-public

    • B. 

      Kube-private

    • C. 

      Kube-system

    • D. 

      Default

  • 6. 
    Kubernetes uses _______________________ to connect to ouath 2 providers to offload the authentication to external services.
    • A. 

      Webhook Token Authentication

    • B. 

      Keystone Password

    • C. 

      OpenID Connect Tokens

    • D. 

      Authentication Proxy

  • 7. 
    To program additional authentication logic besides available authenticator modules, _______________ can be used.
    • A. 

      WebHook Authentication

    • B. 

      Authentication Proxy

    • C. 

      Keystone Password

    • D. 

      OpenID Connect Tokens

  • 8. 
    Kubernetes is written in
    • A. 

      C++

    • B. 

      Go

    • C. 

      Python

    • D. 

      Java spring framework

  • 9. 
    An abstraction in kubernetes which defines a logical set of pods and a policy to access them.
    • A. 

      Kubelet

    • B. 

      Service

    • C. 

      Node

    • D. 

      Container

  • 10. 
    To create a new deployment in kubernetes, use the command
    • A. 

      Kubernetes set deployment

    • B. 

      Kubernetes get deployment

    • C. 

      Kubectl run

    • D. 

      Kubectl deploy

  • 11. 
    The command to create Kubernetes service is
    • A. 

      Kubectl expose

    • B. 

      Kubectl set service

    • C. 

      Kubectl run

    • D. 

      Kubectl deploy

  • 12. 
    Kube-apiserver on kubernetes master is designed to scale. 
    • A. 

      Vertically

    • B. 

      Horizontally

  • 13. 
    Following k8s resources do not associate with any namespace.
    • A. 

      DaemonSets

    • B. 

      PersistentVolumes

    • C. 

      ReplicaSets

    • D. 

      Nodes

    • E. 

      Services

  • 14. 
    The Service Type _____________ works only if your cluster is setup to work with a cloud provider.
    • A. 

      ClusterIP

    • B. 

      NodePort

    • C. 

      LoadBalancer

    • D. 

      ExternalName

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

      EmptyDir

    • B. 

      FlexVolume

    • C. 

      ConfigMap

    • D. 

      Local

  • 16. 
    __________________ is responsible for health check of the pods running on individual nodes
    • A. 

      Kubectl

    • B. 

      Kube controller manager

    • C. 

      Kube scheduler

    • D. 

      Kubelet

  • 17. 
    Cronjobs in kubernetes run in
    • A. 

      UTC only

    • B. 

      Server NTP settings

    • C. 

      Local time zone

    • D. 

      GMT only

  • 18. 
    _________ service is automatically created for you k8s cluster creation and takes care of the internal routing of the cluster.
    • A. 

      NodePort

    • B. 

      ClusterIP

    • C. 

      Headless

    • D. 

      Load Balancer

Back to Top Back to top