What features stops multiple admins from changing the Terraform state at the same time?
What features stops multiple admins from changing the Terraform state at the same time?A . Version controlB . Backend typesC . Provider constraintsD . State lockingView AnswerAnswer: D
How would you reference the "name" value of the second instance of this fictitious resource?
How would you reference the "name" value of the second instance of this fictitious resource? A . element(aws_instance.web, 2)B . aws_instance.web[1].nameC . aws_instance.web[1]D . aws_instance.web[2].nameE . aws_instance.web.*.nameView AnswerAnswer: A Explanation: Reference: https://www.terraform.io/docs/configuration-0-11/interpolation.html
What type of block is used to construct a collection of nested configuration blocks?
What type of block is used to construct a collection of nested configuration blocks?A . for_eachB . repeatedC . nestingD . dynamicView AnswerAnswer: D
Terraform providers are always installed from the Internet.
Terraform providers are always installed from the Internet.A . TrueB . FalseView AnswerAnswer: B Explanation: Terraform configurations must declare which providers they require, so that Terraform can install and use them. Reference: https://www.terraform.io/docs/language/providers/configuration.html
Which statement describes a goal of infrastructure as code?
Which statement describes a goal of infrastructure as code?A . An abstraction from vendor specific APIsB . Write once, run anywhereC . A pipeline process to test and deliver softwareD . The programmatic configuration of resourcesView AnswerAnswer: D
How would you solve this using infrastructure as code?
You have recently started a new job at a retailer as an engineer. As part of this new role, you have been tasked with evaluating multiple outages that occurred during peak shopping time during the holiday season. Your investigation found that the team is manually deploying new compute instances and...
If writing Terraform code that adheres to the Terraform style conventions, how would you properly indent each nesting level compared to the one above it?
If writing Terraform code that adheres to the Terraform style conventions, how would you properly indent each nesting level compared to the one above it?A . With four spacesB . With a tabC . With three spacesD . With two spacesView AnswerAnswer: D
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into syslog.
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into syslog.A . TrueB . FalseView AnswerAnswer: A Explanation: Reference: https://www.terraform.io/docs/internals/debugging.html
How is terraform import run?
How is terraform import run?A . As a part of terraform initB . As a part of terraform planC . As a part of terraform refreshD . By an explicit callE . All of the aboveView AnswerAnswer: B
HashiCorp Configuration Language (HCL) supports user-defined functions.
HashiCorp Configuration Language (HCL) supports user-defined functions.A . TrueB . FalseView AnswerAnswer: B