Blog Archives

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

Q1. How does Git differ from SVN (i.e Subversion)?
A1.

#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.… Read more ...

Tags: ,

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 Helloworld.java. Q1. What is a Docker container, and what does it enable you to do?…

Read more ...


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…

Read more ...


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…

Read more ...


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…

Read more ...


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

This extends Install Kubernetes (i.e. minikube) on Mac.

Step 1: Start the Docker.app 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 be created on a cloud like AWS, Azure or GCP, on premise data centre or on a local machine with minikube.… Read more ...



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…

Read more ...


05: Kubernetes useful commands with kubectl for development & debugging

This extends Install Kubernetes (i.e. minikube) on Mac.

Step 1: Start the Docker.app 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.… Read more ...



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…

Read more ...


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…

Read more ...


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….

Read more ...


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…

Read more ...


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,…

Read more ...


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…

Read more ...


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…

Read more ...


500+ Java Interview FAQs

Java & Big Data Tutorials

Top