HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #5
TERRAFORM-ASSOCIATE-003 Question #5: Real Exam Question with Answer & Explanation
Sign in or unlock TERRAFORM-ASSOCIATE-003 to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.
Question
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?
Options
- AIn a new folder, use the terraform_remote_state data source to load in the state file, then write an
- BRun terraform state list to find the name of the resource, then terraform state show to find the
- CRun terraform output ip_address to view the result
- DRun terraform destroy then terraform apply and look for the IP address in stdout
Unlock TERRAFORM-ASSOCIATE-003 to see the answer
You've previewed enough free TERRAFORM-ASSOCIATE-003 questions. Unlock TERRAFORM-ASSOCIATE-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.