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

    How does Terraform handle working with so many providers?

    A. Terraform ships with all of the plugins embedded in the Terraform binary.

    B. Terraform uses a plugin architecture for providers and only installs the provider plugins required by your configuration in the configuration's working directory.

    C. Terraform uses a plugin architecture for providers and only installs the provider plugins required by your configuration in a shared, system-wide plugins directory.

    D. Terraform allows you to select the providers you want to support during the Terraform installation process.

  • Question 322:

    Which one of the following will run echo 0 and echo 1 on a newly created host?

    A. provisioner "local-exec" { command = "echo 0" command = "echo 1" }

    B. provisioner "remote-exec" { inline = [ echo 0, echo 1 ] }

    C. provisioner "remote-exec" { command = "${echo 0}" command = "${echo 1}" }

    D. provisioner "remote-exec" { inline = [ "echo 0", "echo 1" ] }

  • Question 323:

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

    A. terraform.tfstate.d

    B. terraform.d

    C. terraform.tfstate.RQA

    D. terraform.tfstate

  • Question 324:

    Provisioners should only be used as a last resort.

    A. False

    B. True

  • Question 325:

    Terraform has detailed logs which can be enabled by setting the _________ environmental variable.

    A. TF_TRACE

    B. TF_DEBUG

    C. TF_LOG

    D. TF_INFO

  • Question 326:

    Terraform must track metadata such as resource dependencies. Where is this data stored?

    A. workspace

    B. backend

    C. state file

    D. metadata store

  • Question 327:

    What does terrafom plan do ?

    A. Create an execution plan by evaluating the difference between configuration file and state file.

    B. Performs a refresh, unless explicitly disabled, and then apply the changes that are necessary to achieve the desired state specified in the configuration files.

    C. Create an execution plan by evaluating the difference between configuration file and actual infrastructure.

    D. Checks whether the execution plan for a set of changes matches your expectations by making changes to real resources or to the state.

  • Question 328:

    Which Terraform command will force a marked resource to be destroyed and recreated on the next apply?

    A. terraform fmt

    B. terraform destroy

    C. terraform taint

    D. terraform refresh

  • Question 329:

    The Terraform language does not support user-defined functions, and so only the functions built in to the language are available for use.

    A. False

    B. True

  • Question 330:

    While using generic git repository as a module source, which of the below options allows terraform to select a specific version or tag instead of selecting the HEAD.

    A. Append ref argument as module "vpc" { source = "git::https://example.com/vpc.git?ref=v1.2.0"}

    B. Append version argument as module "vpc" { source = "git::https://example.com/vpc.git?version=v1.2.0"}

    C. Append ref argument as module "vpc" { source = "git::https://example.com/vpc.git#ref=v1.2.0"}

    D. By default, Terraform will clone and use the default branch (referenced by HEAD) in the selected repository and you can not override this.

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.