Why does this backend configuration not follow best practices?
A. An alias meta-argument should be included in backend blocks whenever possible
B. You should use the local enhanced storage backend whenever possible
C. You should not store credentials in Terraform configuration
D. The backend configuration should contain multiple credentials so that more than one user can execute terraform plan and terraform apply
Terraform configuration can only import modules from the public registry.
A. True
B. False
You much initialize your working directory before running terraform validate.
A. True
B. False
It is best practice to store secret data in the same version control repository as your Terraform configuration.
A. True
B. False
If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?
A. Run terraform refresh
B. It will happen automatically
C. Manually update the state fire
D. Run terraform import
Variables declared within a module are accessible outside of the module.
A. True
B. False
You modified your Terraform configuration and run Terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working on. Since you already ran terraform plan locally, the execution plan for terraform apply will be the same.
A. True
B. False
You want to define a single input variable to capture configuration values for a server. The values must represent memory as a number, and the server name as a string. Which variable type could you use for this input?
A. List
B. Object
C. Map
D. Terraform does not support complex input variables of different types
A developer on your team is going lo leaf down an existing deployment managed by Terraform and deploy a new one. However, there is a server resource named aws instant.ubuntu[l] they would like to keep. What command should they use to tell Terraform to stop managing that specific resource?
A. Terraform plan rm:aws_instance.ubuntu[1]
B. Terraform state rm:aws_instance.ubuntu[1]
C. Terraform apply rm:aws_instance.ubuntu[1]
D. Terraform destory rm:aws_instance.ubuntu[1]
When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?
A. In an environment variable
B. On the disk
C. In the remote backend or Terraform Cloud
D. In memory