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

    You want terraform plan and terraform apply to be executed in Terraform Cloud's run environment but the output is to be streamed locally. Which one of the below you will choose?

    A. Local Backends.

    B. Terraform Backends.

    C. This can be done using any of the local or remote backends.

    D. Remote Backends.

  • Question 232:

    In Terraform Enterprise, a workspace can be mapped to how many VCS repos?

    A. 5

    B. 2

    C. 3

    D. 1

  • Question 233:

    During a terraform apply, a resource is successfully created but eventually fails during provisioning. What happens to the resource?

    A. The resource will be planned for destruction and recreation upon the next terraform apply

    B. Terraform will retry to provision again.

    C. The failure of provisioner will be ignored and it will not cause a failure to terraform apply

    D. The resource will be automatically destroyed.

  • Question 234:

    Dawn has created the below child module. Without changing the module, can she override the instance_type from t2.micro to t2.large form her code while calling this module?

    1.

    resource "aws_instance" "myec2"

    2.

    {

    3.

    ami = "ami-082b5a644766e0e6f"

    4.

    instance_type = "t2.micro

    5.

    }

    A. YES

    B. No

  • Question 235:

    Command terraform refresh will update state file?

    A. False

    B. True

  • Question 236:

    Jim has created several AWS resources from a single terraform configuration file. Someone from his team has manually modified one of the EC2 instance.

    Now to discard the manual change, Jim wants to destroy and recreate the EC2 instance. What is the best way to do it?

    A. terraform recreate

    B. terraform taint

    C. terraform destroy

    D. terraform refresh

  • Question 237:

    You have been given requirements to create a security group for a new application. Since your organization standardizes on Terraform, you want to add this new security group with the fewest number of lines of code. What feature could you use to iterate over a list of required tcp ports to add to the new security group?

    A. dynamic backend

    B. splat expression

    C. terraform import

    D. dynamic block

  • Question 238:

    Which of the below features of Terraform can be used for managing small differences between different environments which can act more like completely separate working directories.

    A. Repositories

    B. Workspaces

    C. Environment Variables

    D. Backends

  • Question 239:

    You have multiple developers working on a terraform project (using terraform OSS), and have saved the terraform state in a remote S3 bucket . However ,team is intermittently experiencing inconsistencies in the provisioned infrastructure / failure in the code . You have traced this problem to simultaneous/concurrent runs of terraform apply command for 2/more developers . What can you do to fix this problem?

    A. Use terraform workspaces feature, this will fix this problem by default , as every developer will have their own state file , and terraform will merge them on server side on its own.

    B. Structure your team in such a way that only one individual will run terraform apply , everyone will just make changes and share with him. Then there will be no chance of any inconsistencies.

    C. Stop using remote state , and store the developer tfstate in their own machine . Once a day , all developers should sit together and merge the state files manually , to avoid any inconsistencies.

    D. Enable terraform state locking for the S3 backend using DynamoDB table. This prevents others from acquiring the lock and potentially corrupting your state.

  • Question 240:

    After running into issues with Terraform, you need to enable verbose logging to assist with troubleshooting the error. Which of the following values provides the MOST verbose logging?

    A. ERROR

    B. INFO

    C. WARN

    D. TRACE

    E. DEBUG

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.