EMT Practice Test
1. Question Content...
Question2: When does Sentinel enforce policy logic during a Terraform Cloud run?
Question5: Which of the following is not a benefit of adopting infrastructure as code?
Question6: Which task does terraform init not perform?
Question8: How would you output returned values from a child module in the Terraform CLI output?
Question10: Why would you use the -replace flag for terraform apply?
Question12: _______backends support state locking.
Question16: Which command lets you experiment with terraform expressions?
Question22: You must use different Terraform commands depending on the cloud provider you use.
Question25: One remote backend configuration always maps to a single remote workspace.
Question26: Which backend does the Terraform CU use by default?
Question27: terraform validate confirms that your infrastructure matches the Terraform state file.
Question29: You can develop a custom provider to manage its resources using Terraform.
Question30: Which of these statements about Terraform Cloud workspaces is false?
Question31: You can reference a resource created with for_each using a Splat ( *) expression.
Question34: Only the user that generated a plan may apply it.
Question35: When do changes invoked by terraform apply take effect?
Question36: Which command add existing resources into Terraform state?
Question37: terraform validate reports syntax check errors for which of the following?
Question38: You much initialize your working directory before running terraform validate.
Question39: Which of these ate features of Terraform Cloud? Choose two correct answers.
Question41: A terraform apply can not _________ infrastructure.
Question42: How does Terraform determine dependencies between resources?
Question44: What does this code do?
Question46: Which of the following statements about Terraform modules is not true?
Question47: Select the command that doesn't cause Terraform to refresh its state.
Question48: What type of block is used to construct a collection of nested configuration blocks?
Question50: A Terraform provider is NOT responsible for:
Question52: Variables declared within a module are accessible outside of the module.
Question53: Which of the following should you put into the required_providers block?
Question57: What does the default "local" Terraform backend store?
Question59: Which of the following is not a valid siring function in Terraform?
Question61: terraform plan updates your state file.
Question62: Any user can publish modules to the public Terraform Module Registry.
Question64: Which Terraform collection type should you use to store key/value pairs?
Question65: You have to initialize a Terraform backend before it can be configured.
Question68: What is the workflow for deploying new infrastructure with Terraform?
Question70: Which of these is true about Terraform's plugin-based architecture?
Question71: Which of these commands makes your code more human readable?
