Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 2.17 KB

Devops_mock_interview_4.md

File metadata and controls

55 lines (47 loc) · 2.17 KB

GIT

  1. What is git reset ? Types of reset ?
  2. How to delete local branch and remote branch in git ?
  3. Difference between git diff and git status ?
  4. What are hooks in git?

MAVEN

  1. What are things you need to set, if you want download dependency from private repository ?
  2. What are the issues you faced while working on maven projects?
  3. Command to skip the test cases in maven

JENKINS

  1. How to set Jenkins build to fail based specific word in console output ?
  2. What are active and reactive parameters (Dynamic parameterization) in Jenkins ?
  3. How to customize the build number display to something else in Jenkins job page?
  4. What are multi branch pipeline?
  5. What is shared library in Jenkins ?

UNIX & SHELL SCRIPTING

  1. Command to find empty files in a given directory?
  2. Commands you will use it for configuring ssh connectivity between 2 machines and what files will be present in .ssh folder?
  3. How to schedule a shell script in unix machines?
  4. Command to get load average ?
  5. Need to identify ip addresses in log file and count of ip addresses in log file?

ANSIBLE

  1. Why ansible ? What makes ansible powerful than other tools like chef and puppet?
  2. 5 modules that you have worked on? Can we create custom module ?
  3. What is dynamic inventory in ansible?
  4. Lets say I have both Ubuntu and centos machines as nodes I want install application tree using same playbook, how would you approach this scenario?
  5. How to handle prompts with ansible playbook?

DOCKER

  1. What does ONBUILD instruction do in Dockerfile?
  2. What is the use of .dockerignore file?
  3. I have dockerfile that accepts arguments, if I supply value as “1” then it should use maven 2.x version for base image and if I supply “2” then it should take maven latest as base image
  4. What are docker compose and docker swarm?

KUBERNETES

  1. Components in kubernetes architecture?
  2. What are stateful sets in kuberentes?
  3. Command to find which container has failed in pod and command to get logs of container
  4. Tools to maintain kubernetes log files

AWS

  1. Services used AWS and tasks performed in AWS