How can you protect that data?

Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?A . Edit your state file to scrub out the sensitive dataB . Always store your secrets in a secrets.tfvars fileC . Delete the state file every time you...

September 13, 2024 No Comments READ MORE +

What information does the public Terraform Module Registry automatically expose about published modules?

What information does the public Terraform Module Registry automatically expose about published modules?A . Required input variablesB . Optional inputs variables and default valuesC . OutputsD . All of the aboveE . None of the aboveView AnswerAnswer: D Explanation: The public Terraform Module Registry automatically exposes all the information about...

September 12, 2024 No Comments READ MORE +

Terraform variable names are saved in the state file.

Terraform variable names are saved in the state file.A . TrueB . FalseView AnswerAnswer: B Explanation: Terraform variable names are not saved in the state file, only their values are. The state file only stores the attributes of the resources and data sources that are managed by Terraform, not the...

September 12, 2024 No Comments READ MORE +

Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?

Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?A . terraform destroy, then terraform applyB . terraform initC . terraform pushD . terraform applyView AnswerAnswer: A Explanation: This command will initialize the new backend and prompt you...

September 12, 2024 No Comments READ MORE +

Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?

Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?A . terraform fmt -write-falseB . terraform fmt -list -recursiveC . terraform fmt -check -recursiveD . terraform fmt -checkView AnswerAnswer: C Explanation: This command will check if...

September 12, 2024 No Comments READ MORE +