Devops Interview questions and answers | Devops mock interview 1 Answers

34 Comments



If you want to book a call ( paid ) with me then you can refer below form

https://docs.google.com/forms/d/e/1FAIpQLSfOf5hww5JuT9kBiZFB5W-2hKnZVAlhVyC7O6xSqfwNbVDdZg/viewform?usp=sf_link

This video covers the answers for Devops mock interview 1

Please do watch mock interview video – https://youtu.be/i7YJesoeWFI

Git hub link – https://github.com/DeekshithSN

If you wish to support me :- https://www.paypal.com/paypalme/DeekshithSN?locale.x=en_GB

List of questions

————————————————————GIT ———————————————————————
1. Why we need git? What makes git unique from other tools like SVN?
2. Let’s say i have maven repo cloned on to my local, did some changes and i have build the code now target folder will be generated. So now when i do git operations like git add, git commit or any other git operations target folder should not be considered, how would you achieve the same?
3. difference between git pull and git fetch?
4. How to clone specific branch in git?

———————————————————Maven —————————————————————–
5. when i issue mvn install what all things happen in background?
6. what are the settings you need to do before running mvn deploy?
7. why maven takes much time for 1st execution and from 2nd execution it will take less time?

——————————————— Unix and Shell Scripting ————————————————————
8. How to get present working folder?
9. How to copy files from local windows machine to cloud based Linux machine?
10. A shell script named test.sh can accept 4 parameters i.e, a,b,c,d. the parameters wont be supplied in order always and number of parameters might also vary( only 2 parameters user might supply sometimes), how to identify position of letter c?

——————————————————-Ansible————————————————————–
11. Why we need ad-hoc ansible commands, scenario where you have used ansible ad-hoc command?
12. When i need detailed logs on executing ansible playbook what option i need to use?
13. what is ansible.cfg file?
14. what are the modules have you worked on? which module will you use for getting the file from node to master?
15. Lets say i have a playbook which has 5 tasks in playbook, first 2 tasks should run on local machine and other 3 tasks should run on node?

——————————————————Jenkins—————————————————————–
16. How to save only last 5 builds of jenkins job?
17. Have you worked on Jenknsfile? can we use docker container as a node in Jenkinsfile? Who will handle docker container creation and deletion? If i am building a maven project always docker container is fresh instance it will try to download dependency from repository, what measures you will take to reduce build time?
18. Why we need multi branch pipeline?
19. If you forget Jenkins password, how would you login back?

——————————————————-Docker———————————————————————–
20. Any 3 best practices of docker?
21. Difference between docker stop and docker kill?
22. Command to list conatiners which state is exited?
23. command to clean-up docker host ( deleting stopped conatiners, dangling images and unused networks)?
24. What version of docker you have used? Specific reason to use that particular version?
25. Can we have multiple CMD in Dockerfile?
26. Have you worked on docker swarm and docker compose?

————————————————————-Kubernetes————————————————————————-
27. Can we have multiple conatiners in a pod? Can we have similar conatiners in a pod? Lets say i have 4 conatiners, one of them has failed how would you check which container has failed?
28. What is liveness and readiness probe? Why we need them?
29. Have you worked on kubernetes monitoring? Which tools you have used?
30. Can we deploy a pod on particular node?

#devops #devopsvideos #devopstutorial #jenkins #jenkinsvideos
#jenkinstutorial #docker #dockertutorial #devopsprojects
#devopsrealtime #devopshandson #devopsinterview #devopsissues
#devopspracticals #ansible #ansibletutorial #monitoring
#prometheus #maventutorial #kubernetes #kubernetestutorial
#cicd #jenkinspipeline #pipeline #terraform #terraformtutorial
#devopstraining #realtimetrainingdevops #handson

source

