Terraform Interview ( Mock Interview )

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 62

  • @gechemasankar
    @gechemasankar 2 ปีที่แล้ว +45

    0:00 Interducation
    0:15 1. Daily activities that you do in Terraform?
    0:34 2. What are services that you have worked with and wrote terraform files?
    2:59 3. Tell me a scenario where you come across provisioners?
    5:38 4. What are plugins and providers in terraform?
    7:10 5. How do you deploy the terraform code manually or with some automation? Have configured locks on the backend
    statefile?
    10:46 6. When you want to deploy the same terraform code on different env then what is the best strategy?
    12:49 7. How do you standardize terraform code so that can be shared across multiple teams in an organization?
    13:30 8. How do you call output of one module in another module?
    16:12 9. Lets say you have created lot of resources using terraform out of is there way to delete one the resource through
    Terraform?
    17:41 10.Can we merge 2 different state files?
    18:09 11. Few challenges that you came across while working with Terraform?
    20:08 12. Best way to authenticate cloud providers through Terraform?
    21:06 13. Lets assume 2 resources you are creating using terraform, but we need make sure once 1st resource created
    successfully then only need to start creating 2nd resource. Is this possible?
    22:39 14. What is null resource in terraform?
    24:36 15. What happens if statefile is missed or delete?
    25:50 16. Can terraform used for automating on prem infra?
    26:24 17. What if we encounter a serious error and want to rollback?
    27:22 18. How to call existing resources from AWS or Azure to terraform without hardcoding the values or terraform import?
    28:29 19. If we give count zero in resources level what will happen?
    28:57 20. What is Dynamic Block in terraform?
    29:59 21. Best Practices in Terraform?
    @@@@@@@@@@---Hemasankar---@@@@@@@@@@

  • @PiyushKushwaha-pyshkshwh
    @PiyushKushwaha-pyshkshwh ปีที่แล้ว +5

    1. Daily activities that you do in Terraform?
    2. What are services that you have worked with and wrote terraform files?
    3. Tell me a scenario where you come across provisioners?
    4. What are plugins and providers in terraform?
    5. How do you deploy the terraform code manually or with some automation? Have configured locks on the backend statefile?
    6. When you want to deploy the same terraform code on different env then what is the best strategy?
    7. How do you standardize terraform code so that can be shared across multiple teams in an organization?
    8. How do you call output of one module in another module?
    9. Lets say you have created lot of resources using terraform out of is there way to delete one the resource through Terraform?
    10.Can we merge 2 different state files?
    11. Few challenges that you came across while working with Terraform?
    12. Best way to authenticate cloud providers through Terraform?
    13. Lets assume 2 resources you are creating using terraform, but we need make sure once 1st resource created successfully then only need to start creating 2nd resource. Is this possible?
    14. What is null resource in terraform?
    15. What happens if statefile is missed or delete?
    16. Can terraform used for automating on-prem infra?
    17. What if we encounter a serious error and want to rollback?
    18. How to call existing resources from AWS or Azure to terraform without hardcoding the values or terraform import?
    19. If we give count zero in resources level what will happen?
    20. What is Dynamic Block in terraform?
    21. Best Practices in Terraform?

    • @DeekshithSN
      @DeekshithSN  ปีที่แล้ว

      Thanks for watching and listing out the list of questions :)

    • @ravinaborkar807
      @ravinaborkar807 11 หลายเดือนก่อน +1

      answer bhi likhte to acha hota

  • @chandanpinacle3455
    @chandanpinacle3455 2 ปีที่แล้ว +10

    you are a gem sir in this paid world.

  • @krishnabhuvanagiri9842
    @krishnabhuvanagiri9842 ปีที่แล้ว +2

    For the 6th question we can utilize workspace concept as well..using terraform workspace commands ..it will create an env folder with multiple terraform state files.

  • @sheetalkulkarni7212
    @sheetalkulkarni7212 2 ปีที่แล้ว +11

    The interview is good but the way the person is answering is actually complex to understand. A simple one/two line answer is being twisted and overexplained which makes viewers annoyed and impatient. The person who is asking questions is actually simplifying the answer, which is a good thing. The questions are helpful however, the answers could have been better.

  • @deepaksabane3068
    @deepaksabane3068 2 ปีที่แล้ว +3

    Thank you deekshith... You cleared all my dauts may God bless you abundantly.... If you go coaching also they won't tell in that deep but you are providing the real scenario's where how the actual works goes on.. Thank you for letting know us ❤ .. It will help us in future to clear our interviews... ☺

  • @AnoopKumar-lp6nc
    @AnoopKumar-lp6nc 2 ปีที่แล้ว +3

    it was awesome interview in real world, I watched so many videos for interview preparation, you are best and I am big fan of yours now. You are superb, keep helping people who are struggling to get the job in this area. Well done :)

  • @shivpatil1315
    @shivpatil1315 2 ปีที่แล้ว +5

    9th question's answer is wrong
    if you mark a resource as taint it would get recreated during next apply
    if we just need to delete a resource then we need to remove that resource block from code and do terraform apply.

    • @nagaripratap8894
      @nagaripratap8894 2 ปีที่แล้ว +6

      Alternatively, you can destroy individual resource with destroy -target=

  • @satishalla
    @satishalla 10 หลายเดือนก่อน +1

    Hi Deekshit..very helpful video...
    What is the best practice to authenticate in case aws cloud to terraform

  • @dsosys
    @dsosys 11 หลายเดือนก่อน

    10:36 I would say, I will restrict access to all my team mmbers with Cloud Least permission to avoid manual changes. Then through CICD I sent my latest repo clone to the Terraform server, which again does not have access to all infra team. This way, only the CICD has the ability to make change the infra.
    22:05 what about depends_on ? A sleep technique cannot be guaranteed a resource creation. Sometimes it will take long or less than usual.

  • @mohitwasnik9356
    @mohitwasnik9356 2 ปีที่แล้ว +1

    AWSOMEEEE!! Thanks Deekshith 🤩🤩

  • @ujjwaljagtiani5760
    @ujjwaljagtiani5760 หลายเดือนก่อน

    For question 6th, we can use workspaces also
    For question 15th, we can recover the lost resources of the state file via terraform import command.
    18th - use Data Sources.

    • @DeekshithSN
      @DeekshithSN  หลายเดือนก่อน

      Thanks for the answer, it will help viewers

  • @rinkeemishra
    @rinkeemishra ปีที่แล้ว

    Nice video !! Only thing I would suggest to add for future videos is some demo alongwith discussion for better undestanding

    • @DeekshithSN
      @DeekshithSN  ปีที่แล้ว

      Thanks for watching, never did discussion on terraform. Will consider doing it in future
      But did so many discussions on devops below are videos or playlists link
      th-cam.com/video/lFKmR2Y1Zl4/w-d-xo.htmlsi=To0HJayn4nvwualY
      th-cam.com/video/6MQM48K2iyM/w-d-xo.htmlsi=anfrKirLFCg2b1mj
      th-cam.com/play/PLLYW3zEOaqlIPt9UEchzwFgErPvf1AnLR.html&si=Vtv-Z8Fa9cZTvKmP

  • @ShashiKiranYeluguri
    @ShashiKiranYeluguri 8 หลายเดือนก่อน

    Hello Deekshith,
    Glad this cleared my lot of doubts on terraform, Can you please help me with a few data points to keep in my resume for terraform

  • @zidanetenangfie
    @zidanetenangfie 6 วันที่ผ่านมา

    Hello, I followed your content two years ago and I really liked it. Do you teach on Udemy?

    • @DeekshithSN
      @DeekshithSN  4 วันที่ผ่านมา

      Thx for following me on youtube, I dont have any courses on udemy

  • @prasadbabu5300
    @prasadbabu5300 ปีที่แล้ว

    Best terraform video on TH-cam bro❤️👌👌👌👌👌👌

  • @umamaheshmeka1032
    @umamaheshmeka1032 ปีที่แล้ว

    This is really Awesome, You are doing great Job Deekshith !!!

    • @DeekshithSN
      @DeekshithSN  ปีที่แล้ว

      Thanks for watching the video, I am glad that video helped you :)

  • @Dileepkumar-gh3ef
    @Dileepkumar-gh3ef ปีที่แล้ว

    Answer to 9th question is wrong To delete any specific resource
    terraform destroy -target=aws_instance.my_instance
    And terraform taint is used to recreate the resource in the next apply.

  • @kausthubhk4161
    @kausthubhk4161 12 วันที่ผ่านมา

    10. I think we can merge 2 state files using terraform state mv command

  • @martujnadaf1340
    @martujnadaf1340 2 ปีที่แล้ว

    Really very helpful!!. Most of the doubt are cleared and looking more like this videos.

  • @amandeepsingh3143
    @amandeepsingh3143 2 ปีที่แล้ว +4

    5- Dynamo DB table should be used for tf state lock

    • @amjads8971
      @amjads8971 2 ปีที่แล้ว

      What about in azure ?

    • @yoyovicky283
      @yoyovicky283 2 ปีที่แล้ว

      Blob storage

  • @udaykumar8177
    @udaykumar8177 2 ปีที่แล้ว

    Really helpful, Thank you sir for making

  • @yoon-gimin4134
    @yoon-gimin4134 ปีที่แล้ว +1

    Answer for 6th question will be "workspace" right?

  • @jaganmohanneerukundi7487
    @jaganmohanneerukundi7487 2 ปีที่แล้ว

    nice explnation , i really inspired your vedious

  • @nihardash9619
    @nihardash9619 2 ปีที่แล้ว

    Hi Deekshith,
    Can you please let me know when your new batch will start for devops

  • @bijoysuna6598
    @bijoysuna6598 2 ปีที่แล้ว +1

    Thanks for the video.

  • @chetanlanje6144
    @chetanlanje6144 ปีที่แล้ว

    He Brother..
    One query !!
    If i have state file in lock state(state locking) and once i done with creating my Infra(terraform apply)
    So after that How can i Unlock 🔓 State locking state ?
    Is it automatically unlock
    Or need to execute any unlock command ?

  • @praveenreddy1767
    @praveenreddy1767 2 ปีที่แล้ว

    One of the best Terraform interview video

    • @DeekshithSN
      @DeekshithSN  ปีที่แล้ว

      Thanks for watching, glad it helped you 😊😊

  • @gayatrisakhi5303
    @gayatrisakhi5303 2 ปีที่แล้ว +2

    Thanks

    • @gayatrisakhi5303
      @gayatrisakhi5303 2 ปีที่แล้ว

      ThnQ Deekshith.. So very helpful for my upcoming interview..

    • @DeekshithSN
      @DeekshithSN  ปีที่แล้ว +1

      I am really happy that this video helped you in your interviews 🙂🙂

  • @KrishnaRac
    @KrishnaRac 4 หลายเดือนก่อน

    interview question: Terraform plan works but terraform apply hangs what is the issue

  • @prashantpowar9269
    @prashantpowar9269 ปีที่แล้ว

    We want more videos like this

  • @shanthanbusireddy2887
    @shanthanbusireddy2887 2 ปีที่แล้ว

    OMG very help full. Thanks a Lot guys

  • @prasadgangatkar5537
    @prasadgangatkar5537 2 ปีที่แล้ว

    You have a Terraform configuration file with no resources. What happens when you run the terraform apply command?

  • @pngmors855
    @pngmors855 2 ปีที่แล้ว

    can anyone please help me to understand ( assume terraform code is ready for one region)
    1> Can we use different name (e.g. envjenkinfile ) ?
    2> what is the best way to deploy multi region infrastructure with jenkins ( create separate jenkinfile or same ? create separate jobs or same job ? )
    3> create separate git branch or just create separate tvars folder ?

  • @sathishdarshanala5492
    @sathishdarshanala5492 2 ปีที่แล้ว

    hi deekshith are you giving any training for terraform ?if yes please let me know

  • @vinodk1512
    @vinodk1512 2 ปีที่แล้ว

    I have a doubt wich is related to 5th question i couldn't get your asnwer beacuse Terrfaorm is itslef an a automation tool....

  • @suryayalla6672
    @suryayalla6672 2 ปีที่แล้ว

    Are you providing any interview oriented training batch

  • @abhaypandey6200
    @abhaypandey6200 2 ปีที่แล้ว +2

    Correction : If count is changed to zero, the resource is destroyed.

    • @prasadgangatkar5537
      @prasadgangatkar5537 2 ปีที่แล้ว

      Which resource bro??current one or the one before???

  • @pankajholariya8331
    @pankajholariya8331 2 ปีที่แล้ว

    ❤️❤️❤️

  • @cirishafranky
    @cirishafranky 2 ปีที่แล้ว

    Thank you :)

  • @singhbrozz1996
    @singhbrozz1996 9 หลายเดือนก่อน

    Is it he selected?😄