You have recently started a new job at a retailer as an engineer. As part of this new role, you have been tasked with evaluating multiple outages that occurred during peak shopping time during the holiday season. Your investigation found that the team is manually deploying new compute instances and configuring each compute instance manually. This has led to inconsistent configuration between each compute instance.How would you solve this using infrastructure as code?
Answer(s): D
terraform init initializes a sample main.tf file in the current directory.
Answer(s): B
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)
Answer(s): B,D
https://www.terraform.io/guides/core-workflow.html
Why would you use the terraform taint command?
The terraform taint command manually marks a Terraform-managed resource as tainted, forcing it to be destroyed and recreated on the next apply.
https://www.terraform.io/docs/cli/commands/taint.html
Terraform requires the Go runtime as a prerequisite for installation.
https://www.terraform.io/docs/extend/guides/v1-upgrade-guide.html
Share your comments for HashiCorp Terraform Associate exam with other users:
question 14 - run terraform import: this is the recommended best practice for bringing manually created or destroyed resources under terraform management. you use terraform import to associate an existing resource with a terraform resource configuration. this ensures that terraform is aware of the resource, and you can subsequently manage it with terraform.
good one nice
nice questions