Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

Kubernetes Interview Questions and Answer Part – 5

Which of the following describes the fundamentals of Kubernetes Pod networks?

  • Each Pod gets a unique routable IP on the Pod network (Ans)
  • All Pods share a common IP and are accessed on the Pod network via TCP ports
  • Each container gets a unique routable IP on the Pod network

How do two containers in the same Pod communicate?

  • Via the shared localhost adapter inside the Pod (Ans)
  • Via the Pod overlay network
  • Via a local bridged network inside the Pod

Which of the following commands will lauch a Minikube environment using the xhyve Virtual Machine driver on an Apple Mac?

  • kubectl start minikube –vm-driver=xhyve
  • minikube start –vm-driver=xhyve (Ans)
  • kubeadm start minikube –vm-driver=xhyve

Which infrastructure platforms does Kubernetes run on?

  • Kubernetes only runs on virtual machines and cloud platforms as long as they are running Linux.
  • Kubernetes only runs on bare metal Linux installations.
  • Kubernetes is platform agnostic. All it requires is a Linux host. (Ans)
  • Kubernetes only runs on bare metal servers and virtual machines as long as they are running Linux.

Where does the Kubernetes Operations tool kops store its configuration?

  • And environment variable called KOPS
  • A distributed K/V store running in a system Pod
  • An environment variable called KOPS_STATE_STORE (Ans)

You are planning an update to an existing deployment and want to wait 15 seconds in between each pod update. Which option in the deployment manifest file lets you specify this?

  • rollingUpdateWait: 15
  • maxSurge: 15
  • podUptime: 15
  • minReadySeconds: 15 (Ans)

How do Services know which Pods to load-balance requests to?

  • Label selectors (Ans)
  • A static list held in the Service’s Endpoint object
  • Environment variables
  • DNS

You are working with Kubernetes deployments and want to log updates to the deployment each time to issue an update related command. Which command option does this for you?

  • –log
  • –record (Ans)
  • –history
  • –audit

Which Service type (ServiceType) will create a common cluster-wide port on all nodes?

  • CkusterPort
  • NodePort (Ans)
  • ClusterIP
  • NodeIP

Which of the following describes how to scale-up aspects of an application running on Kubernetes?

  • Add more containers to the Pod that needs scaling
  • Add more memory to the machines hosting the Pods
  • Add more replicas of the Pod that needs scaling (Ans)

Which of the following is true about Kubernetes Pods?

  • High level abstraction object for deploying virtual machines
  • Atomic unit of scheduling that contain exactly one container
  • Atomic unit of scheduling that contain one or more containers (Ans)

Which of the following tells Kubernetes that the object you are deploying is a Pod?

  • The value of the kind flag on the kubectl command line
  • The value of the kind field in the YAML or JSON manifest file (Ans)

What are the two major infrastructure components of a Kubernetes cluster?

  • Managers and Workers
  • Masters and Nodes (Ans)
  • Controllers and Minions
  • Masters and Workers

What objects to Deployments manage?

  • Ingress Lists (IngressList)
  • Replica Sets (ReplicaSet) (Ans)
  • Daemon Sets (DaemonSet)
  • Replication Controllers (ReplicationController)

Which of the following commands deploys a new Deployment using a declarative style?

  • kubectl run my-deployment –image=
  • kubectl create deployment -f (Ans)

Which of the following best describes a Kubernetes Service?

  • They allow you to break you monolithic apps into smaller micro-services
  • They provide a stable and reliable networ endpoint for your application containers
  • They provide a stable and reliable networ endpoint for your application Pods (Ans)

Which of the following Kubernetes commands creates a new service object (the iterative way)?

  • kubectl service
  • kubectl expose (Ans)
  • kubectl create -f
  • kubectl endpoint

You are working with a deployment that has 12 revisions and you are currently at revision 12. You want to rollback to revision 10. Which of the following commands will do this for you

  • kubectl rollout undo deployment –to-revision=10 (Ans)
  • kubectl rollout rewind deployment –to-revision=10
  • kubectl rollout reverse deployment –to-revision=10

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

List of containerized storage orchestration in Kubernetes

List of Containerized Storage Orchestration Solutions in Kubernetes (2026 Edition) Kubernetes has become excellent at orchestrating stateless applications, but stateful workloads still need a proper storage layer….

Read More

Understanding Authentication & Authorization in kubernetes

Authentication – How User’s access should be allowed? The process or action of verifying the identity of a user or process.Authorization – What Access and till what…

Read More

Kubernetes 1.23.6 Cluster Setup Master and Worker in Ubuntu 20.04

Latest doc – https://github.com/certifications-tutorials/kubernetes-cluster-setup Following commands would help you to create 1 Master and 1 Node in same VM. Run Following commands in Master Node Run following…

Read More

Kubernetes PersistentVolume, PersistentVolumeClaim, volume using hostPath

pv.yaml $ kubectl create -f pv.yaml $ kubectl get pv pvc.yaml $ kubectl create -f pvc.yaml $ kubectl get pvc pod.yaml Rajesh Kumar I’m a DevOps/SRE/DevSecOps/Cloud Expert…

Read More

Kubernetes: Working with ReplicationController

A ReplicationController is a Kubernetes controller that ensures that a specified number of pod replicas are running at any one time. In other words, a ReplicationController makes…

Read More

Kubernetes Tutorials: Pod Load balancing using Service

In Kubernetes, a Service is an abstraction that defines a logical set of pods and a policy by which to access them. It provides a stable network…

Read More