- (Exam Topic 2)
You have created a custom variable definition file testing.tfvars. How will you use it for provisioning infrastructure?
Correct Answer:C
https://www.terraform.io/docs/configuration/variables.html
- (Exam Topic 4)
Which of the following statements best describes the Terraform list(...) type?
Correct Answer:B
A terraform list is a sequence of values identified by consecutive whole numbers starting with zero. https://www.terraform.io/docs/configuration/types.html#structural-types
- (Exam Topic 3)
Which of the following are string functions? Select three
Correct Answer:CDE
tonumber and tostring are Type Conversion function https://www.terraform.io/docs/configuration/functions.html
- (Exam Topic 4)
A user creates three workspaces from the command line - prod, dev, and test. Which of the following commands will the user run to switch to the dev workspace?
Correct Answer:B
The terraform workspace select command is used to choose a different workspace to use for further operations. https://www.terraform.io/docs/commands/workspace/select.html
- (Exam Topic 4)
Select all Operating Systems that Terraform is available for. (select five)
Correct Answer:ABDEF
Terraform is available for macOS, FreeBSD, OpenBSD, Linux, Solaris, Windows https://www.terraform.io/downloads.html