Free Terraform-Associate-003 Exam Braindumps

Pass your HashiCorp Certified: Terraform Associate (003) exam with these free Questions and Answers

Page 9 of 36
QUESTION 36

How is terraform import run?

  1. A. As a part of terraform init
  2. B. As a part of terraform plan
  3. C. As a part of terraform refresh
  4. D. By an explicit call
  5. E. All of the above

Correct Answer: D
The terraform import command is not part of any other Terraform workflow. It must be explicitly invoked by the user with the appropriate arguments, such as the resource address and the ID of the existing infrastructure to import. References = [Importing Infrastructure]

QUESTION 37

You can develop a custom provider to manage its resources using Terraform.

  1. A. True
  2. B. False

Correct Answer: A
You can develop a custom provider to manage its resources using Terraform, as Terraform is an extensible tool that allows you to write your own plugins in Go language. You can also publish your custom provider to the Terraform Registry or use it privately.

QUESTION 38

When you use a remote backend that needs authentication, HashiCorp recommends that you:

  1. A. Write the authentication credentials in the Terraform configuration files
  2. B. Keep the Terraform configuration files in a secret store
  3. C. Push your Terraform configuration to an encrypted git repository
  4. D. Use partial configuration to load the authentication credentials outside of the Terraform code

Correct Answer: D
This is the recommended way to use a remote backend that needs authentication, as it allows you to provide the credentials via environment variables, command-line arguments, or interactive prompts, without storing them in the Terraform configuration files.

QUESTION 39

What does this code do?
Terraform-Associate-003 dumps exhibit

  1. A. Requires any version of the AWS provider > = 3.0 and <4.0
  2. B. Requires any version of the AWS provider >= 3.0
  3. C. Requires any version of the AWS provider > = 3.0 major releas
  4. D. like 4.1
  5. E. Requires any version of the AWS provider > 3.0

Correct Answer: A
This is what this code does, by using the pessimistic constraint operator (~>), which specifies an acceptable range of versions for a provider or module.

QUESTION 40

Where does the Terraform local backend store its state?

  1. A. In the terraform file
  2. B. In the /tmp directory
  3. C. In the terraform,tfstate file
  4. D. In the user??s terraform,state file

Correct Answer: C
This is where the Terraform local backend stores its state, by default, unless you specify a different file name or location in your configuration. The local backend is the simplest backend type that stores the state file on your local disk.

Page 9 of 36

Post your Comments and Discuss HashiCorp Terraform-Associate-003 exam with other Community members: