Devops/SRE Interview Questions & Answers

Поділитися
Вставка
  • Опубліковано 10 січ 2022
  • 💡 💡 💡 💡 💡
    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.com/ansible/2.3/... )
    ✔️ 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/p7HLbuZAnYTEj13n7
    📂Git Repositories Used In Interview📂
    All the repo used video can be found in - github.com/DeekshithSN
    ⭐️If you like Datree, give it a star on GitHub!⭐ - github.com/datreeio/datree
    If you like the video like ✅, share 🔁 and subscribe 🔔
    You can follow me on
    Telegram group - t.me/joinchat/0ypHTOfCX5QzZTA1
    LinkedIn - / deekshith-sn-972532a1

КОМЕНТАРІ • 83

  • @rond7759
    @rond7759 Рік тому +9

    0:53 Linux & Shell Script
    24:38 Git
    1:11:36 Maven
    1:32:25 Docker
    2:05:07 Ansible
    2:33:14 Jenkins

  • @srini467
    @srini467 2 роки тому +1

    Thank you for crisp Explanation with Real time scenarios!

  • @manaligharkar858
    @manaligharkar858 2 роки тому +2

    Excellent !!! Really Very Very Helpful , Appreciate and respect for your efforts for making and sharing with us, Thanks Deekshith.

  • @infotechworlditpune1672
    @infotechworlditpune1672 2 роки тому

    This is one of the best interview QA video I ever come across

  • @loveliving4582
    @loveliving4582 2 роки тому +1

    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

  • @moctartambadou1916
    @moctartambadou1916 4 місяці тому

    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.

  • @ideniskov
    @ideniskov 2 роки тому

    Quite useful information. Thank you for sharing this.

  • @01gaganjoshi
    @01gaganjoshi 2 роки тому +16

    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.

    • @DeekshithSN
      @DeekshithSN  2 роки тому +3

      Thanks for watching, This motivates me to do more and more videos

  • @ramram4557
    @ramram4557 2 роки тому +17

    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

    • @DeekshithSN
      @DeekshithSN  2 роки тому +3

      Thanks for watching, will consider these question next interview questions :)

    • @gottamshiva9777
      @gottamshiva9777 2 роки тому

      Ya bro pls do video base on these points

    • @amansinha94
      @amansinha94 7 місяців тому

      waiting for scenario based interview questions

  • @mohamedjiyaudeen2932
    @mohamedjiyaudeen2932 2 роки тому +1

    Thanks for your effort to make this video.

  • @abhishekm1361
    @abhishekm1361 2 роки тому +2

    Awesome bro.. very helpful content thanks for the video

  • @shahzan525
    @shahzan525 2 роки тому

    Such an amazing video , please upload questions on cicd pipelining & on Docker

  • @DevOps-AWS55
    @DevOps-AWS55 Рік тому

    one of the best training on DevOps tech and very very informative

  • @janardhanm6402
    @janardhanm6402 2 роки тому

    It is very helpful this type of video ...

  • @sudhakarreddy4727
    @sudhakarreddy4727 Рік тому

    This is really helpful Deekshith. Really appreciate your hard work and dedication for tech community.

    • @DeekshithSN
      @DeekshithSN  11 місяців тому

      Glad it was helpful! And thank you so much for your kind comments 😊

  • @rasheedshaik9876
    @rasheedshaik9876 2 роки тому

    Excellent thanks

  • @riyazahamedshaik5956
    @riyazahamedshaik5956 2 роки тому

    Really helpful sir

  • @ragurajan3264
    @ragurajan3264 2 роки тому

    Thank you.. good one..

  • @anuragmohapatra582
    @anuragmohapatra582 10 місяців тому

    bro these are really helpful. Thank you so much

  • @karthikkambala7372
    @karthikkambala7372 Рік тому

    Good job deekshith

  • @happylearningtricks
    @happylearningtricks Рік тому

    Excellent Sir thanks

  • @sivareddy2927
    @sivareddy2927 2 роки тому

    Great bro tq so much

  • @surajchintala1936
    @surajchintala1936 2 роки тому +1

    Thanks a lot

  • @benaam5441
    @benaam5441 Рік тому

    Helpful. Thanks 👍

  • @balraj1865
    @balraj1865 2 роки тому

    Nice Explanation.. bro.. Needed Docker related qus and ans videos..

  • @santoshperumal129
    @santoshperumal129 Рік тому +1

    Great content can you create a video for Devops CI/CD using GCP features like cloud source repo, Cloud Build, GCR etc...

  • @George-mk7lp
    @George-mk7lp 2 роки тому +1

    you are amazing

  • @yashsinha5669
    @yashsinha5669 Рік тому

    Really great content deekshith bro , do you also provide 1:1 coaching ?

  • @hareeshsa8381
    @hareeshsa8381 2 роки тому

    Very helpful video

  • @Rameshpowervlogs
    @Rameshpowervlogs Рік тому +1

    super bro

  • @user-gj8kg6nr5b
    @user-gj8kg6nr5b 3 місяці тому

    Thanks a lot Deekshith, Please let us know where you shared the answers for Kubernetes related questions

  • @rajalakshminagendran8277
    @rajalakshminagendran8277 Рік тому +1

    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.

    • @DeekshithSN
      @DeekshithSN  11 місяців тому

      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
      ua-cam.com/video/JfHz-FOiuk8/v-deo.html
      ua-cam.com/video/Wx1JWegsqYY/v-deo.html

  • @udaykarthick1825
    @udaykarthick1825 Рік тому +2

    Thank deekshith, for providing these question and answer it veryhelpful.
    Can you please do video on terraform and interview Q & A

  • @skm1856
    @skm1856 2 роки тому

    sir, thank you for this

  • @MbahHerictaAnwei
    @MbahHerictaAnwei 3 місяці тому

    Awesome one here I appreciate your efforts. Keep up the good work. Kuddos🤑

    • @DeekshithSN
      @DeekshithSN  8 годин тому

      I am glad the video helped you :)

  • @rajasekhar2258
    @rajasekhar2258 2 роки тому +2

    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

    • @DeekshithSN
      @DeekshithSN  2 роки тому +1

      Refer
      ua-cam.com/video/zNQmHfgw01Q/v-deo.html
      ua-cam.com/video/VTTHwRes7FU/v-deo.html

    • @rajasekhar2258
      @rajasekhar2258 2 роки тому

      @@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

  • @udaykiran4359
    @udaykiran4359 Рік тому

    Wonderful session Sir. Really helps a lot

    • @DeekshithSN
      @DeekshithSN  Рік тому

      Thanks for watching 😊😊, I am glad it helped you 🙂

  • @pagadalanagaraju4082
    @pagadalanagaraju4082 2 роки тому

    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

  • @happylearningtricks
    @happylearningtricks Рік тому

    we need more video's from you

    • @DeekshithSN
      @DeekshithSN  Рік тому

      Sure, will be doing more and more videos

  • @nithinb.m7555
    @nithinb.m7555 2 роки тому

    Ssh topic is based on docker container?

  • @lakshmikanthmc7330
    @lakshmikanthmc7330 10 місяців тому

    ❤❤❤

    • @DeekshithSN
      @DeekshithSN  9 місяців тому

      Thanks for watching and for the support :)

  • @adibanaazfatima7192
    @adibanaazfatima7192 Рік тому

    Hi, Dikshith will you provide online traning. Thank you

  • @pagadalanagaraju4082
    @pagadalanagaraju4082 2 роки тому

    Without Pom.XML file execution of maven Jenkins Job what will happen ??

  • @amitpandey7493
    @amitpandey7493 2 роки тому

    Begginer ke liye nhi hai kya ye.

  • @gottamshiva9777
    @gottamshiva9777 2 роки тому +1

    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

    • @k.v.g.nayyappakumar9069
      @k.v.g.nayyappakumar9069 2 роки тому

      U can use docker-compose file

    • @emmarose9466
      @emmarose9466 Рік тому

      Security group! Simple, don't overthink. If they're both in same VPC, which they should.

  • @sushmarao503
    @sushmarao503 2 роки тому +4

    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

    • @mianawais2947
      @mianawais2947 2 роки тому +1

      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

    • @sumanbattu6075
      @sumanbattu6075 2 роки тому

      Yes.. u must

    • @ammulasantosh6740
      @ammulasantosh6740 2 роки тому

      Devops needs servers and networking to achieve cicd and stuff. Cloud plays a key role in that

  • @2mahender
    @2mahender 2 роки тому

    can you do video on kubernetes interview questions?

    • @DeekshithSN
      @DeekshithSN  2 роки тому

      Thanks for watching, I have already uploaded few please checkout the playlists

  • @anilinaganti1017
    @anilinaganti1017 2 роки тому

    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

    • @vijaysarde385
      @vijaysarde385 2 роки тому

      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 ua-cam.com/video/WUv-LCRrdjY/v-deo.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

  • @user-do2wd8px2s
    @user-do2wd8px2s 7 місяців тому

    2:05:07 ansible starts

  • @ROHITRAJ-bw4dm
    @ROHITRAJ-bw4dm Рік тому

    Bro, why haven't you included k8s in this video... Badly waiting for that

    • @DeekshithSN
      @DeekshithSN  11 місяців тому

      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
      ua-cam.com/video/OHuJkyRGPBc/v-deo.html

  • @dm5665
    @dm5665 2 роки тому

    load avg calculation 1min, 5min 15min

  • @raghavanp8837
    @raghavanp8837 2 роки тому

    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

    • @codedevops
      @codedevops 2 роки тому

      you need to use Ansible script to install the Apache in all machines

    • @sivanandareddya5984
      @sivanandareddya5984 2 роки тому

      You can have list of server in CSV or text loop tho all the server and install software which one you wanted.

  • @AjaySingh-cs2cs
    @AjaySingh-cs2cs 2 роки тому

    Hi,
    I have sent you an email pls reply.