Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 89 Topic 9 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 89 Topic 9 Discussion

Terraform-Associate-004 Exam Topic 9 Question 89 Discussion:
Question #: 89
Topic #: 9

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?


A.

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


B.

Run terraform state list to find the name of the resource, then terraform state show to find the attributes including public IP address


C.

Run terraform output ip_address to view the result


D.

Run terraform destroy then terraform apply and look for the IP address in stdout


Get Premium Terraform-Associate-004 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.