Terraform variables and outputs that set the "description" argument will store that description in the state file.
A. True
B. False
Why would you use the terraform taint command?
A. When you want to force Terraform to destroy a resource on the next apply
B. When you want to force Terraform to destroy and recreate a resource on the next apply
C. When you want Terraform to ignore a resource on the next apply
D. When you want Terraform to destroy all the infrastructure in your workspace
While using generic git repository as a module source, which of the below options allows terraform to select a specific version or tag instead of selecting the HEAD.
A. Append ref argument as module "vpc" { source = "git::https://example.com/vpc.git?ref=v1.2.0"}
B. Append version argument as module "vpc" { source = "git::https://example.com/vpc.git?version=v1.2.0"}
C. Append ref argument as module "vpc" { source = "git::https://example.com/vpc.git#ref=v1.2.0"}
D. By default, Terraform will clone and use the default branch (referenced by HEAD) in the selected repository and you can not override this.
You have already set TF_LOG = DEBUG to enable debug log. Now you want to always write the log to the directory you're currently running terraform from. what should you do to achieve this.
A. Run the command export TF_LOG_FILE=./terraform.log.
B. Run the command export TF_LOG_PATH=./terraform.log.
C. Run the command export TF_DEBUG_PATH=./terraform.log.
D. No explicit action required. Terraform will take care of this as you have enable TF_LOG.
You have modified your Terraform configuration to fix a typo in the Terraform ID of a resource from aws_security_group.http to aws_security_group.http

Which of the following commands would you run to update the ID in state without destroying the resource?
A. terraform refresh
B. terraform apply
C. terraform mv aws-security-group.htp aws-security-group.http
What is the result of the following terraform function call?
A. hello
B. what?
C. goodbye
Which provider authentication method prevents credentials from being stored in the state file?
A. Using environment variables
B. Specifying the login credentials in the provider block
C. Setting credentials as Terraform variables
D. None of the above
A terraform apply can not___________infrastructure.
A. import
B. provision
C. destroy
D. change
Which of the following is not an advantage of using infrastructure as code operations?
A. Self-service infrastructure deployment
B. Troubleshoot via a Linux diff command
C. Public cloud console configuration workflows
D. Modify a count parameter to scale resources
E. API driven workflows