EMT Practice Test
1. Question Content...
Question1: Complete the following sentence:
The terraform state command can be used to ____
Question3: terraform init initializes a sample main.tf file in the current directory.
Question4: Which provisioner invokes a process on the resource created by Terraform?
Question6: Which backend does the Terraform CLI use by default?
Question8: What happens when a terraform apply command is executed?
Question11: Which of the below configuration file formats are supported by Terraform? (Select TWO)
Question12: terraform validate validates the syntax of Terraform files.
Question13: Provisioners should only be used as a last resort.
Question22: Using multi-cloud and provider-agnostic tools provides which of the following benefits?
Question24: Which task does terraform init not perform?
Question26: What is a downside to using the Vault provider to read secrets from Vault?
Question27: A terraform apply can not _________ infrastructure.
Question32: Terraform provisioners can be added to any resource block.
Question34: Which of the following clouds does not have a provider maintained HashiCorp?
Question40: What is one disadvantage of using dynamic blocks in Terraform?
Question42: What is the result of the following terraform function call?
Question45: Which of the following value will be accepted for var1?
variable "var1" {
type = string
}
Question47: Which argument(s) is (are) required when declaring a Terraform variable?
Question49: When should you use the force-unlock command?
Question52: Which statement describes a goal of infrastructure as code?
Question56: When using remote state, state is only ever held in memory when used by Terraform.
Question57: What is the purpose of using the local-exec provisioner? (Select Two)
Question60: A Terraform provisioner must be nested inside a resource configuration block.
Question61: Why might a user opt to include the following snippet in their configuration file?
Question64: What resource dependency information is stored in Terraform's state?
Question67: If a module uses a local variable, you can expose that value with a terraform output.
Question75: Command terraform refresh will update state file?
Question76: True or False? terraform init cannot automatically download Community providers.
Question79: Which of the below options is a valid interpolation syntax for retrieving a data source?
Question84: Terraform provisioners that require authentication can use the ______ block.
Question85: What does the default "local" Terraform backend store?
Question86: What is the workflow for deploying new infrastructure with Terraform?
Question89: In Terraform Enterprise, a workspace can be mapped to how many VCS repos?
Question90: A Terraform provider is not responsible for:
Question93: Which one is the right way to import a local module names consul?
Question94: Which of the following is not a valid Terraform collection type?
Question99: State is a requirement for Terraform to function
Question100: Which of the following is not an action performed by terraform init?
Question102: What kind of resource dependency is stored in terraform.tfstate file?
Question105: Which option can not be used to keep secrets out of Terraform configuration files?
Question106: The terraform state command can be used to ____
Question107: Which of the following actions are performed during a terraform init?
Question109: What command should you run to display all workspaces for the current configuration?
Question110: Only the user that generated a plan may apply it.
