Devops/SRE Interview Questions & Answers

Sdílet
Vložit
  • čas přidán 28. 08. 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

Komentáře • 83

  • @rond7759
    @rond7759 Před rokem +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 Před 2 lety +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  Před 2 lety +3

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

    • @gottamshiva9777
      @gottamshiva9777 Před 2 lety

      Ya bro pls do video base on these points

    • @amansinha94
      @amansinha94 Před 9 měsíci

      waiting for scenario based interview questions

  • @moctartambadou1916
    @moctartambadou1916 Před 7 měsíci

    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.

  • @01gaganjoshi
    @01gaganjoshi Před 2 lety +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  Před 2 lety +3

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

  • @DevOps-AWS55
    @DevOps-AWS55 Před rokem

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

  • @manaligharkar858
    @manaligharkar858 Před 2 lety +2

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

  • @infotechworlditpune1672

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

  • @loveliving4582
    @loveliving4582 Před 2 lety +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

  • @srini467
    @srini467 Před 2 lety +1

    Thank you for crisp Explanation with Real time scenarios!

  • @udaykarthick1825
    @udaykarthick1825 Před 2 lety +2

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

  • @rajalakshminagendran8277

    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  Před rokem

      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
      czcams.com/video/JfHz-FOiuk8/video.html
      czcams.com/video/Wx1JWegsqYY/video.html

  • @sudhakarreddy4727
    @sudhakarreddy4727 Před rokem

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

    • @DeekshithSN
      @DeekshithSN  Před rokem

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

  • @user-gj8kg6nr5b
    @user-gj8kg6nr5b Před 5 měsíci

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

  • @santoshperumal129
    @santoshperumal129 Před rokem +1

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

  • @rajasekhar2258
    @rajasekhar2258 Před 2 lety +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  Před 2 lety +1

      Refer
      czcams.com/video/zNQmHfgw01Q/video.html
      czcams.com/video/VTTHwRes7FU/video.html

    • @rajasekhar2258
      @rajasekhar2258 Před 2 lety

      @@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 Před 2 lety

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

  • @MbahHerictaAnwei
    @MbahHerictaAnwei Před 6 měsíci

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

    • @DeekshithSN
      @DeekshithSN  Před 2 měsíci

      I am glad the video helped you :)

  • @abhishekm1361
    @abhishekm1361 Před 2 lety +2

    Awesome bro.. very helpful content thanks for the video

  • @mohamedjiyaudeen2932
    @mohamedjiyaudeen2932 Před 2 lety +1

    Thanks for your effort to make this video.

  • @ideniskov
    @ideniskov Před 2 lety

    Quite useful information. Thank you for sharing this.

  • @anuragmohapatra582
    @anuragmohapatra582 Před rokem

    bro these are really helpful. Thank you so much

  • @janardhanm6402
    @janardhanm6402 Před 2 lety

    It is very helpful this type of video ...

  • @karthikkambala7372
    @karthikkambala7372 Před rokem

    Good job deekshith

  • @surajchintala1936
    @surajchintala1936 Před 2 lety +1

    Thanks a lot

  • @balraj1865
    @balraj1865 Před 2 lety

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

  • @yashsinha5669
    @yashsinha5669 Před rokem

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

  • @sushmarao503
    @sushmarao503 Před 2 lety +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 Před 2 lety +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 Před 2 lety

      Yes.. u must

    • @ammulasantosh6740
      @ammulasantosh6740 Před 2 lety

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

  • @user-do2wd8px2s
    @user-do2wd8px2s Před 10 měsíci

    2:05:07 ansible starts

  • @happylearningtricks
    @happylearningtricks Před 2 lety

    Excellent Sir thanks

  • @George-mk7lp
    @George-mk7lp Před 2 lety +1

    you are amazing

  • @Rameshpowervlogs
    @Rameshpowervlogs Před rokem +1

    super bro

  • @happylearningtricks
    @happylearningtricks Před 2 lety

    we need more video's from you

    • @DeekshithSN
      @DeekshithSN  Před 2 lety

      Sure, will be doing more and more videos

  • @rasheedshaik9876
    @rasheedshaik9876 Před 2 lety

    Excellent thanks

  • @lakshmikanthmc7330
    @lakshmikanthmc7330 Před rokem

    ❤❤❤

    • @DeekshithSN
      @DeekshithSN  Před rokem

      Thanks for watching and for the support :)

  • @benaam5441
    @benaam5441 Před rokem

    Helpful. Thanks 👍

  • @sivareddy2927
    @sivareddy2927 Před 2 lety

    Great bro tq so much

  • @ragurajan3264
    @ragurajan3264 Před 2 lety

    Thank you.. good one..

  • @pagadalanagaraju4082
    @pagadalanagaraju4082 Před 2 lety

    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

  • @riyazahamedshaik5956
    @riyazahamedshaik5956 Před 2 lety

    Really helpful sir

  • @udaykiran4359
    @udaykiran4359 Před rokem

    Wonderful session Sir. Really helps a lot

    • @DeekshithSN
      @DeekshithSN  Před rokem

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

  • @adibanaazfatima7192
    @adibanaazfatima7192 Před rokem

    Hi, Dikshith will you provide online traning. Thank you

  • @skm1856
    @skm1856 Před 2 lety

    sir, thank you for this

  • @ROHITRAJ-bw4dm
    @ROHITRAJ-bw4dm Před rokem

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

    • @DeekshithSN
      @DeekshithSN  Před rokem

      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
      czcams.com/video/OHuJkyRGPBc/video.html

  • @pagadalanagaraju4082
    @pagadalanagaraju4082 Před 2 lety

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

  • @hareeshsa8381
    @hareeshsa8381 Před 2 lety

    Very helpful video

  • @gottamshiva9777
    @gottamshiva9777 Před 2 lety +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

  • @nithinb.m7555
    @nithinb.m7555 Před 2 lety

    Ssh topic is based on docker container?

  • @amitpandey7493
    @amitpandey7493 Před 2 lety

    Begginer ke liye nhi hai kya ye.

  • @dm5665
    @dm5665 Před 2 lety

    load avg calculation 1min, 5min 15min

  • @anilgondi1008
    @anilgondi1008 Před 2 lety

    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 Před 2 lety

      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 czcams.com/video/WUv-LCRrdjY/video.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

  • @2mahender
    @2mahender Před 2 lety

    can you do video on kubernetes interview questions?

    • @DeekshithSN
      @DeekshithSN  Před 2 lety

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

  • @raghavanp8837
    @raghavanp8837 Před 2 lety

    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 Před 2 lety

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

    • @sivanandareddya5984
      @sivanandareddya5984 Před 2 lety

      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 Před 2 lety

    Hi,
    I have sent you an email pls reply.