nerdexam
HashiCorp

TA-002-P · Question #421

Which of the following is the safest way to inject sensitive values into a Terraform Cloud workspace?

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #421. The question stem and answer options stay visible for context.

Use Terraform Cloud and Terraform Enterprise capabilities

Question

Which of the following is the safest way to inject sensitive values into a Terraform Cloud workspace?

Options

  • AWrite the value to a file and specify the file with the -var-file flag
  • BSet a value for the variable in the UI and check the "Sensitive" check box
  • CEdit the state file directly just before running terraform apply
  • DSet the variable value on the command line with the -var flag

Unlock TA-002-P to see the answer

You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Terraform Cloud#Sensitive variables#Security best practices#Workspace variables
Full TA-002-P Practice