Exam Details

  • Exam Code
    :TA-002-P
  • Exam Name
    :HashiCorp Certified: Terraform Associate
  • Certification
    :HashiCorp Certifications
  • Vendor
    :HashiCorp
  • Total Questions
    :449 Q&As
  • Last Updated
    :Dec 19, 2024

HashiCorp HashiCorp Certifications TA-002-P Questions & Answers

  • Question 171:

    Your configuration file has been locked accidentally. What of the following command would you use to unlock?

    A. terraform filename-unlock

    B. delete the file and create a new state file

    C. terraform force-unlock

    D. state.tf-unlock

  • Question 172:

    When does Sentinel enforce policy logic during a Terraform Enterprise run?

    A. Before the plan phase

    B. During the plan phase

    C. Before the a apply phase

    D. After the apply phase

  • Question 173:

    Terra form installs its providers during which phase?

    A. Man

    B. Init

    C. Refresh

    D. All of the above

  • Question 174:

    Valarie has created a database instance in AWS and for ease of use is outputting the value of the database password with the following code. Valarie wants to hide the output value in the CLI after terraform apply that's why she has used sensitive parameter.

    1.

    output "db_password" {

    2.

    value = local.db_password

    3.

    sensitive = true

    4.

    }

    Since sensitive is set to true, will the value associated with db password be available in plain-text in the state file for everyone to read?

    A. Yes

    B. No

  • Question 175:

    You have modified your Terraform configuration to fix a typo in the Terraform ID of a resource from aws_security_group.http to aws_security_group.http

    Which of the following commands would you run to update the ID in state without destroying the resource?

    A. terraform refresh

    B. terraform apply

    C. terraform mv aws-security-group.htp aws-security-group.http

  • Question 176:

    Which of the following value will be accepted for my_var?

    1.

    variable "my_var"

    2.

    {

    3.

    type = string

    4.

    }

    B. "15"

    C. Both A and B

    D. None of the above

  • Question 177:

    What are some of the features of Terraform state? (select three)

    A. inspection of cloud resources

    B. determining the correct order to destroy resources

    C. mapping configuration to real-world resources

    D. increased performance

  • Question 178:

    Jack is a newbieto Terraform and wants to enable detailed logging to find all the details. Which environment variable does he need to set?

    A. TF_help

    B. TF LOG

    C. TF_Debug

    D. TF_var_log

  • Question 179:

    What does terraform destroy do?

    A. Destroy all infrastructure in the Terraform state file

    B. Destroy all Terraform code files in the current directory while leaving the state file intact

    C. Destroy all infrastructure in the configured Terraform provider

    D. Destroy the Terraform state file while leaving infrastructure intact

  • Question 180:

    Which is the best way to specify a tag of v1.0.0 when referencing a module stored in Git (for example git::https://example.com/vpc.git)?

    A. Append ref=v1. 0. 0 argument to the source path Most Voted

    B. Add version = "1.0.0" parameter to module block

    C. Nothing " modules stored on GitHub always default to version 1.0.0

    D. Modules stored on GitHub do not support versioning

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only HashiCorp exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your TA-002-P exam preparations and HashiCorp certification application, do not hesitate to visit our Vcedump.com to find your solutions here.