TA-002-P · Question #185
You have a Terraform configuration file where a variable itemNum is defined as follows: variable "itemNum" { default = 3} You also have a defined the following environment variables in your shell: TF_
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #185. The question stem and answer options stay visible for context.
Question
You have a Terraform configuration file where a variable itemNum is defined as follows:
variable "itemNum" { default = 3} You also have a defined the following environment variables in your shell: TF_itemNum =6, TF_VAR_itemNum =9. You also have a terraform.tfvars file with the following contents itemNum = 7 When you run the following apply command, what is the value assigned to the itemNum variable? terraform apply -var itemNum =4
Options
- A10
- B6
- C1
- D4
- E3
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.