HashiCorp Certified: Terraform Associate Terraform Associate 003 Exam Questions in PDF

Free HashiCorp Terraform Associate 003 Dumps Questions (page: 2)

You run a local-exec provisioner in a null resource called null_resource.run_script and realize that you need to rerun the script.
Which of the following commands would you use first?

  1. terraform taint null_resource.run_script
  2. terraform apply -target=null_resource.run_script
  3. terraform validate null_resource.run_script
  4. terraform plan -target=null_resource.run_script

Answer(s): A



Which provisioner invokes a process on the resource created by Terraform?

  1. remote-exec
  2. null-exec
  3. local-exec
  4. file

Answer(s): A

Explanation:

The remote-exec provisioner invokes a script on a remote resource after it is created.


Reference:

https://www.terraform.io/docs/language/resources/provisioners/remote-exec.html



Which of the following is not true of Terraform providers?

  1. Providers can be written by individuals
  2. Providers can be maintained by a community of users
  3. Some providers are maintained by HashiCorp
  4. Major cloud vendors and non-cloud vendors can write, maintain, or collaborate on Terraform providers
  5. None of the above

Answer(s): E

Explanation:


Reference:

https://jayendrapatil.com/terraform-cheat-sheet/#Terraform_Read_and_write_configuration



What command does Terraform require the first time you run it within a configuration directory?

  1. terraform import
  2. terraform init
  3. terraform plan
  4. terraform workspace

Answer(s): B

Explanation:

terraform init command is used to initialize a working directory containing Terraform configuration files.


Reference:

https://www.terraform.io/docs/cli/commands/init.html



You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code.
What is the best method to quickly find the IP address of the resource you deployed?

  1. Run terraform output ip_address to view the result
  2. In a new folder, use the terraform_remote_state data source to load in the state file, then write an output for each resource that you find the state file
  3. Run terraform state list to find the name of the resource, then terraform state show to find the attributes including public IP address
  4. Run terraform destroy then terraform apply and look for the IP address in stdout

Answer(s): C

Explanation:


Reference:

https://www.terraform.io/docs/cli/commands/output.html



Share your comments for HashiCorp Terraform Associate 003 exam with other users:

S
sam
7/17/2023 6:22:00 PM

cannot evaluate yet

N
nutz
7/20/2023 1:54:00 AM

a laptops wireless antenna is most likely located in the bezel of the lid

R
rajesh soni
1/17/2024 6:53:00 AM

good examplae to learn basic

T
Tanya
10/25/2023 7:07:00 AM

this is useful information

N
Nasir Mahmood
12/11/2023 7:32:00 AM

looks usefull

J
Jason
9/30/2023 1:07:00 PM

question 81 should be c.

T
TestPD1
8/10/2023 12:22:00 PM

question 18 : response isnt a ?

A
ally
8/19/2023 5:31:00 PM

plaese add questions

D
DIA
10/7/2023 5:59:00 AM

is dumps still valid ?

A
Annie
7/7/2023 8:33:00 AM

thanks for this

A
arnie
9/17/2023 6:38:00 AM

please upload questions

T
Tanuj Rana
7/22/2023 2:33:00 AM

please upload the question dump for professional machinelearning

F
Future practitioner
8/10/2023 1:26:00 PM

question 4 answer is c. this site shows the correct answer as b. "adopt a consumption model" is clearly a cost optimization design principle. looks like im done using this site to study!!!

A
Ace
8/3/2023 10:37:00 AM

number 52 answer is d

N
Nathan
12/17/2023 12:04:00 PM

just started preparing for my exam , and this site is so much help

C
Corey
12/29/2023 5:06:00 PM

question 35 is incorrect, the correct answer is c, it even states so: explanation: when a vm is infected with ransomware, you should not restore the vm to the infected vm. this is because the ransomware will still be present on the vm, and it will encrypt the files again. you should also not restore the vm to any vm within the companys subscription. this is because the ransomware could spread to other vms in the subscription. the best way to restore a vm that is infected with ransomware is to restore it to a new azure vm. this will ensure that the ransomware is not present on the new vm.

R
Rajender
10/18/2023 3:54:00 AM

i would like to take psm1 exam.

B
Blessious Phiri
8/14/2023 9:53:00 AM

cbd and pdb are key to the database

A
Alkaed
10/19/2022 10:41:00 AM

the purchase and download process is very much streamlined. the xengine application is very nice and user-friendly but there is always room for improvement.

D
Dave Gregen
9/4/2023 3:17:00 PM

please upload p_sapea_2023

S
Sarah
6/13/2023 1:42:00 PM

anyone use this? the question dont seem to follow other formats and terminology i have been studying im getting worried

S
Shuv
10/3/2023 8:19:00 AM

good questions

R
Reb974
8/5/2023 1:44:00 AM

hello are these questions valid for ms-102

M
Mchal
7/20/2023 3:38:00 AM

some questions are wrongly answered but its good nonetheless

S
Sonbir
8/8/2023 1:04:00 PM

how to get system serial number using intune

M
Manju
10/19/2023 1:19:00 PM

is it really helpful to pass the exam

L
LeAnne Hair
8/24/2023 12:47:00 PM

#229 in incorrect - all the customers require an annual review

A
Abdul SK
9/28/2023 11:42:00 PM

kindy upload

A
Aderonke
10/23/2023 12:53:00 PM

fantastic assessment on psm 1

S
SAJI
7/20/2023 2:51:00 AM

56 question correct answer a,b

R
Raj Kumar
10/23/2023 8:52:00 PM

thank you for providing the q bank

P
piyush keshari
7/7/2023 9:46:00 PM

true quesstions

B
B.A.J
11/6/2023 7:01:00 AM

i can´t believe ms asks things like this, seems to be only marketing material.

G
Guss
5/23/2023 12:28:00 PM

hi, could you please add the last update of ns0-527

AI Tutor 👋 I’m here to help!