Free TA-002-P Exam Braindumps

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

Page 10 of 19
QUESTION 41

- (Exam Topic 3)
State locking does not happen automatically and must be specified at run

  1. A. False
  2. B. True

Correct Answer: A
State locking happens automatically on all operations that could write state. https://www.terraform.io/docs/state/locking.html

QUESTION 42

- (Exam Topic 2)
The current implementation of Terraform import can only import resources into the state. It does not generate
configuration.

  1. A. False
  2. B. True

Correct Answer: B
The current implementation of Terraform import can only import resources into the state. It does not generate configuration. A future version of Terraform will also generate configuration.
Because of this, prior to running terraform import it is necessary to write manually a resource configuration block for the resource, to which the imported object will be mapped.
While this may seem tedious, it still gives Terraform users an avenue for importing existing resources. https://www.terraform.io/docs/import/index.html#currently-state-only

QUESTION 43

- (Exam Topic 4)
What are the benefits of using Infrastructure as Code? (select five)

  1. A. Infrastructure as Code is relatively simple to learn and write, regardless of a user's prior experience with developing code
  2. B. Infrastructure as Code provides configuration consistency and standardization among deployments
  3. C. Infrastructure as Code is easily repeatable, allowing the user to reuse code to deploy similar, yet different resources
  4. D. Infrastructure as Code gives the user the ability to recreate an application's infrastructure for disaster recovery scenarios
  5. E. Infrastructure as Code easily replaces development languages such as Go and .Net for application development
  6. F. Infrastructure as Code allows a user to turn a manual task into a simple, automated deployment (Correct)

Correct Answer: ACDF

If you are new to infrastructure as code as a concept, it is the process of managing infrastructure in a file or files rather than manually configuring resources in a user interface.
A resource in this instance is any piece of infrastructure in a given environment, such as a virtual machine, security group, network interface, etc. At a high level, Terraform allows operators to use HCL to author files containing definitions of their desired resources on almost any provider (AWS, GCP, GitHub, Docker, etc) and automates the creation of those resources at the time of application.

QUESTION 44

- (Exam Topic 2)
Please identify the offerings which are unique to Terraform Enterprise, and not available in either Terraform OSS, or Terraform Cloud. Select four.

  1. A. Audit Logs
  2. B. Private Network Connectivity
  3. C. VCS Integration
  4. D. Sentinel
  5. E. Clustering

Correct Answer: ABE
https://www.hashicorp.com/products/terraform/pricing/

QUESTION 45

- (Exam Topic 1)
HashiCorp Configuration Language (HCL) supports user-defined functions.

  1. A. True
  2. B. False

Correct Answer: B
https://www.terraform.io/language/functions
The Terraform language does not support user-defined functions, and so only the functions built into the language are available for use

Page 10 of 19

Post your Comments and Discuss HashiCorp TA-002-P exam with other Community members: