erraform:
1).which terraform command refreshes the state file refreshing the state file comparing it with real infiratsuruce
Without changing. Resoirce ?
Terraform refresh
2).what happens if two team members run ‘terraform apply’ simtanously on the same workplace into it ?
One apply is failed . That time terraform state file is locked during the operations
3).which backend supports remote lociking natively ?
S3 and DynamoDB
4).which terraofm block is responsible for defining the reusable infrsture template ?
Modules
5).what will happens if a remove a resource from terraform code ,but keep the state file unchanged into it ?
Terraofm shows it as the drift and remove it upon apply into it ..
6).what is the main purpose of terraform taint ocmmadn into terraform ?
Resources would be recreated and destroy at next apply
Which is already u can marked it as the stained.
7).which file should never be committed to git in real projects?
Terraform .tfstsefile
8).what does terraform do during the plan phase ?
Its the genarate the plan by comparing the desired state and current state
9).what is the use of terraform import
10).which terraofm feature allows to passing values across modules like variables Ito it ?
Outputs
Linux interview Questions :
1).How to recover accidently deleted /etc/fstab into linux os ? anyone deleted this /etc/fstab .after this we can' boot ur os. boot into recovery mode . then go to the linux terminal page . here we have to execute the blkid command here it will list out the avilble partions and attached filesystems . if your deleting the /etc/fatab.that time root parttion won't be work now we can mount the root parttion in rw mode mount -t ext4 -0 rw,remount dev/sda1 / 2).VMSTAT command into linux ? 3).iostat and dstat command into linux os ? 4).LInux free command into linux os ? in this way we can check it our the memeory usage and swap memeory as well. then it will display out the , used,space avilble ,total ,buffer/catche abd shared what is free space we can execute the command like as the, free -b command : we will get the particular output for the bits so if you want to getto int the outpit in kilobytes : so we can execut ethe comamnd like as the, free -k free -g: it will sh...
Comments
Post a Comment