- (Exam Topic 1)
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)
Correct Answer:
BD
Reference: https://www.terraform.io/guides/core-workflow.html
- (Exam Topic 4)
How would you reference the Volume IDs associated with the ebs_block_device blocks in this configuration?
Correct Answer:
A
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html
- (Exam Topic 1)
What is terraform refresh intended to detect?
Correct Answer:
C
"The terraform refresh command reads the current settings from all managed remote objects and updates the Terraform state to match. Warning: This command is deprecated, because its default behavior is unsafe if you have misconfigured credentials for any of your providers. See below for more information and recommended alternatives." https://www.terraform.io/cli/commands/refresh
- (Exam Topic 4)
Open source Terraform can only import publicly-accessible and open-source modules.
Correct Answer:
B
Terraform can load modules from a public or private registry. This makes it possible to publish modules for others to use, and to use modules that others have published. Also, members of your organization might produce modules specifically crafted for your own infrastructure needs. Terraform Cloud and Terraform Enterprise both include a private module registry for sharing modules internally within your organization. Source: https://www.terraform.io/language/modules