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
    :May 11, 2024

HashiCorp HashiCorp Certifications TA-002-P Questions & Answers

  • Question 11:

    Your team uses terraform OSS . You have created a number of resuable modules for important , independent network components that you want to share with your team to enhance consistency . What is the correct option/way to do that?

    A. Terraform modules cannot be shared in OSS version . Each developer needs to maintain their own modules and leverage them in the main tf file.

    B. Upload your modules with proper versioning in the terraform public module registry .Terraform OSS is directly integrated with the public module registry , and can reference the modules from the code in the main tf file.

    C. Terraform module sharing is only available in Enterprise version via terraform private module registry , so no way to enable it in OSS version.

    D. Store your modules in a NAS/ shared file server , and ask your team members to directly reference the code from there. This is the only viable option in terraform OSS ,which is better than individually maintaining module versions for every developer.

  • Question 12:

    You have configured an Auto Scaling group in AWS to automatically scale the number of instances behind a load balancer based on the instances CPU utilization. The instances are configured using a Launch Configuration. You have observed that the Auto Scaling group doesn't successfully scale when you apply changes that require replacing the Launch Configuration. Why is this happening?

    A. You need to configure an explicit dependency for the Auto Scaling group using the depends_on meta-parameter.

    B. You need to configure an explicit dependency for the Launch Configuration using the depends_on meta-parameter.

    C. You need to configure the Auto Scaling group's create_before_destroy meta-parameter.

    D. You need to configure the Launch Configuration's create_before_destroy meta-parameter.

  • Question 13:

    What does Terraform use .terraform.lock.hcl file for?

    A. Tracking provider dependencies Most Voted

    B. There is no such file

    C. Preventing Terraform runs from occurring

    D. Storing references to workspaces which are locked

  • Question 14:

    Running terraform fmt without any flags in a directory with Terraform configuration files will check the formatting of those files without changing their contents.

    A. True

    B. False

  • Question 15:

    Select the operating systems which are supported for a clustered Terraform Enterprise: (select four)

    A. Unix

    B. Red Hat

    C. CentOS

    D. Amazon Linux

    E. Ubuntu

  • Question 16:

    You want to define multiple data disks as nested blocks inside the resource block for a virtual machine. What Terraform feature would help you define the blocks using the values in a variable?

    A. Local values

    B. Dynamic blocks

    C. Count arguments D. Collection functions

  • Question 17:

    What is the best and easiest way for Terraform to read and write secrets from HashiCorp Vault?

    A. Vault provider

    B. API access using the AppRole auth method

    C. integration with a tool like Jenkins

    D. CLI access from the same machine running Terraform

  • Question 18:

    Terraform Cloud is more powerful when you integrate it with your version control system (VCS) provider. Select all the supported VCS providers from the answers below. (select four)

    A. GitHub

    B. CVS Version Control

    C. Azure DevOps Server

    D. Bitbucket Cloud

    E. GitHub Enterprise

  • Question 19:

    Which of the following is not an advantage of using infrastructure as code operations?

    A. Self-service infrastructure deployment

    B. Troubleshoot via a Linux diff command

    C. Public cloud console configuration workflows

    D. Modify a count parameter to scale resources

    E. API driven workflows

  • Question 20:

    A user creates three workspaces from the command line-prod, dev, and test. Which of the following commands will the user run to switch to the dev workspace?

    A. terraform workspace dev

    B. terraform workspace select dev

    C. terraform workspace-switch dev

    D. terraform workspace switch dev

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.