- (Exam Topic 4)
What Terraform command can be used to inspect the current state file?
Correct Answer:
C
- (Exam Topic 2)
What is the standard workflow that a developer follows while working with terraform open source version?
Correct Answer:
D
You do not need to run terraform refresh as terraform plan implicitly will run terraform refresh. https://www.terraform.io/guides/core-workflow.html
- (Exam Topic 4)
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called
You immediately run terraform apply but don't see any changes. Your state file didn't move. Which command
will migrate your current state file to the new S3 remote backend?
Correct Answer:
B
- (Exam Topic 1)
Which of the following is not a valid string function in Terraform?
Correct Answer:
C
https://www.terraform.io/language/functions
- (Exam Topic 1)
Which of these is the best practice to protect sensitive values in state files?
Correct Answer:
C
Use of remote backends and especially the availability of Terraform Cloud, there are now a variety of backends that will encrypt state at rest and will not store the state in cleartext on machines running. Reference:
https://www.terraform.io/docs/extend/best-practices/sensitive-state.html