EMT Practice Test
1. Question Content...
Question2: What does state locking accomplish?
Question7: Terraform provisioners can be added to any resource block.
Question8: Which of the following best describes a Terraform provider?
Question10: Select all features which are exclusive to Terraform Enterprise. (Select Three)
Question15: Provisioners should only be used as a last resort.
Question19: Which of the below options is a valid interpolation syntax for retrieving a data source?
Question20: Which argument(s) is (are) required when declaring a Terraform variable?
Question22: Which of the following is not true of Terraform providers?
Question30: terraform validate validates the syntax of Terraform files.
Question31: What does terraform import allow you to do?
Question33: Only the user that generated a plan may apply it.
Question39: What does the default "local" Terraform backend store?
Question40: What type of block is used to construct a collection of nested configuration blocks?
Question44: State locking does not happen automatically and must be specified at run
Question45: Which of the following is not true of Terraform providers?
Question49: Terraform providers are always installed from the Internet.
Question50: Given the Terraform configuration below, in which order will the resources be created?
Question51: Which of the following are string functions? Select three
Question56: Why should secrets not be hard coded into Terraform code? Choose two correct answers
Question57: What is the purpose of using the local-exec provisioner? (Select Two)
Question59: What is the workflow for deploying new infrastructure with Terraform?
Question67: The terraform.tfstate file always matches your currently built infrastructure.
Question69: From the answers below, select the advantages of using Infrastructure as Code.
Question71: If a Terraform creation-time provisioner fails, what will occur by default?
Question72: Terraform works well in Windows but a Windows server is required.
Question73: Which statement describes a goal of infrastructure as code?
Question74: What is the default backend for Terraform?
Question77: Which of the following value will be accepted for var1?
variable "var1" {
type = string
}
Question78: What are some of the features of Terraform state? (select three)
Question89: Most Terraform providers interact with ____________.
Question93: What is the default backend for Terraform?
Question94: What is the name assigned by Terraform to reference this resource?
Question96: terraform validate validates the syntax of Terraform files.
Question99: Which of the following is allowed as a Terraform variable name?
Question102: Which of the following is considered a Terraform plugin?
Question103: Terraform provisioners that require authentication can use the ______ block.
Question104: If a Terraform creation-time provisioner fails, what will occur by default?
Question107: Which of the below backends support state locking?
Question109: What features stops multiple admins from changing the Terraform state at the same time?
Question112: Which of the following is not a benefit of adopting infrastructure as code?
Question119: Which command lets you experiment with Terraform's built-in functions?
Question120: All Terraform Cloud tiers support team management and governance.
Question124: Terraform must track metadata such as resource dependencies. Where is this data stored?
Question126: What features does the hosted service Terraform Cloud provide? (Choose two.)
Question128: What is a key benefit of the Terraform state file?
Question134: Which of the following is not a key principle of infrastructure as code?
Question138: What is the purpose of using the local-exec provisioner? (Select Two)
Question140: Which of the following statements about local modules is incorrect:
Question142: Command terraform refresh will update state file?
Question144: You have to initialize a Terraform backend before it can be configured.
Question148: Which task does teraform ini- not perform?
Question152: Why would you use the terraform taint command?
Question157: What does the command terraform fmt do?
Question163: When does Sentinel enforce policy logic during a Terraform Enterprise run?
Question164: What does terraform refresh command do?
Question165: A Terraform provisioner must be nested inside a resource configuration block.
Question167: What happens when a terraform apply command is executed?
Question168: Terraform works well in Windows but a Windows server is required.
Question169: Which of the following is an invalid variable name?
Question172: If a module uses a local variable, you can expose that value with a terraform output.
Question180: terraform validate reports HCL syntax errors.
Question181: How does Terraform handle working with so many providers?
Question182: True or False? terraform init cannot automatically download Community providers.
Question185: Which of the following is not a valid Terraform collection type?
Question186: Which option can not be used to keep secrets out of Terraform configuration files?
Question188: What does the command terraform fmt do?
Question189: Which of the following is not a valid string function in Terraform?
Question190: Why would you use the terraform taint command?
Question192: Only the user that generated a plan may apply it.
Question193: What does terraform refresh modify?
Question195: Terraform requires the Go runtime as a prerequisite for installation.
Question199: When does Sentinel enforce policy logic during a Terraform Enterprise run?
Question200: What is the name assigned by Terraform to reference this resource?
Question206: What is not processed when running a terraform refresh?
Question209: Which task does teraform init not perform?
Question210: State is a requirement for Terraform to function
Question211: One remote backend configuration always maps to a single remote workspace.
Question212: What type of block is used to construct a collection of nested configuration blocks?
Question213: You can reference a resource created with for_each using a Splat (*) expression.
Question217: Where does the Terraform local backend store its state?
Question219: What is the workflow for deploying new infrastructure with Terraform?
Question220: By default, a defined provisioner is a creation-time provisioner.
Question224: By default, where does Terraform store its state file?
Question228: What resource dependency information is stored in Terraform's state?
Question230: HashiCorp Configuration Language (HCL) supports user-defined functions.
Question231: Which of the following is not an advantage of using infrastructure as code operations?
Question234: When should you use the force-unlock command?
Question237: Module version is required to reference a module on the Terraform Module Registry.
Question240: What is the name assigned by Terraform to reference this resource?
Question247: Why might a user opt to include the following snippet in their configuration file?



