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

    Which of the following is true about terraform apply? (Choose two.)

    A. It only operates on infrastructure defined in the current working directory or workspace

    B. You must pass the output of a terraform plan command to it

    C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources

    D. By default, it does not refresh your state file to reflect current infrastructure configuration

    E. You cannot target specific resources for the operation

  • Question 22:

    How do you specify a module's version when publishing it to the public Terraform Module Registry?

    A. The module's configuration page on the Terraform Module Registry

    B. Terraform Module Registry does not support versioning modules

    C. The release tags in the associated repo Most Voted

    D. The module's Terraform code

  • Question 23:

    Consider the following Terraform 0.12 configuration snippet:

    1.

    variable "vpc_cidrs" {

    2.

    type = map

    3.

    default = {

    4.

    us-east-1 = "10.0.0.0/16"

    5.

    us-east-2 = "10.1.0.0/16"

    6.

    us-west-1 = "10.2.0.0/16"

    7.

    us-west-2 = "10.3.0.0/16"

    8.

    }

    9.

    }

    10.

    11.

    resource "aws_vpc" "shared" {

    12.

    cidr_block = _____________

    13.

    }

    How would you define the cidr_block for us-east-1 in the aws_vpc resource using a variable?

    A. var.vpc_cidrs.0

    B. vpc_cidrs["us-east-1"]

    C. var.vpc_cidrs["us-east-1"]

    D. var.vpc_cidrs[0]

  • Question 24:

    Select the feature below that best completes the sentence:

    The following list represents the different types of __________ available in Terraform.

    1.

    max

    2.

    min

    3.

    join

    4.

    replace

    5.

    list

    6.

    length

    7.

    range

    A. Backends

    B. Data sources

    C. Named values

    D. Functions

  • Question 25:

    In the following code snippet, the block type is identified by which string?

    A. "aws_instance"

    B. resource

    C. "db"

    D. instance_type

  • Question 26:

    You have just developed a new Terraform configuration for two virtual machines with a cloud provider. You would like to create the infrastructure for the first time. Which Terraform command should you run first?

    A. terraform apply

    B. terraform plan

    C. terraform show

    D. terraform init

  • Question 27:

    Which command lets you experiment with Terraform's built-in functions?

    A. terraform env

    B. terraform console

    C. terraform test

    D. terraform validate

  • Question 28:

    Which of the following is considered a Terraform plugin?

    A. Terraform language

    B. Terraform tooling

    C. Terraform logic

    D. Terraform provider

  • Question 29:

    Which of the following is an invalid variable name?

    A. count

    B. web

    C. var1

    D. instance_name

  • Question 30:

    In order to make a Terraform configuration file dynamic and/or reusable, static values should be converted to use what?

    A. Input Parameters

    B. Module

    C. Regular Expressions

    D. Output Value

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.