Devops Interview questions and answers | Devops mock interview 1 Answers
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
Leave us a comment Cancel reply
COMMON QUESTIONS
Categories
- Agile Coach
- ARTIFICIAL INTELLIGENCE
- Block chain
- Business Analyst BA
- DATA science
- Development
- Devops Automation
- Dotnet
- Education
- Free Job training and assistance
- Information
- Infrastructure automation
- Interview questions
- JAVA
- jobs
- Learn
- Machine learning
- Python Automation
- QA Automation
- RPA Automation
- SAP crm
- Scrum master Agile
- Skill
- UI Design
- Uncategorized
34 Comments
Abhishek Choudhary
May 10, 2022 15:09 pmHi Deekshith ,Really liked your videos …but let us know how can i reach you to have chat about career in devops
Bifin Manohara
May 10, 2022 15:09 pmReally awesome ππ I learnt lot from this video. Thanks for sharing
Sam_Jam
May 10, 2022 15:09 pmHi 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
reshmap360
May 10, 2022 15:09 pmHi 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
Keerthana Mahesh
May 10, 2022 15:09 pmIt'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.
Sohail Khan
May 10, 2022 15:09 pmI absolutely love your videos Deekshith. You are truly inspirational! Thanks for sharing valuable content with us!
purnachandra k
May 10, 2022 15:09 pmBest one sir, thank you
Alex
May 10, 2022 15:09 pmSuper
P aravind
May 10, 2022 15:09 pmThank you for your effortππ»ππ»
sarath kumar babji
May 10, 2022 15:09 pmwill you share the pdfs?
Shekhar Suman
May 10, 2022 15:09 pmHow can I contact you please message me details..need your private consulting
abhishek gowlikar
May 10, 2022 15:09 pmGreat work in the area of DEVOPS, Learning a lot from the videos.
Prashant Yelure
May 10, 2022 15:09 pmNice explain broπππ
Prathap Balam
May 10, 2022 15:09 pmWonderful Explanation and its helps a lot and thanks for your effort.
Debabrat Das
May 10, 2022 15:09 pmThanks for sharing Deekshith. What is that tool you are using to run linux terminal on windows? Is it Google cloud instance ?
gowtham sannala
May 10, 2022 15:09 pmPlease make video how to configure GoDaddy SSL certificate in apache web server
murali krishna
May 10, 2022 15:09 pmGood to see this. expecting indiusal tool interview session and please upload explanation of all tools
venkata 1989
May 10, 2022 15:09 pmWell-done bro
mohammed
May 10, 2022 15:09 pmHi bro ur videos are good. Any way to approach you.
sai manikanta
May 10, 2022 15:09 pmBro can I have your number⦠? Please
Chetan Gore
May 10, 2022 15:09 pmhow can we run multiple containers in a single pod?
Babu K
May 10, 2022 15:09 pmHi 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
navya happy soul
May 10, 2022 15:09 pmThankyou for your knowledge share ππ½
Satya Muralidhar Peddireddi
May 10, 2022 15:09 pmSenario : copy a file slave to master
If we have mutiple slaves how can we take from pirticular slave using source and destination
Pooja Nair
May 10, 2022 15:09 pmHello Sir
Could you make more videos for devops interview…tricky questions…or scenario based?
ashok reddy
May 10, 2022 15:09 pmHi if u have any Meterial for azure devops kindly share me link thanks in advance
Mohammed Javeed
May 10, 2022 15:09 pmHi Deekshith
Can please explain difference between git merge and git rebase
Random Videos
May 10, 2022 15:09 pmvery very useful.kindly guide us how to do all type of applications like asp.net,java projects in azure live orojects.
Rashmi Shinde
May 10, 2022 15:09 pmThanks a lot.. It is helping me to prepare for the interview.
Piyush Gupta
May 10, 2022 15:09 pmThank 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
narendra challagali
May 10, 2022 15:09 pmHi Deekshith, are you conduct the any training sections either online or offline.
prashanth reddy
May 10, 2022 15:09 pmthank you so much dheekshith
Vijaykiran Meduri
May 10, 2022 15:09 pmThanks Deekshith, Really your efforts are much appreciated. Thank for your time and patience.
Praven Kumar
May 10, 2022 15:09 pmThanks for the videos bro…really it helps me a lot….your way of explanation is really good….thank you so much