Day-8 | Most Asked Interview Scenarios |
Ойын-сауық
Support my work
www.buymeacoffee.com/abhishekprd Hi Everyone, My Name is Abhishek and my channel is focused on delivering Free content on DevOps and Cloud. Follow my channel for practical learning of DevOps and Cloud. Don't miss the FREE DEVOPS COURSE and FREE AWS COURSE from Playlists section.
Doubts Clearing Group
www.youtube.com/@AbhishekVeer...
GitHub Repo for the Series
github.com/iam-veeramalla/ter...
Instagram: / abhishekveeramalla_off...
Book 1:1 with me on TopMate for career guidance
topmate.io/abhishek_veeramalla
Public Telegram Channel For Notes and Updates
t.me/abhishekveeramalla
About me:
========
LinkedIn: / abhishek-veeramalla-77...
GitHub: github.com/iam-veeramalla
Medium: / abhishekveeramalla-av
What is Terraform ?
Learn Terraform from basics
Terraform real world examples
Terraform course
Best terraform course
Terraform modules
Terraform workspaces
#devops #futureofdevops #kubernetes #sre #aws #azure
DEVOPS FAQ
DEVOPS
WHAT IS DEVOPS ?
WHY DEVOPS ?
HOW TO LEARN DEVOPS ?
LEARN DEVOPS IN 60 DAYS ?
NON IT TO IT BACKGROUND ?
IS DEVOPS EASY TO LEARN ?
BEST DEVOPS COURSE
FREE DEVOPS COURSE
#AbhishekVeeramalla
BEST DEVOPS VIDEOS
DEVOPS INTERVIEW QUESTIONS
EASY DEVOPS VIDEOS
BEST WAY TO LEARN DEVOPS
PYTHON FOR DEVOPS
PYTHON PROJECTS FOR DEVOPS
LEARN PYTHON
PYTHON PROJECTS FOR AWS
AWS PYTHON PROJECTS
AWS LAMBDA FUNCTIONS
WHAT IS GITOPS ?
WHY GITOPS ?
LEARN GITOPS ?
GITOPS FREE COURSE
What is AWS ?
LEARN AWS FOR FREE
AWS COURSE
AWS COURSE FOR DEVOPS
AWS CLI Deep Dive
Terraform Vault
Secrets Management with Terraform .
.
Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.
Пікірлер: 174
You are making so many things for someone who is having an interview.kudos to you brother 👍🏻🙌🏻
@AbhishekVeeramalla
5 ай бұрын
Thanks for recognising
Thank you Abhishek for making this video and explaining the import scenario... because these are some of the most commonly asked scenario questions in the interview!
@AbhishekVeeramalla
8 ай бұрын
Thanks a lot
Thank you for this scenarios base interview question explanation.
Thank you so much for the entire series and this surprise video! I'm so addicted to your teaching style and real-time scenarios you bring in. I really appreciate your time and efforts for all the free DevOps content. God bless you 🙏
@AbhishekVeeramalla
8 ай бұрын
Thanks a lot
After running >terraform plan -generate-config-out=generated_resources.tf this command I was getting an error saying >Too many command line arguments. To solve this you have to put generated_resources.tf in quotes. So the command would be: >terraform plan -generate-config-out="generated_resources.tf"
@nithinprabhakar6583
27 күн бұрын
Thanks.. It is working !!!
@GoofyChaiLoverGirl
26 күн бұрын
I was stuck with this too. ChatGPT was unable to solve this issue for an hour. Thought to check the comments to see anybody else got the same issue. And now its resolved. Thank you!!
Completed end to end two playlist, learned lot from you gained very much knowledge Thank you Abhi Bro
@AbhishekVeeramalla
9 ай бұрын
🚀
much needed video thanku abhishek
Thank you, Abhishek, for this surprise video. I really appreciate it. I would like to request the next series to focus on scenario-based questions for each tool ( Jenkins ,Docker, K8S , AWS) you have covered previously. Thanks
@AbhishekVeeramalla
10 ай бұрын
I will try my best
thank you for this scenario based question it makes better to explain in the interview
@AbhishekVeeramalla
10 ай бұрын
Welcome
Thank you so much Sir, God bless you
@AbhishekVeeramalla
10 ай бұрын
Welcome
I am really thank full to you for this act of greatness. kudos to you brother.
Nice job!sir! i have been asked for the first secnario.
Thanks Abhishek. It was very nicely explained based on the real scenario.
thanks for the whole series, great introduction to terraform
@AbhishekVeeramalla
5 ай бұрын
Glad you like them!
Thank you Abhishek for this scenario based video
@AbhishekVeeramalla
9 ай бұрын
😍😍
Thank you so much @abhishek great explanation
@AbhishekVeeramalla
5 ай бұрын
My pleasure
Thank You Abhishek 🙏🙏
@AbhishekVeeramalla
10 ай бұрын
Welcome
Thank you Mr Abhishek.
@AbhishekVeeramalla
9 ай бұрын
Welcome
Thanks Abhishek for making this vid its really helpful to me
Thanks Abhishek
Thanks Abhishek for all your series
@AbhishekVeeramalla
8 ай бұрын
Thanks a lot !!
Thank You Abhishek bhai for this great content
@AbhishekVeeramalla
7 ай бұрын
Most welcome
thankyou sir
thank you Sir very nice explaination
@AbhishekVeeramalla
7 ай бұрын
You're most welcome
this is a great Terraform Series Abhishek! 🥰😍 keep rocking as usual..
@AbhishekVeeramalla
5 ай бұрын
Thank you so much 😀
Thank you ^^
Thank you sir. Please also make a short video on scenario 2b
@AbhishekVeeramalla
10 ай бұрын
It takes a lot of time.. will try
😃 I wanted good answer for this question of migration and I got it … 🎉🎉🎉 Thank you 🙏🏼
drift detection :- i have faced this scenario but learned the technical term today.
@AbhishekVeeramalla
8 ай бұрын
Nice
Thanks! Finished all 8 episodes 😊
@AbhishekVeeramalla
Ай бұрын
Amazing 😻
Completed this entire series, Thanks for the explanation. 1. Terraform migration ( using import and then running terraform import command which will create a state file). - This will import the EC2 instance all details which was created manually. - Importing EC2 instance to create a state file. # 2. Terraform drift detection ( if some one manually changed any settings for any resource, then detecting that change is called drift detection). # There are 2 ways to detect it. Scenario 1: Use terraform refresh using a cron job. ( terraform refresh, refershes the recents changes which was done manually to the statefile and keeps it updated. Scenario 2: - A) Use audit/activity logs to see who made changes, if its changed by user and resources is managed by TF, then send an alert using lambda/azure functions and notify. - B) Apply strict IAM rules so that no one can login to console.
@AbhishekVeeramalla
8 ай бұрын
😍😍🚀
@Jalal921
8 ай бұрын
What should i do next considering Azure Cloud. DevOps series completed TF series completed
@Deva2596
5 ай бұрын
Thanks!!!
you would have share some more scenario based questions. I have addicted to your teaching Maastaru ❤ Thank you so much 🙏🙏 #DevopsDictionary 🤩
@AbhishekVeeramalla
10 ай бұрын
😍😍
we can make use of sentinal policy for best practices.
completed this series!
thank you Abhishek for sharing the info. if possible can you do demo 2b (solution for draft detention) like you said audit logs using lambda
Thanks Abhi
@AbhishekVeeramalla
6 ай бұрын
Welcome
geat work abhishek
@AbhishekVeeramalla
10 ай бұрын
Thanks
Good one Abhishek....
@AbhishekVeeramalla
5 ай бұрын
😍
Hi Abhishek,can you please make a video on complete monolithic/microservice project deployment from setting up the infrastructure in cloud to deploying the app to production by showing the differences among deployments in vms,containers if possible
@AbhishekVeeramalla
10 ай бұрын
All the things are already available on the channel
Thanks Abhishek for these wonderful videos. Can you please make some video on Sentinel policies in terraform, as I am facing same Question in the multiple interviews
Hey Abhishek, Thanks for this awesome tutorial, I had interview yesterday on terraform and got selected today by following ur tutorials. Many thanks🎉
@AbhishekVeeramalla
5 ай бұрын
Hearty Congratulations, Awesome news 😎
@aniruddhatope2388
5 ай бұрын
@@AbhishekVeeramalla thanks guru ji
@artibalvir1193
2 ай бұрын
@@aniruddhatope2388 did you served 90 days notice period?
Terraform series is super and more effective. Could you please prepare similar with Azure Cloud. For example, creation of VM, Networking, User data or provisioner, Azure Key vault, Azure blob storage for backend etc... Also some real time project examples.
Thank you,Abhishek. It's a great course.what terraform certification can we complete with helpful of this course?
❤
@AbhishekVeeramalla
10 ай бұрын
Thanks
❤❤❤
@AbhishekVeeramalla
10 ай бұрын
Thanks
Abhishek can you please explain that also how we can use resource of one resource and used in other resources and taint and untaint , for_each ,count,count.index, function..but one think i can say all of your series are wonderful..now one can provide this type of knowledge share free pf cost .. thanks alot your inspiration for many people
@AbhishekVeeramalla
10 ай бұрын
Will try
@vineethkyatham536
10 ай бұрын
Hi Abhishek, thank you so much for the series, please consider above topics also.
@anchalwadhwa1878
9 ай бұрын
Thanks Abhishek 🙂
hi abhishek, will you explain more about data resource concept. please create video where two different project connect with each other and transfer details or use details of each other or project 1 required details from project2 to run
@AbhishekVeeramalla
10 ай бұрын
Noted
Thanks Abhishek for wonderful video.. While replicating, I am getting the below error while running terraform init , please suggest which point I missed. Error : Unsupported block type Block of type "import" are not expected here.
Thanks Abhishek for the amazing content , i was able to learn all the basics of terraform because of you . i just had one doubt so while importing existing resources to terraform we need to have all the id tags of every resource that is existing then ?
@AbhishekVeeramalla
9 ай бұрын
Yes, definitely
@AbishekVeeramalla bro, i recently started your devops course , first we need to complete the AWS and then the devops playlist or vice-versa
Hi Abhishek, will you help out to understand concept of data "terraform_remote_state" with example.. Thank you
Please add more viedo on terraform for_each,count ,count.index and function ,looping , taint, untaint, dynamic block,local
@AbhishekVeeramalla
10 ай бұрын
Will try
@devopsgirl
10 ай бұрын
Thank you so much your doing wonderful work !
thanksssssssssssssss
Hi Abhishek, Could you please let me know if I want to import a S3 bucket, an ec2 instance with a security group attached ( other than default one) which I might have deployed manually,in this case do I have to use three separate import blocks for each of these resources (s3,ec2 and the security group which is attached to the ec2 instance)...i.e. The id field in the import block will have the bucket id, instance id and sg ID or the whole import of three resources can be done from same import block ?
How to setup lambda function can you please do it practically if anyone modify the state file?also could please make a video on lamda function layer and different use cases
Hello Abhishek...u gave an example of one resource migration ie;Ec2...and how do we migrate multiple resources like S3, vpc, etc,. under one terraform project...and how do we use terraform import command for multiple resources.
@saikaraka6905
4 ай бұрын
Import blocks, yes the problem is u need to generate for each resource..u can use loops for each individual resources may be
Hi Abhishek, i have doubt that can we integrate terraform with jenkins. Can you please make a video on this. Please 🙏🙏 Many thanks for your efforts and the technics you use to make understand in easy way. By asking questions your self on behalf of viewers... Once again thank you.
@saikaraka6905
4 ай бұрын
U can integrate with any CI tool, hashicorp/terraform has docker image too so its easy
Thanks for the surprise video Abhishek, really appreciate your hard work. I have a quick question on the 1st scenario. If we want to migrate more than one resource to terraform and not only EC2 instance, how do we achieve that? The command you shared is for resource block and we create a lot of resource blocks to achieve other resources, do we run the command multiple times or do we have a method to achieve this from one command?
@AbhishekVeeramalla
3 ай бұрын
Same method, just add all the resources and run that command.
Do you knkw any oroject where we can try to perform the migration from cloudformation to terraform
Hi Abhishek, you have installed a CLI and then had connected an instance. Can we use Linux AMI and can use putty to connect and then can access same instance through Linux, could you please confirm is that method is also available to connect?
@AbhishekVeeramalla
10 ай бұрын
Yes u can
How the cross-region configuration can be done using terraform?
Hi Abhishek please start azure devops zero to hero course
Azure or Aws which have more demand and get good hike and package!?
Thanks for the Series...great Stuff @AV 👌👍 !!! A QQ , pardon my ignorance ,where does the cron job reside/needs to be created in scenario 2a ?Please lemme know . .
@saikaraka6905
4 ай бұрын
On any linux server ..it should be running periodically right. U can use aws lambda also
Sir when will u start... Azure devops series
Hey Abhishek Thank you so much for this course and all the courses. By learning all your series can someone show 3 years of experience? I mean this is for freshers only or for experienced people also?
@AbhishekVeeramalla
10 ай бұрын
Yes sure
@sakshilande573
10 ай бұрын
Thank you😊
Simlarly in case of Azure We can use Azure Activity logs who have done the changes whethter it is a service principal or an AD user . Am i Correct ?
Hi @abhishek ,i have one questions related terraform import command , If i have import the Ec2 instance using import command and after that try to add one extra volume on particular that instance using terraform ......if i run terraform plan command so it shows first i will destroy the instance and then create and attached this extra volume ......please help to address this issue .
Hi Abhishek Can you a make a video on how to run Jenkins on kubernetes?
@AbhishekVeeramalla
10 ай бұрын
Ok will try
@ramlakshmi213
10 ай бұрын
@@AbhishekVeeramalla thank you
Could you please prepare a detailed course on LINUX and scripting
@AbhishekVeeramalla
6 ай бұрын
I think the videos on the channel are enough for linux and shell.
This importing method was not working for me giving error - only managed resources can be imported. I did it another way by writing resource block in main.tf including ami and instance_type. then ->terraform init ->terraform import aws_instance.example instanceId. This generated statefile with all info of aws instance whose id i provided
Hi Abhishek, Scenario 1: Use terraform refresh using a cron job. ( terraform refresh, refershes the recents changes which was done manually to the statefile and keeps it updated. Where i have to mention cron job?
Hello Abhishek, In Your video instance is running on N Virginia region.when you are importing the instance in that you provide us-east-1 region. When we are importing configuration that time region mandatory or not? Due to some issue i am not able to do practical that why I am asking this question. Thank You
@saikaraka6905
4 ай бұрын
Region should be same, u will have those in prividers block
Hello Abhishek, can you please explain what is Terragrunt? What are its uses?
@AbhishekVeeramalla
7 ай бұрын
Noted
thank you is not enough anhishek
@AbhishekVeeramalla
10 ай бұрын
😍
Hi Bro, Do we need to login to terraform or how it will work? I mean to create resources or run terraform commands in organisations. ❤
Hi Abhishek thanks for the session, but how to migrate from one cloud service provider to other public services provider
@saikaraka6905
4 ай бұрын
That's a difficult ask, u need to map service to service and should rewrite the modules/ resources
Hello sir you dev ops playlist is enough to get a job?
Hi abhishek, I have one more question. If terraform command is being executed from personal system of devops person and same user did the change manually. How lambda function will understand because the user is same. Either he did it from console or setup secret in local and perform terraform commands
@saikaraka6905
4 ай бұрын
Cloud trail in aws gives the agent from where the request came from
hi Abhishek, I want to setup Terraform from my client and we're a team of 6 people managing AWS Infrastructure. Can you let me know how should I set this environment and make it secure? For a single user, I can create an IAM User and use the security credentials, but I am sure how to do it for entire team. Should I use Git & Jenkins for automation.
@AbhishekVeeramalla
9 ай бұрын
Yes u can do that
@saikaraka6905
4 ай бұрын
U should be moving to gitops and use aws assume roles
hi abhishek sir, thankq for providing this wonderful series of terraform , i hve watched all urs videos of terraform frm day1 . while solving this import senario im getting an error as Error: Too many command line arguments │ │ To specify a working directory for the plan, use the global │ -chdir flag. could u please help to how to resolve it , thnks in advance🙂
@AbhishekVeeramalla
8 ай бұрын
Please share the steps on what you did ?
@nehazareen1749
8 ай бұрын
Tq fr the response After terraform init and used cmnd like terraform plan -generate-config_out=generated _resources.tf Thn I got the above error
how to set cronjob refresh command
Hi Abhishek. I have watched terraform till day 7 classes. Almost all the things understood but slightly there is confusion on modules and workspaces. I want to know about these deeply. Can u plz guide any resources?
Sir One silly doubt, Is there any way to import 1000 resources at a time in terraform without mentioning each and every resource id in the terraform configuration file. For example somethimes we mention (*) for all the contents.
Thank you Abhishek. I have a question If tf state file got deleted by mistake how can we get it back?
@saikaraka6905
4 ай бұрын
Best practice is to use backend with version control. Delete means need to play with this import
can we get state file without unnecessary things by import command?
@AbhishekVeeramalla
10 ай бұрын
What do u mean by unnecessary? Every feild for aws resource is important
@saikumargorrepati7501
10 ай бұрын
@@AbhishekVeeramalla8:47 like required fields , optional field..why because we are getting huge file when we import
@saikaraka6905
4 ай бұрын
U can't pretty format u will get all the junk
Can i get a job If i learn aws and devops as a fresher. Please let me know.
@AbhishekVeeramalla
10 ай бұрын
Yes
@yesuvenkatesh2082
10 ай бұрын
@@AbhishekVeeramalla thank you
sir im taking your Devops ZERO TO HERO course , sir there is one Ultimate Shell Scripting Project sir in my case it shows “ zip error , no such directory found “ and also an error occurred (EntityAlreadyExists) when calling the CreateRole operation. sir please help me out in this one i have no one to take any help from , sir u are the only one i can count on me. 🙏🏻😭
Hi Abhishek, I have 9 yrs exp. On-prem contact center technology which is now old lagacy technology. Hence, I started preparing for Devops from last 1 year. By following your videos, i have learnt many cloud devops concept. Now, recently i have cleared Interview in one of the good product based company and waiting for offer letter only i have shown them 3 yrs experience in devops but i only learnt these from your channel. I am little nurvous as i selected based on my learning. So will it be hard for me to survive in the company because they consider me 3 yrs exp. Devops engineer ? Please advise
@sbc498
7 ай бұрын
Bro how is your experience now? Is everything alright?
hi abhishek in git there is no content for day 8 session? may i know the reason?
@AbhishekVeeramalla
8 ай бұрын
It is a scenario based video, difficult explain that in docs.
@Praveen_insights
8 ай бұрын
Where we can get that examples? Is there any separate repo for that?
Anna Jenkins videos cheyochu kada ...one of the important tools kada .. please do it anna
@AbhishekVeeramalla
10 ай бұрын
Check cicd playlist
@AbhishekVeeramalla
10 ай бұрын
We did so many videos on jenkins
@nashok5379
10 ай бұрын
@@AbhishekVeeramalla sure anna
@nashok5379
10 ай бұрын
@@AbhishekVeeramalla thanks a lot anna
How to make terraform more responsive? Someone asked this question in my interview
@AbhishekVeeramalla
9 ай бұрын
What does that mean ?
@saikaraka6905
4 ай бұрын
This is not a frontend web right to make it responsive 😢
Hii Abhishek can I get a $5 of AWS credit because I want to try your Jenkins project.
@AbhishekVeeramalla
10 ай бұрын
I will try in the next giveaway
when i try to use this command "terraform plan -generate-config-out=generated-resources.tf" i'm getting an error "Too many command line arguments".After that i tried "terraform plan -out=generated-resources.tf -chdir=C:\Users\Lenovo\Desktop\demo" & "terraform plan -out=generated-resources.tf" but nothing is working still showing Too many command line arguments
@AbhishekVeeramalla
9 ай бұрын
Please check the version of terraform u r using
@saikaraka6905
4 ай бұрын
Run the plain command no xtra chdir ,
@6:47 Abhishek, after running "terraform plan -generate-config-out=generated_resources.tf" to generate a new config file, I am getting this below error. PS D:\Mahi\terraform-zero-to-hero\Day-8> terraform plan -generate-config-out=generated_resources.tf ╷ │ Error: Too many command line arguments │ │ To specify a working directory for the plan, use the global -chdir flag. ╵ Even the hashicorp documentation shows the same. my terraform version is v1.7. how to resolve this? I just followed you until now.
@shekhars-nj4eu
5 ай бұрын
@AbhishekVeeramalla Thank you for the wonderful terraform session. @mahi_mad I got the same error. Just put the double quotes to generated_resources.tf and it will resolve the issue. terraform plan -generate-config-out="generated.tf"