What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
You're building a CI/CD (continuous integration/continuous delivery) pipeline and need to inject sensitive variables into your Terraform run. How can you do this safely?
You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP address of the resource you deployed?
Which of the following module source paths does not specify a remote module?
What feature stops multiple users from operating on the Terraform state at the same time?
You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the following would achieve this?
What is the Terraform style convention for indenting a nesting level compared to the one above it?
You much initialize your working directory before running terraform validate.
In Terraform HCL, an object type of object({name=string, age-number}) would match this value.
A)
B)
C)
D)
You are writing a child Terraform module that provisions an AWS instance. You want to reference the IP address returned by the child module in the root configuration. You name the instance resource "main'.
Which of these is the correct way to define the output value?
A)
B)
C)
D)
You ate creating a Terraform configuration which needs to make use of multiple providers, one for AWS and one for Datadog. Which of the following provider blocks would allow you to do this?
A)
B)
C)
D)
When you use a remote backend that needs authentication, HashiCorp recommends that you:
You can reference a resource created with for_each using a Splat ( *) expression.
Which of these ate features of Terraform Cloud? Choose two correct answers.
What information does the public Terraform Module Registry automatically expose about published modules?
How would you output returned values from a child module in the Terraform CLI output?
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?
How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?
What value does the Terraform Cloud private registry provide over the public Terraform Module Registry?
Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:
How do you specify a module’s version when publishing it to the public terraform Module Registry?
You have multiple team members collaborating on infrastructure as code (IaC) using Terraform, and want to apply formatting standards for readability.
How can you format Terraform HCL (HashiCorp Configuration Language) code according to standard Terraform style convention?
You must use different Terraform commands depending on the cloud provider you use.
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
What type of block is used to construct a collection of nested configuration blocks?
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? Choose two correct answers.