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

    You should store secret data in the same version control repository as your Terraform configuration.

    A. True

    B. False

  • Question 372:

    Which option can not be used to keep secrets out of Terraform configuration files?

    A. A Terraform provider

    B. Environment variables

    C. A-var flag

    D. secure string

  • Question 373:

    Why would you use the terraform taint command?

    A. When you want to force Terraform to destroy a resource on the next apply

    B. When you want to force Terraform to destroy and recreate a resource on the next apply

    C. When you want Terraform to ignore a resource on the next apply

    D. When you want Terraform to destroy all the infrastructure in your workspace

  • Question 374:

    You write a new Terraform configuration and immediately run terraform apply in the CLI using the local backend. Why will the apply fail?

    A. Terraform needs you to format your code according to best practices first

    B. Terraform needs to install the necessary plugins first

    C. The Terraform CLI needs you to log into Terraform cloud first

    D. Terraform requires you to manually run terraform plan first

  • Question 375:

    When should you use the force-unlock command?

    A. You see a status message that you cannot acquire the lock

    B. You have a high priority change

    C. Automatic unlocking failed

    D. Your apply failed due to a state lock

  • Question 376:

    What is one disadvantage of using dynamic blocks in Terraform?

    A. They cannot be used to loop through a list of values

    B. Dynamic blocks can construct repeatable nested blocks

    C. They make configuration harder to read and understand

    D. Terraform will run more slowly

  • Question 377:

    In Terraform 0.13 and above, outside of the required_providers block, Terraform configurations always refer to providers by their local names.

    A. True

    B. False

  • Question 378:

    You have recently started a new job at a retailer as an engineer. As part of this new role, you have been tasked with evaluating multiple outages that occurred during peak shopping time during the holiday season. Your investigation found that the team is manually deploying new compute instances and configuring each compute instance manually. This has led to inconsistent configuration between each compute instance.

    How would you solve this using infrastructure as code?

    A. Implement a ticketing workflow that makes engineers submit a ticket before manually provisioning and configuring a resource

    B. Implement a checklist that engineers can follow when configuring compute instances

    C. Replace the compute instance type with a larger version to reduce the number of required deployments

    D. Implement a provisioning pipeline that deploys infrastructure configurations committed to your version control system following code reviews

  • Question 379:

    Terraform provisioners that require authentication can use the ______ block.

    A. connection

    B. credentials

    C. secrets

    D. ssh

  • Question 380:

    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?

    A. Pass variables to Terraform with a ar flag

    B. Copy the sensitive variables into your Terraform code

    C. Store the sensitive variables in a secure_vars.tf file

    D. Store the sensitive variables as plain text in a source code repository

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.