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

    What is the workflow for deploying new infrastructure with Terraform?

    A. terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure

    B. Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure.

    C. terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure

    D. Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure changes, and terraform apply to create new infrastructure.

  • Question 442:

    Which argument(s) is (are) required when declaring a Terraform variable?

    A. type

    B. default

    C. description

    D. All of the above

    E. None of the above

  • Question 443:

    Which of these options is the most secure place to store secrets foe connecting to a Terraform remote backend?

    A. Defined in Environment variables

    B. Inside the backend block within the Terraform configuration

    C. Defined in a connection configuration outside of Terraform

    D. None of above

  • Question 444:

    You have declared a variable called var.list which is a list of objects that all have an attribute id. Which options will produce a list of the IDs? (Choose two.)

    A. { for o in var.list : o => o.id }

    B. var.list[*].id

    C. [ var.list[*].id ]

    D. [ for o in var.list : o.id ]

  • Question 445:

    What is the name assigned by Terraform to reference this resource?

    A. dev

    B. azurerm_resource_group

    C. azurerm

    D. test

  • Question 446:

    You have declared an input variable called environment in your parent module. What must you do to pass the value to a child module in the configuration?

    A. Add node_count = var.node_count

    B. Declare the variable in a terraform.tfvars file

    C. Declare a node_count input variable for child module

    D. Nothing, child modules inherit variables of parent module

  • Question 447:

    What does the default "local" Terraform backend store?

    A. tfplan files

    B. Terraform binary

    C. Provider plugins

    D. State file

  • Question 448:

    If a module declares a variable with a default, that variable must also be defined within the module.

    A. True

    B. False

  • Question 449:

    Your security team scanned some Terraform workspaces and found secrets stored in a plaintext in state files. How can you protect sensitive data stored in Terraform state files?

    A. Delete the state file every time you run Terraform

    B. Store the state in an encrypted backend

    C. Edit your state file to scrub out the sensitive data

    D. Always store your secrets in a secrets.tfvars file.

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.