1. What is mean by terraform.?
2. How will you prefer Terraform over ARM templates.?
3. What you mean by Terraform init command will do.?
4. You are working in a team, team having developers,SRE, devops engineers working along with you
they get the requirement from the cleint that you need to create a resource group(rg_1 in west-us2)
by using azure portal or ARM Template, In the next day you will get requirement from the client need
to create a AKS cluster in the resource group rg_1 how will achive by using terraform script.?
5. what do you mean by provisioners.?
6. what type of provisioners we are having.?
7. what do you mean by null resources.?
8. you have infrastructure such as AKS cluster,storage account, Virtual machines.. someone from the
team did terrform destroy, what i want that my storage account and AKS cluster wont delete, so
how will you configure your terraform scripts.?
9. you need to create 15 AKS cluster,that will be having the different k8s version, that will be having
different node pool configuration and then you need make a code reusable so how will you achive by
using terrfaorm script.?
10. can you write script for how will having child module and parent module..?
11. what is the use case of parent module and child module.?
12. How will you write a [Link] file for a specific system node pool configuration for creating a
15 AKS cluster .?
13. how will call these modules.?
14. how we can have the code reusabality.?
15. you have a module in Azure repoA consists of main code i need to call module from repoA to repoB
how will i do that .?
16. 11. mention different types of terrform state commands.?
17. 12. what if two developers do start deploying IAC at the same time at same tfstate what will happen
in this scenario.?
18. 13. If terraform state is lock what are all the ways to unlock the terrform state.?
19. 14. What are the differnt ways to aunthenticate the terraform with azure.?
20. [Link] have 10 subscriptions you need to deploy infrastructure in subscriptions03 how will you
achive this.?
21. do you know about flatten in terraform.?
22. do you know about data resource block in terrfaorm.?
23. how will you use datablock. let say you have secrets in azure keyvault and you need fetch those
secrets by using terraform script.?
24. Explain statefile locking in terraform
25. what happens when we do terraform apply if statefile is deleted
26. How do we create 50 vms of same configurations
27. How do we create 50 vms of diff configurations
28. suppose if u see a resource is marked as tainted in state file, what does it mean
29. How do you maintain a terraform statefile securely and if lost what's ur approach
30. Terraform script for creating a storage account
31. Terraform statefile
32. How do we access and manage resources created outside terraform
33. Use of Dynamic block in terraform ?
34. how do we create 3 storage account for 3 diff environment?
35. What is Dynamic block
36. What is Data block
37. Provisions and types
38. Network configurations
39. Probes and types
40. What are all the resources you created by using terraform.
41. Write a terraform script to create a storage account.?
42. Suppose you need to create 3 storage account with respect to three different enviornments and the
name of the storage account will be have concatination of the enviornmentshow will you do it in a
single block how will you create it..?
43. How do you call modules in terraform.?
44. what is terraform how it is used with azure
what is the purpose of terraform init, explain all purposes
explain how to use terraform with azure devops for ci/cd
45. write a terraform scripts include module calling and exp its benefits?
46. what are provisioners
47. lifecycle of terraform
48. what are all the imp terraform command, name those and describe
49. what is terraform remote backend
50. where is the statefile stored in azure
51. what is statefile locking mechanism?
52. How do we create 50 vms of same configurations
53. How do we create 50 vms of diff configurations
54. suppose if u see a resource is marked as tainted in state file, what does it mean
55. How do you maintain a terraform statefile securely and if lost what's ur approach
56. 1. Terraform script for creating a storage account
57. 2. Terraform statefile
58. 3. How do we access and manage resources created outside terraform
59. 4. use of Dynamic block in terraform ?
60. 5. how do we create 3 storage account for 3 diff environment?
61. What is Dynamic block
62. What is Data block
63. Provisions and types
64. Network configurations
65. Probes and types
66. What are all the resources you created by using terraform.
67. Write a terraform script to create a storage account.?
68. Suppose you need to create 3 storage account with respect to three different enviornments and the
name of the storage account will be have concatination of the enviornmentshow will you do it in a
single block how will you create it..?
69. How do you call modules in terraform.?
70. what is terraform how it is used with azure
what is the purpose of terraform init, explain all purposes
explain how to use terraform with azure devops for ci/cd
71. write a terraform scripts include module calling and exp its benefits?
72. what are provisioners
73. lifecycle of terraform
74. what are all the imp terraform command, name those and describe
75. what is terraform remote backend
76. where is the statefile stored in azure
77. You created a VM - I want to change only VM name, now what happens it will recreate existing VM
and DB connections, I dont want that, I want DB to remain inside the VM. how to do this.
78. Brief what kind of task you handle day to day in terraform.
79. You need deploy VM across 3 environments, it will have different config, how do you handle this
deployment using single script?
80. Have you written any kind modules? name some of them?
81. Best practice to develop new modules?
82. In modules or terraform script - there are local variables, how they are getting used?
83. Terraform can be used to perform operations or calculations, have you used any of those?
84. what is statefile and ways to get if we lost it
85. how do make sure that idempotency of resource maintained in terraform
86. what is statefile locking
87. what is force unlocking in terraform
88. when you are writing the terraform script you need to mention the dependicies how will you do that
89. how do you pass the variables to terrform scripts
90. when we ron the tf init commond what it will do in background
91. what is the signiface of provider plugin and at what stage it will gets downloaded
92. have you worked on workspace
93. how the modules communicate each other
94. have you created input and output variabels
95. what terraform commands yor are used
96. what is the differece b/w terraform import and terraform refresh
97. can you use terraform configuration files to manage multiple resourece which is created on multiple
cloude preovider
98. Write terraform script to create vm
99. How to create AKS from terraform script
100. Where u used terraform in ur project
101.
102. If u have 3 resources and u want to deploy them in different 3 locations how you can achieve
it from terraform
103. Why we need to write NIC in vm
104. How long u take to create azure app service and integrate that to azure devops pipeline to
deploy application in app service by terraform script
105. What is immutable architecture
106. Have u destroyed any resource
107. Use case of depends on keyword
108. What is tf state file
109. What is Providers in tf
110. Can we include multi cloud provieds in tf simultaneously
111.
112. how to use modules and work spaces in terraform
113. What is sceure files
114. use of dynamic block
115. use of null resource
116. create a two vnets in on resource group with count meta argument and with different
address spaces write terraform script
117. write the script to create vnet
118. terraform backend
119. how mange the resources created manually in terraform
120. give the full terraform import command
121. what does terraform refesh command do
122. how to store secrets in terrafporm
123. what are the various types of meta aruguments
124. diff b/w implicit and explicet dependency
125. what are ways to input variables
126. what is infrastructure as a code how it different from configuration management
127. 11. what are modules in terraform
128. 12. what is null resources in terraform
129. 13. how do you define the dependencies in terraform
130. 14. how do u handle state file locking why do we need statefile locking
131. 15. where do we define the location of state file in terraform
132. 16. what is terraform workspace
133. 17. how do you manage secretes in terraform
134. 18. terraform script to create the vm
135. what is K8S
136. what is taint and tolerence and how do you taint the Node
137. node affinity, pod affinity
138. what are the life cycle of terraform
139. Who does take care of planning and designing of infrastructure? Whether you play part in it
or it is going to entire different team?
140. How does infrastructure looks like for example, i have recommendation to provision 3 tier
application in azure what all the things you will consider for the deployment and integrating an
application?
141. What are the services you provisioning and how do you integrate one service to another?
142. In terraform you are given a task to initial infrastructure from scratch, my requirement is 100
VM's and client is hosting 5 different apps and i want segregate each 20VMs in same family like
A,B,C,D & E, how do you plan the infrastructure and is it possible to set up this infrastructure in one
go?
143. What is different between using workspace and different variables for each environments?
144. You setup VM environment suddenly developer cant connect to database, I'm purely talking
in a IAAS perspective, he is not connecting database. What are the things you will check and How
will troubleshoot this issue.
145. New customer moving 15-20 apps to cloud its mixed stack like .net java and python, how do
you plan this devops environment for both build and release?
146. What are the best practices you will consider Infrastructure as an application?
147. Version of tf you are using
148. Workspace and modules
149. 1 tf script for 3 differnt environment
150. Manually created the resource and need to get the state file
151. Data blocks
152. If we delete the state file will it impact the infra
153. Provisioners in tf
154. 1. write a terraform script to create azure key vaults with conditon for production
environment sku should be premium and for dev it should be standard.
155. 2. write a terraform script to create a vnet amd subnet and to create nsg rules for the vnet.
156. 3. what a null resource.
157. [Link] b/w arm templates and terraform
158. 5. about terraform import command.
159. 1. What is terraform state file
160. 2. What is best practice to store the state file
161. 3. What is tefform refresh command and what is terraform init
162. 4. What is [Link] file and what it contain
163. 5. What are terraform modules
164. 1. Which version terraform are using currently
165. 2. Explain the terraform lifecycle
166. 3. What is use of terraform state file
167. 4. Some is manually deleted the state file is any impact on existing on infra
168. 5. What is use of modules in terraform
169. 6. How we can maintain a separate state file in modules
170. 7. Let’s consider you have a requirement of multiple storage accounts to create on terraform
what is your approach
171. 8. What is the difference between count and for-each
172. 9. What is the use of map variable
173. 10. How you can create infra using terraform in azure pipeline
174. 1. Have you used any IaC tool
175. 2. Let’s say you have created storage account with container along with some data how will
you bring it to the terraform state will it bring the data that are stored in container.
176. 3. Let’s say you have made some changes in resource outside form the terraform how did you
bring those changes to terraform state
177. How many projects you completed using terraform.
178. 08. How many projects you completed using terraform.
179. 09. where do u store your state file.
180. 10. If your state file is deleted how you handle it?
181. 11. We are creating windows VM, Client requirement is to use premium managed base in
production and other in onsite, same code base for non code environment with premium managed,
same tf file to provision different environment but 2 different s3. Is it possible, what is your approach.
182. 12. Have you worked on terraform workspace?
183. Scenario suppose you created app service in azure using terraform with public IP address,
how to get the IP address using tf code when you forgot the output file when you don't have acess to
azure portol.
184. Where and when we use for each and count.
185. Write a module reference in a tf.
186. terraform vault
187. if you using tf to deploy the aks how to do it
188. how to run scripts in the terraform
189. am creating one vm to tf and am going to connect and how to run the script
190. what are the infarstructure you created using tf?
191. Have u worked on terraform?
192. What is modules?
193. What is Terraform?
194. what kind of complex code you deployed in terraform?
195. how do you maintain your state file?
196. what if resources are modified in remote sources, how will maintain tf state file in this case?
197. terraform import will always work on all condition if the resources are manually modified in
remote?
198. in terraform yaml file, i want to create multiple resources lets say i have got roles and
elimentraty policies, we have got a group and roles are got to attached to that group, configure the
yaml file.
199. if i want to do conditional policies in terraform, how to do? i want to do some conditions for
UAT & PROD environment, tell with an example
200. how you call the shell scripts in terraform file?