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

    Complete the following sentence:

    For local state, the workspaces are stored directly in a ___________.

    A. a file called terraform.tfstate.backup

    B. directory called terraform.workspaces.tfstate

    C. a file called terraform.tfstate

    D. directory called terraform.tfstate.d

  • Question 272:

    Multiple configurations for the same provider can be used in a single configuration file.

    A. False

    B. True

  • Question 273:

    Which of the below datatype is not supported by Terraform.

    A. Array

    B. List

    C. Object

    D. Map

  • Question 274:

    Multiple providers can be declared within a single Terraform configuration file.

    A. True

    B. False

  • Question 275:

    Which of the below command will upgrade the provider version to the latest acceptable one?

    A. terraform plan upgrade

    B. terraform provider-upgrade

    C. terraform init-upgrade

    D. terraform init-update

  • Question 276:

    Once a resource is marked as tainted, the next plan will show that the resource will be _________ and ___________ and the next apply will implement this change.

    A. recreated and tainted

    B. destroyed and not recreated

    C. tainted and not destroyed

    D. destroyed and recreated

  • Question 277:

    After creating a new workspace "PROD" you need to run the command terraform select PROD to switch to it.

    A. False

    B. True

  • Question 278:

    Forcing the recreation of a resource is useful when you want a certain side effect of recreation that is not visible in the attributes of a resource. What command will do this?

    A. terraform taint

    B. terraform apply

    C. terraform graph

    D. terraform refresh

  • Question 279:

    You have created two workspaces PROD and DEV. You have switched to DEV and provisioned DEV infrastructure from this workspace. Where is your state file stored?

    A. terraform.d

    B. terraform.tfstate

    C. terraform.tfstate.DEV

    D. terraform.tfstate.d

  • Question 280:

    Your manager has instructed you to start using terraform for the entire infra provisioning of the application stack. There are 4 environments ?DEV , QA , UAT , and PROD. The application team has asked for complete segregation between these environments including the backend , state , and also configurations ,since there will be unique resources in different environments . What is the possible way to structure the terraform code to facilitate that.

    A. Completely separate the working directories , keep one for each environment . For each working directory , maintain a separate configuration file , variables file , and map to a different backend.

    B. Completely separate the working directories , keep one for each environment . For each working directory , maintain a separate configuration file , variables file , and map to the same backend.

    C. Implement terraform workspaces , and map each environment with one workspace.

    D. Enable remote backend storage . Configure 4 different backend storages , one for each environment.

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.