What is the name assigned by Terraform to reference this resource?
What is the name assigned by Terraform to reference this resource? A . devB . azurerm_resource_groupC . azurermD . testView AnswerAnswer: D
Terraform provisioners that require authentication can use the ______ block.
Terraform provisioners that require authentication can use the ______ block.A . connectionB . credentialsC . secretsD . sshView AnswerAnswer: A
Only the user that generated a plan may apply it.
Only the user that generated a plan may apply it.A . TrueB . FalseView AnswerAnswer: A Explanation: The optional -out argument can be used to save the generated plan to a file for later execution with terraform apply, which can be useful when running Terraform in automation. Reference: https://learn.hashicorp.com/tutorials/terraform/automate-terraform
Which of the following is not a valid Terraform collection type?
Which of the following is not a valid Terraform collection type?A . listB . mapC . treeD . setView AnswerAnswer: C
Which of the following backends would not work?
Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to begin storing the state file in a central location. Which of the following backends would not work?A . Amazon S3B . ArtifactoryC . GitD . Terraform CloudView...
Which command should you use to show all of the resources that will be deleted?
You have used Terraform to create an ephemeral development environment in the cloud and are now ready to destroy all the infrastructure described by your Terraform configuration. To be safe, you would like to first see all the infrastructure that will be deleted by Terraform. Which command should you use...
What must you do to pass the value to a child module in the configuration?
You have declared an input variable called environment in your parent module . What must you do to pass the value to a child module in the configuration?A . Add node_count = var.node_countB . Declare the variable in a terraform.tfvars fileC . Declare a node_count input variable for child moduleD...
terraform init initializes a sample main.tf file in the current directory.
terraform init initializes a sample main.tf file in the current directory.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/cli/commands/init.html
Terraform can import modules from a number of sources C which of the following is not a valid source?
Terraform can import modules from a number of sources C which of the following is not a valid source?A . FTP serverB . GitHub repositoryC . Local pathD . Terraform Module RegistryView AnswerAnswer: A
Which of these options is the most secure place to store secrets foe connecting to a Terraform remote backend?
Which of these options is the most secure place to store secrets foe connecting to a Terraform remote backend?A . Defined in Environment variablesB . Inside the backend block within the Terraform configurationC . Defined in a connection configuration outside of TerraformD . None of aboveView AnswerAnswer: A