Devops/SRE Interview Questions & Answers
HTML-код
- Опубликовано: 6 сен 2024
- 💡 💡 💡 💡 💡
In this video I have discussed about interview questions and answers
Also recently I have uploaded video on CICD pipeline to deploy java based application, which might help in interviews - • CICD pipeline for Java...
Below are the questions which I have discussed
💥 💥 Time-stamps 💥 💥
0:10 Intro
0:54 Linux Commands/Shell Scripting Questions
✔️ 00:56 Command to find empty files in a given directory?
✔️ 03:15 Commands you will use it for configuring ssh connectivity between 2 machines and what files will be present in .ssh folder?
✔️ 08:22 How to schedule a shell script in unix machines?
✔️ 10:40 Command to get load average ?
✔️ 11:18 Need to identify IP addresses in log file and count of ip addresses in log file? ( detailed video • Extracting IP address ... )
✔️ 14:42 What is command for checking the running process? how to get PID of process?
✔️ 15:56 Command to get whether certain port is listing or not?
✔️ 18:47 How to identify the number of params that has been sent to shell script?
✔️ 20:32 Command to delete empty line in a file?
✔️ 22:06 What is exit status?
✔️ 23:50 Given machine, how will you identify which machine it is?
24:39 - Git/Github Questions
✔️ 24:41 What is git reset ? Types of reset ?
✔️ 33:29 How to delete local branch and remote branch in git ?
✔️ 36:44 Difference between git diff and git status ?
✔️ 38:45 What are hooks in git? ( datree video - • Prevent Kubernetes Mis... )
✔️ 48:38 What is the importance .git directory?
✔️ 49:47 What are the branches, diff between remote and local branches?
✔️ 54:44 What Branching strategy that you are familiar with?
✔️ 59:11 What PR (Pull request) is? what's the importance of PR?
✔️ 1:04:01 Which version of git you have used?
✔️ 1:04:45 What is git squash?
✔️ 1:11:00 Command to list all commits?
1:11:38 - Maven Questions
✔️ 1:11:40 What are things you need to set, if you want download dependency from private repository ?
✔️ 1:16:34 Command to skip the test cases in maven
✔️ 1:19:34 What is multi module project?
✔️ 1:23:57 What is the importance of dependency management?
✔️ 1:27:36 What is the default value of packaging tag? What other values for other artifact types?
✔️ 1:29:06 What are GAV’s?
✔️ 1:29:38 Is there way by which we can set local repository as some other custom directory, other than .m2?
1:32:24 - Docker Questions
✔️ 1:32:25 How to configure docker private registry?
✔️ 1:38:45 Types of network in docker? if you don't specify network to deploy on which network the container will be created?
✔️ 1:40:30 Explain a sample dockerfile that you have used in your project? ( detailed video - • micro services on dock... )
✔️ 1:48:08 Can we launch Linux containers windows and vice versa?
✔️ 1:50:19 What does ONBUILD instruction do in Dockerfile?
✔️ 1:52:46 What is the use of .dockerignore file?
✔️ 1:56:49 How to delete all stopped containers and unused images command for that?
✔️ 1:59:45 Is it good to use docker compose in production?
✔️ 2:00:50 How to parametrize base image tag?
✔️ 2:04:16 Building Dockerfile in directory which has large file is good practice?
2:05:08 - Ansible Questions
✔️ 2:05:09 Why ansible ? What makes ansible powerful than other tools like chef and puppet?
✔️ 2:11:17 5 modules that you have worked on? Can we create custom module ? ( doc - docs.ansible.c... )
✔️ 2:13:20 What is dynamic inventory in ansible?
✔️ 2:15:33 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?
✔️ 2:22:22 How to handle prompts with ansible playbook?
✔️ 2:29:19 What is ansible galaxy?
✔️ 2:30:40 What are adhoc commands?
2:33:14 - Jenkins Questions
✔️ 2:33:15 How to set Jenkins build to fail based specific word in console output ?
✔️ 2:39:35 What are active and reactive parameters (Dynamic parameterization) in Jenkins ?
✔️ 2:46:56 How to customize the build number display to something else in Jenkins job page?
✔️ 2:50:29 What are multi branch pipeline?
✔️ 2:53:50 What is shared library in Jenkins ?
✔️ 3:04:24 What type of Jenkinsfile you have worked on?
✔️ 3:05:08 In master slave setup if I want run job on specific node is is possible?
✔️ 3:06:25 what is the importance of Jenkins secrets?
✔️ 3:08:50 How do you take Jenkins backup?
✔️ 3:11:13 Importance of post block?
✔️ 3:13:31 Can we have job for pr and once merge is done the source branch should be deleted?
☎️📞If you want to book a call ( paid ) with me then you can refer below form📃📅
forms.gle/p7HL...
📂Git Repositories Used In Interview📂
All the repo used video can be found in - github.com/Dee...
⭐️If you like Datree, give it a star on GitHub!⭐ - github.com/dat...
If you like the video like ✅, share 🔁 and subscribe 🔔
You can follow me on
Telegram group - t.me/joinchat/...
LinkedIn - / deekshith-sn-972532a1
0:53 Linux & Shell Script
24:38 Git
1:11:36 Maven
1:32:25 Docker
2:05:07 Ansible
2:33:14 Jenkins
My suggestions if u make another vds are : 1. Wht r the challenges faced u as a devops engineer
2. How & who gives u daily tasks
3. Ur day to day activities kind of things.
I am seeing lot of tools related interview qusns everywhr but no one described above kind of qusns which r happening while u r working in an organistaion. It would be helpful if u do one vdo on that
Thanks for watching, will consider these question next interview questions :)
Ya bro pls do video base on these points
waiting for scenario based interview questions
This is really helpful Deekshith. Really appreciate your hard work and dedication for tech community. I learnt a lot from this and will be helpful for sure in cracking interviews.
Thanks for watching, This motivates me to do more and more videos
This is one of the best DevOps interview video I have seen so far and I cant believe this video was about 2years ago its still very outstanding. Thank you for your support in our journey.
Thanks a lot Deekshith, Please let us know where you shared the answers for Kubernetes related questions
Thank deekshith, for providing these question and answer it veryhelpful.
Can you please do video on terraform and interview Q & A
Sure, will plan to do one
Excellent !!! Really Very Very Helpful , Appreciate and respect for your efforts for making and sharing with us, Thanks Deekshith.
This is so brave Deekshith, with explanation you made the things to understand in great way. Keey continue the same to deliver your best in tech
one of the best training on DevOps tech and very very informative
Glad it was helpful!
Thank you for crisp Explanation with Real time scenarios!
This is one of the best interview QA video I ever come across
Great content can you create a video for Devops CI/CD using GCP features like cloud source repo, Cloud Build, GCR etc...
Thanks a lot Deekshith for the wonderful playlist of interview questions. It is highly understandable. Appreciating your efforts in this!!! Also Kindly provide some knowledge towards AWS cloud related questions. It will be really helpful if you can provide them as well.
Thanks for watching and for your kind comments
I have not made any mock interview on cloud, will try to do in future.
But I made few videos on daily activities that might help you
ruclips.net/video/JfHz-FOiuk8/видео.html
ruclips.net/video/Wx1JWegsqYY/видео.html
This is really helpful Deekshith. Really appreciate your hard work and dedication for tech community.
Glad it was helpful! And thank you so much for your kind comments 😊
hi bro superb video for who is looking knowledge in devops , plz make one video about yaml file in docker and k8s , how to make step by step as u r explain plz it may become big help
Refer
ruclips.net/video/zNQmHfgw01Q/видео.html
ruclips.net/video/VTTHwRes7FU/видео.html
@@DeekshithSN, brother thanks a lot for making such a useful video , all information you are giving a free , its great for u r helping nature brother , i have one doubt how to remember all yaml while doing in kubernetes , could u help me bring out that plz
Such an amazing video , please upload questions on cicd pipelining & on Docker
Awesome one here I appreciate your efforts. Keep up the good work. Kuddos🤑
I am glad the video helped you :)
Awesome bro.. very helpful content thanks for the video
Thanks for your effort to make this video.
bro these are really helpful. Thank you so much
Glad you like them!
Parent Pom.XML has three child Pom.XML as 1,2,3 suppose child 2 Pom.XML file has some issues then flow execution of will continue to 3 rd Pom.XML or not
2:05:07 ansible starts
Is AWS or cloud necessary to get a devops job of 3.5 yes experience. Please let me know.
Also thank you your doing a fantastic job
If you have 3.5 years experience then After all it is very important to learn cloud infrastructure. Because the basic need of companies nowadays is cloud automation. Terraform and Ansible are not so difficult as compared to other devops tools
Yes.. u must
Devops needs servers and networking to achieve cicd and stuff. Cloud plays a key role in that
Quite useful information. Thank you for sharing this.
super bro
Thanks a lot
Bro, why haven't you included k8s in this video... Badly waiting for that
Hi Rohit,
Thanks for watching this is the second video on daily activities, in the first video I discussed about kubernetes activities aswell, below is the link
ruclips.net/video/OHuJkyRGPBc/видео.html
Nice Explanation.. bro.. Needed Docker related qus and ans videos..
Sure 👍
It is very helpful this type of video ...
you are amazing
Good job deekshith
Really great content deekshith bro , do you also provide 1:1 coaching ?
Excellent Sir thanks
Excellent thanks
Helpful. Thanks 👍
Thanks for watching 😊😊
Great bro tq so much
we need more video's from you
Sure, will be doing more and more videos
Hi, Dikshith will you provide online traning. Thank you
❤❤❤
Thanks for watching and for the support :)
Bro I recently faced one question in my interview ... i.e scenario based ...
1. my application container running in one EC2 server ...and application related database running in anotherv EC2 server .... How can we connect these two container ? Could please explain
U can use docker-compose file
Security group! Simple, don't overthink. If they're both in same VPC, which they should.
Without Pom.XML file execution of maven Jenkins Job what will happen ??
Thank you.. good one..
Really helpful sir
Ssh topic is based on docker container?
sir, thank you for this
Most welcome
Very helpful video
Glad you liked it !!
Wonderful session Sir. Really helps a lot
Thanks for watching 😊😊, I am glad it helped you 🙂
can you do video on kubernetes interview questions?
Thanks for watching, I have already uploaded few please checkout the playlists
Sir iam from Non maths background
I did MSC biochemistry
Can I learn DeVops and find a job
What is the Laptop configuration required for learning and practicing the DeVops course
I cannot comment on your first query. But for laptop configuration, here are some tips - You don't need high end laptop, have a free tier AWS account and use it for free for 12 months. You can access everything from your laptop browser. Before you start using free tier account, make sure you read all schemes related details carefully. Otherwise you will get charged for consuming resources which are not included in free tier.
If you do not want to leverage the cloud services and want to do it locally(on your personal laptop) with help hypervisors like Oracle VirtualBox or VMWare, then you will need high end laptop.
For example: If you want to build CICD pipeline like explained in this video ruclips.net/video/WUv-LCRrdjY/видео.html which has five VM provisioned in Google Cloud Private, in you laptop, then your laptop should have at-least 16 GB of RAM, 6 cores.
Above are my suggestions, I would suggest to wait for author to reply.
I would suggest - Start learning individual tools first ansible, docker, kubernetes and all others and at last start learning CICD pipeline with Jenkins
Begginer ke liye nhi hai kya ye.
load avg calculation 1min, 5min 15min
Bro 1 question :
I want to ssh into all vm machines in all folders and all projects under my org .
After ssh I want to run a "sudo install apache2"
How can I write a script for this, pls help me
you need to use Ansible script to install the Apache in all machines
You can have list of server in CSV or text loop tho all the server and install software which one you wanted.
Hi,
I have sent you an email pls reply.