Terraform associate questions with correct answers
From the Terraform documentation, they read that if there are multiple writes happening in Terraform state file from different users, it can corrupt the state. To prevent this, Terraform state file lock must be used. Is there a additional terraform code required to implement this functionality with local backend? CORRECT ANSWER State locking happens automatically on all operations that could write state. (answr is false) with local backend Due to this, the firewall rules are increasing and are more than 100 rules. This is leading firewall configuration file that is difficult to manage. What is the way this type of configuration can be managed easily? CORRECT ANSWER Dynamic blocks James has created a variable and has explicitly defined the type as a string. Following is the snippet: variable "myvar" { type = string } Which of the following value will be accepted? CORRECT ANSWER Terraform automatically converts number and bool values to strings when needed. Alice has created 10 different AWS resources from a single terraform configuration file named Due to some manual modification to one of the EC2 instances, she wants to destroy and recreate the EC2 instance
Written for
- Institution
- Terraform associate
- Course
- Terraform associate
Document information
- Uploaded on
- November 3, 2023
- Number of pages
- 35
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
terraform associate questions with correct answers
Also available in package deal