How can you protect sensitive data stored in Terraform state files?
Your security team scanned some Terraform workspaces and found secrets stored in a plaintext in state files. How can you protect sensitive data stored in Terraform state files?A . Delete the state file every time you run TerraformB . Store the state in an encrypted backendC . Edit your state...
What features does the hosted service Terraform Cloud provide? (Choose two.)
What features does the hosted service Terraform Cloud provide? (Choose two.)A . Automated infrastructure deployment visualizationB . Automatic backupsC . Remote state storageD . A web-based user interface (UI)View AnswerAnswer: B,C Explanation: Reference: https://www.terraform.io/docs/enterprise/admin/automated-recovery.html https://www.terraform.io/docs/language/state/remote.html
Terraform validate reports syntax check errors from which of the following scenarios?
Terraform validate reports syntax check errors from which of the following scenarios?A . Code contains tabs indentation instead of spacesB . There is missing value for a variableC . The state files does not match the current infrastructureD . None of the aboveView AnswerAnswer: B
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.A . TrueB . FalseView AnswerAnswer: A
What are the two things you must do to achieve this?
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? (Choose two.)A . Provision new VMs...
What resource meta-parameter can you use to make sure Terraform respects the dependency?
CORRECT TEXT FILL BLANK You need to specify a dependency manually. What resource meta-parameter can you use to make sure Terraform respects the dependency? Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.View AnswerAnswer: the local_file data...
Terraform variables and outputs that set the "description" argument will store that description in the state file.
Terraform variables and outputs that set the "description" argument will store that description in the state file.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/language/values/outputs.html
When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)
When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)A . When a change is made to the resources via the Azure Cloud Console, the changes are recorded in a new state fileB . When a change is made to the resources via...
Which of these is the best practice to protect sensitive values in state files?
Which of these is the best practice to protect sensitive values in state files?A . BlockchainB . Secure Sockets Layer (SSL)C . Enhanced remote backendsD . Signed Terraform providersView AnswerAnswer: C Explanation: Use of remote backends and especially the availability of Terraform Cloud, there are now a variety of backends...
terraform validate validates the syntax of Terraform files.
terraform validate validates the syntax of Terraform files.A . TrueB . FalseView AnswerAnswer: A Explanation: The terraform validate command validates the syntax and arguments of the Terraform configuration files. Reference: https://www.terraform.io/docs/cli/code/index.html