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 121:

    Choose the best option from below to make Terraform code more user configuration-centric.

    A. Variables

    B. Local values

    C. Input Variable

    D. Modules

  • Question 122:

    You have a Terraform configuration that defines a single virtual machine with no references to it. You have run terraform apply to create the resource, and then removed the resource definition from your Terraform configuration file. What will happen when you run terraform apply in the working directory again?

    A. Nothing

    B. Terraform will destroy the virtual machine

    C. Terraform will error

    D. Terraform will remove the virtual machine from the state file, but the resource will still exist

  • Question 123:

    Which of the following is not a way to trigger terraform destroy ?

    A. Passing---destroy at the end of apian request

    B. Running terraform destroy from the correct directory and then typing "yes" when prompted in the CLI

    C. Using the destroy command with auto approve

    D. Delete the state file and run terraform apply

  • Question 124:

    Complete the following sentence:

    The terraform state command can be used to ____

    A. modify state

    B. view state

    C. refresh state

    D. There is no such command

  • Question 125:

    Using the terraform state rm command against a resource will destroy it.

    A. True

    B. False

  • Question 126:

    You can reference a resource created with for_each using a Splat (*) expression.

    A. True

    B. False

  • Question 127:

    From the code below, identify the implicit dependency:

    A. The EIP with an id of ami-2757f631

    B. The AMI used for the EC2 instance

    C. The EC2 instance labeled web_server

    D. The S3 bucket labeled company_data

  • Question 128:

    Terraform Cloud is available only as a paid offering from HashiCorp.

    A. True

    B. False

  • Question 129:

    What advantage does an operations team that uses infrastructure as code have?

    A. The ability to delete infrastructure

    B. The ability to reuse best practice configurations and settings

    C. The ability to autoscale a group of servers

    D. The ability to update existing infrastructure

  • Question 130:

    Which statements best describes what the local variable assignment is doing in the following code snippet:

    A. Create a distinct list of route table name objects

    B. Create a map of route table names to subnet names

    C. Create a map of route table names from a list of subnet names

    D. Create a list of route table names eliminating duplicates

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.