Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Kubernetes Interview Questions and Answer Part – 6

Spread the Knowledge

Which of the following is correct about Kubernetes Pods?

  • Pods can only contain a single VM
  • Pods can only contain a single container
  • Pods can contain one or more containers (Ans)
  • Pods must contain at least two containers

What is the smallest deployable object in Kubernetes?

  • Pod (Ans)
  • Replication Controller
  • Deployment
  • Container

How can you filter the output of a kubectl command to only show a Pod called “mypod”

  • kubectl get pods –filter mypod
  • kubctl get pods/mypod (Ans)
  • kubectl get mypod

Which of the following tools is good for installed Kubernetes in the AWS cloud?

  • kops (Ans)
  • docker-machine
  • kubeaws
  • kubectl

Which of the following is a best practice for running workloads on a Kubernetes cluster?

  • User workloads should only run on Nodes. (Ans)
  • User workloads should only run on Masters.
  • User workloads should be evenly balanced across Masters and Nodes.

Which of the following Master components are the front-end to the Kubernetes control plane?

  • The Controller Manager
  • The apiserver (Ans)
  • The Cluster Store
  • The Scheduler

Which of the following is the only stateful component on a Kubernetes Master?

  • The Cluster Store (Ans)
  • The Controller Manager
  • The Scheduler
  • The apiserver

Which of the following is the most common container runtime on Kubernetes Nodes?

  • rkt
  • Docker (Ans)
  • systemd
  • Parallels

Which component of the Kubernetes worker stack implements networking?

  • Container runtime
  • Kubelet
  • kube-proxy (Ans)

Which of the following is the preferred method of issuing work to Kubernetes?

  • Via manifest files in a declarative fashion (Ans)
  • Via individual commands in an imperative fashion

Which of the following best describes a Pod?

  • An isolated instance of Linux like aVirtual Machine
  • A unikernel
  • A Docker container
  • A ring-fenced environment (Ans)

Which of the following is the best option for two containers that need to share memory and access to a common volume?

  • Put each container in its own Pod and couple them over the network
  • Package them as a deployment
  • Rewrite the code so that both services run inside a single container
  • Put both container sinde the same Pod (Ans)

Which of the following is a major reason for Kubernetes Services?

  • K8s Services allow Pods to scale
  • Services are highly available
  • Services allow for simple rollbacks
  • We cannot rely on Pod IPs (Ans)

How are Services linked to Pods?

  • TCP port bindings
  • Docker Links
  • Label Selectors (Ans)

Which of the following best describes the benefits of Kubernetes Deployment objects?

  • Declarative formatting, rolling updates, and simple rollback capabilty (Ans)
  • They provide High Availability to the Kubernetes control plane
  • Imperative formatting, rolling updates, and simple rollback capabilty
  • They hugely simplify the deployment and management of Masters and Nodes

Which component of the Kubernetes Master is responsible for issuing work to Nodes?

  • The Scheduler (Ans)
  • The controller Manager
  • The apiserver
  • The Cluster Store
Rajesh Kumar