Blog Archives

01: 12+ Git Source control must know basics interview Q&As

Q1. How does Git differ from SVN?

#1. Git is a distributed source control system meaning that there will be multiple client repositories. SVN is one repository with lots of clients. GIT is decentralized to a point where people can track their own edits locally without having to push things to an external server.


You checkout from a trunk or a branch from a central SVN repository with the checkout or “co” command.

In Git:

a) You “clone” a company wide “master” repository to your local repository. When you clone, …


01: 21 Docker DevOps interview Q&As

Docker, Jenkins, CI/CD, & DEV/OPS have been the buzz words for the last several years. You will be seeing this in more often in the job requirements as well. Docker Tutorial – compile & run Q1. What is a Docker container, and what does it enable you to do?…

02: 20+ Kubernetes (aka K8s) interview questions & answers

Q1. What is the difference between Docker & Kubernetes? A1. Docker & Kubernetes can function without each other, and also both can compliment each other. Docker enables us to run, create and manage containers on a single operating system. If you have Docker installed on a number of hosts with…

03: Kubernetes (aka k8s) interview Q&As – objects & manifest files

Q01. What is a Kubernetes object? A01. One of the key concepts in Kubernetes is the “desired state,” which refers to the configurations of the applications that you want to deploy and run. A desired state includes things like how many instances of applications should be running, how those instances…

04: Kubernetes (i.e k8s) interview Q&As – Volumes, PVs, PVCs & StorageClass

Q01. What is the difference between Docker & Kubernetes Volumes? A01. Docker Volume and Kubernetes Persistent Volume serve similar purposes, but they differ in a number of ways. a) Docker Volumes are used in Docker environments, whilst Persistent Volumes are used in Kubernetes environments. b) Docker Volumes are scoped to…

04: Kubernetes concepts like kubectl, contexts, kubeconfig & namespaces

This extends Install Kubernetes (i.e. minikube) on Mac. Step 1: Start the on Mac, and then start the minikube cluster from a terminal.

This creates a local Kubernetes cluster. You can confirm if the Minikube cluster is running with:

Kubectl vs Kubernetes Cluster A Kubernetes cluster can…

05: Kubernetes (i.e k8s) interview Q&As – Service Vs Ingress

Q01. What is a Service in Kubernetes? A01. A Kubernetes service is a logical abstraction for a deployed group of pods in a cluster that perform the same function. Why do you need a service object? Why do you need a service object in k8s when each pod gets its…

05: Kubernetes useful commands with kubectl for development & debugging

This extends Install Kubernetes (i.e. minikube) on Mac. Step 1: Start the on Mac, and then start the minikube cluster from a terminal.

Step 2: Create a pod.yaml manifest file to create a new pod that runs nginx image.

06: Kubernetes (i.e k8s) interview Q&As – Helm charts, Argo CD & Prometheus

Q01. What is a Helm chart in Kubernetes? A01. A Helm chart is a package manager for Kubernetes. A chart is a collection of files that describe a related set of Kubernetes resources. It contains all the necessary resources to deploy an application to a Kubernetes cluster. This includes YAML…

07: Kubernetes (i.e k8s) interview Q&As – kubectl config

Q01. What is a kubectl in Kubernetes? A01. Kubectl is a command line tool used to run commands against Kubernetes clusters. kubectl is what you will be using often to issue commands against a kubenetes cluster. You can create pods, deployments, services, etc using kubectl. Make sure that you have…

10 DevSecOps interview Q&As

Q1. What is DevSecOps or DevOpsSec or rugged DevOps? A1. DevSecOps is the philosophy of integrating security practices within the DevOps process. DevSecOps is an evolution of DevOps. Q What is Rugged DevOps? A Rugged DevOps as a technique was borne out of the views expressed in Josh Corman’s RuggedSoftware….

17+ DevOps CI/CD Jenkins interview Q&As

Q1. What is Jenkins? A1. Jenkins is an open source CI/CD (i.e. Continuous Integration & Continuous Delivery/Deployment) server written in Java with over 2000 plugins (E.g. Maven, Git, Amazon EC2, Docker, Ansible, etc) for various development, testing and deployment tasks. Refer to Jenkins Plugin Index for the plugins and the…

4 DevOps interview Q&As

Q1. What is DevOps? A1. Traditionally the developers & IT operations work in silos where the developers code, build, test & release the software artefacts and the IT operations deploy & monitor the applications. In DevOps a unified team apply the CI/CD practices with automation tools like Jenkins/Bamboo, Git, Gradle/Maven,…

9+ CI/CD Docker compose DevOps interview Q&As

This extends 20+ Docker interview Q&As Q1. What is Docker compose? A1. A Docker container’s main running process is the ENTRYPOINT and/or CMD at the end of the Dockerfile . It is generally recommended that you separate areas of concern by using one service per container. For example, when you…

Docker DevOps Q&As with Big Data code snippets

This extends 16 Docker interview Q&As Q1. In a Dockerfile, how will you 1) Use wget to download a zip file from somewhere 2) Extract the zip file to a directory of your choosing 3) Remove the zip file since it’s not needed A1. You can use the RUN command…

300+ Java & Big Data FAQs - Quick Prep

Java & Big Data Tutorials