- (Exam Topic 4)
Which Terraform collection type should you use to store key/value pairs?
Correct Answer:
D
Maps/objects are represented by a pair of curly braces containing a series of <KEY> = <VALUE> pairs Source: https://www.terraform.io/language/expressions/types
- (Exam Topic 2)
The terraform init command is always safe to run multiple times, to bring the working directory up to date with changes in the configuration. Though subsequent runs may give errors, this command will never delete your existing configuration or state.
Correct Answer:
B
https://www.terraform.io/docs/commands/init.html
- (Exam Topic 4)
Which of the following is not a valid Terraform string function?
Correct Answer:
D
https://www.terraform.io/docs/configuration/functions/tostring.html
- (Exam Topic 4)
Choose the best option from below to make Terraform code more user configuration-centric.
Correct Answer:
C
- (Exam Topic 2)
If you enable TF_LOG = DEBUG, the log will be stored in syslog.log file in the currect directory.
Correct Answer:
A
https://www.terraform.io/docs/internals/debugging.html