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

Комментарии • 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

  • @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 10 месяцев назад

      waiting for scenario based interview questions

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

  • @moctartambadou1916
    @moctartambadou1916 7 месяцев назад

    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.

  • @user-gj8kg6nr5b
    @user-gj8kg6nr5b 6 месяцев назад

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

  • @udaykarthick1825
    @udaykarthick1825 2 года назад +2

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

  • @manaligharkar858
    @manaligharkar858 2 года назад +2

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

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

  • @DevOps-AWS55
    @DevOps-AWS55 Год назад

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

  • @srini467
    @srini467 2 года назад +1

    Thank you for crisp Explanation with Real time scenarios!

  • @infotechworlditpune1672
    @infotechworlditpune1672 2 года назад

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

  • @santoshperumal129
    @santoshperumal129 2 года назад +1

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

  • @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  Год назад

      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

  • @sudhakarreddy4727
    @sudhakarreddy4727 Год назад

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

    • @DeekshithSN
      @DeekshithSN  Год назад

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

  • @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
      ruclips.net/video/zNQmHfgw01Q/видео.html
      ruclips.net/video/VTTHwRes7FU/видео.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

  • @shahzan525
    @shahzan525 2 года назад

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

  • @MbahHerictaAnwei
    @MbahHerictaAnwei 6 месяцев назад

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

    • @DeekshithSN
      @DeekshithSN  2 месяца назад

      I am glad the video helped you :)

  • @abhishekm1361
    @abhishekm1361 2 года назад +2

    Awesome bro.. very helpful content thanks for the video

  • @mohamedjiyaudeen2932
    @mohamedjiyaudeen2932 2 года назад +1

    Thanks for your effort to make this video.

  • @anuragmohapatra582
    @anuragmohapatra582 Год назад

    bro these are really helpful. Thank you so much

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

  • @user-do2wd8px2s
    @user-do2wd8px2s 10 месяцев назад

    2:05:07 ansible starts

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

  • @ideniskov
    @ideniskov 2 года назад

    Quite useful information. Thank you for sharing this.

  • @Rameshpowervlogs
    @Rameshpowervlogs Год назад +1

    super bro

  • @surajchintala1936
    @surajchintala1936 2 года назад +1

    Thanks a lot

  • @ROHITRAJ-bw4dm
    @ROHITRAJ-bw4dm Год назад

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

    • @DeekshithSN
      @DeekshithSN  Год назад

      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

  • @balraj1865
    @balraj1865 2 года назад

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

  • @janardhanm6402
    @janardhanm6402 2 года назад

    It is very helpful this type of video ...

  • @George-mk7lp
    @George-mk7lp 2 года назад +1

    you are amazing

  • @karthikkambala7372
    @karthikkambala7372 Год назад

    Good job deekshith

  • @yashsinha5669
    @yashsinha5669 Год назад

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

  • @happylearningtricks
    @happylearningtricks 2 года назад

    Excellent Sir thanks

  • @rasheedshaik9876
    @rasheedshaik9876 2 года назад

    Excellent thanks

  • @benaam5441
    @benaam5441 Год назад

    Helpful. Thanks 👍

  • @sivareddy2927
    @sivareddy2927 2 года назад

    Great bro tq so much

  • @happylearningtricks
    @happylearningtricks 2 года назад

    we need more video's from you

    • @DeekshithSN
      @DeekshithSN  2 года назад

      Sure, will be doing more and more videos

  • @adibanaazfatima7192
    @adibanaazfatima7192 Год назад

    Hi, Dikshith will you provide online traning. Thank you

  • @lakshmikanthmc7330
    @lakshmikanthmc7330 Год назад

    ❤❤❤

    • @DeekshithSN
      @DeekshithSN  Год назад

      Thanks for watching and for the support :)

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

  • @pagadalanagaraju4082
    @pagadalanagaraju4082 2 года назад

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

  • @ragurajan3264
    @ragurajan3264 2 года назад

    Thank you.. good one..

  • @riyazahamedshaik5956
    @riyazahamedshaik5956 2 года назад

    Really helpful sir

  • @nithinb.m7555
    @nithinb.m7555 2 года назад

    Ssh topic is based on docker container?

  • @skm1856
    @skm1856 2 года назад

    sir, thank you for this

  • @hareeshsa8381
    @hareeshsa8381 2 года назад

    Very helpful video

  • @udaykiran4359
    @udaykiran4359 Год назад

    Wonderful session Sir. Really helps a lot

    • @DeekshithSN
      @DeekshithSN  Год назад

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

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

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

  • @amitpandey7493
    @amitpandey7493 2 года назад

    Begginer ke liye nhi hai kya ye.

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