34 Comments
    • blank
      Abhishek Choudhary
      May 10, 2022 15:09 pm Reply

      Hi Deekshith ,Really liked your videos …but let us know how can i reach you to have chat about career in devops

    • blank
      Bifin Manohara
      May 10, 2022 15:09 pm Reply

      Really awesome πŸ‘πŸ‘ I learnt lot from this video. Thanks for sharing

    • blank
      Sam_Jam
      May 10, 2022 15:09 pm Reply

      Hi deekshith , could you suggest me i would like to switch from networking to Devops for 3 year's experience . what are the tools and topics i need to learn to crack interview

    • blank
      reshmap360
      May 10, 2022 15:09 pm Reply

      Hi Deekshith,
      Good content and great explanation.Could you tell how how easy it's to switch from SDET profile to DevOps and gaining 2 year of experience

    • blank
      Keerthana Mahesh
      May 10, 2022 15:09 pm Reply

      It's really a awesome video Deekshith. You did a lot and you contributed a lot of efforts. Your way of teaching is awesome and clearly explainable. Really appreciate for your efforts Deekshith.

    • blank
      Sohail Khan
      May 10, 2022 15:09 pm Reply

      I absolutely love your videos Deekshith. You are truly inspirational! Thanks for sharing valuable content with us!

    • blank
      purnachandra k
      May 10, 2022 15:09 pm Reply

      Best one sir, thank you

    • blank
      Alex
      May 10, 2022 15:09 pm Reply

      Super

    • blank
      P aravind
      May 10, 2022 15:09 pm Reply

      Thank you for your effortπŸ‘πŸ»πŸ‘πŸ»

    • blank
      sarath kumar babji
      May 10, 2022 15:09 pm Reply

      will you share the pdfs?

    • blank
      Shekhar Suman
      May 10, 2022 15:09 pm Reply

      How can I contact you please message me details..need your private consulting

    • blank
      abhishek gowlikar
      May 10, 2022 15:09 pm Reply

      Great work in the area of DEVOPS, Learning a lot from the videos.

    • blank
      Prashant Yelure
      May 10, 2022 15:09 pm Reply

      Nice explain broπŸ‘πŸ‘πŸ‘Œ

    • blank
      Prathap Balam
      May 10, 2022 15:09 pm Reply

      Wonderful Explanation and its helps a lot and thanks for your effort.

    • blank
      Debabrat Das
      May 10, 2022 15:09 pm Reply

      Thanks for sharing Deekshith. What is that tool you are using to run linux terminal on windows? Is it Google cloud instance ?

    • blank
      gowtham sannala
      May 10, 2022 15:09 pm Reply

      Please make video how to configure GoDaddy SSL certificate in apache web server

    • blank
      murali krishna
      May 10, 2022 15:09 pm Reply

      Good to see this. expecting indiusal tool interview session and please upload explanation of all tools

    • blank
      venkata 1989
      May 10, 2022 15:09 pm Reply

      Well-done bro

    • blank
      mohammed
      May 10, 2022 15:09 pm Reply

      Hi bro ur videos are good. Any way to approach you.

    • blank
      sai manikanta
      May 10, 2022 15:09 pm Reply

      Bro can I have your number… ? Please

    • blank
      Chetan Gore
      May 10, 2022 15:09 pm Reply

      how can we run multiple containers in a single pod?

    • blank
      Babu K
      May 10, 2022 15:09 pm Reply

      Hi it's very good to know about interview questions n answers I heard n thank u can u please ping me ur no n confirm

    • blank
      navya happy soul
      May 10, 2022 15:09 pm Reply

      Thankyou for your knowledge share πŸ‘πŸ½

    • blank
      Satya Muralidhar Peddireddi
      May 10, 2022 15:09 pm Reply

      Senario : copy a file slave to master
      If we have mutiple slaves how can we take from pirticular slave using source and destination

    • blank
      Pooja Nair
      May 10, 2022 15:09 pm Reply

      Hello Sir

      Could you make more videos for devops interview…tricky questions…or scenario based?

    • blank
      ashok reddy
      May 10, 2022 15:09 pm Reply

      Hi if u have any Meterial for azure devops kindly share me link thanks in advance

    • blank
      Mohammed Javeed
      May 10, 2022 15:09 pm Reply

      Hi Deekshith
      Can please explain difference between git merge and git rebase

    • blank
      Random Videos
      May 10, 2022 15:09 pm Reply

      very very useful.kindly guide us how to do all type of applications like asp.net,java projects in azure live orojects.

    • blank
      Rashmi Shinde
      May 10, 2022 15:09 pm Reply

      Thanks a lot.. It is helping me to prepare for the interview.

    • blank
      Piyush Gupta
      May 10, 2022 15:09 pm Reply

      Thank you so much …Really appreciate your effort , Perhaps you dont know but it makes someone capable to grab good job in Devops .

      I want to add some Docker related question which also can be asked in interview:
      1. How docker api communicate with docker daemon.
      2. What is memory-swap flag in docker

    • blank
      narendra challagali
      May 10, 2022 15:09 pm Reply

      Hi Deekshith, are you conduct the any training sections either online or offline.

    • blank
      prashanth reddy
      May 10, 2022 15:09 pm Reply

      thank you so much dheekshith

    • blank
      Vijaykiran Meduri
      May 10, 2022 15:09 pm Reply

      Thanks Deekshith, Really your efforts are much appreciated. Thank for your time and patience.

    • blank
      Praven Kumar
      May 10, 2022 15:09 pm Reply

      Thanks for the videos bro…really it helps me a lot….your way of explanation is really good….thank you so much

Leave us a comment