nerdexam
HashiCorpHashiCorp

TA-002-P · Question #267

TA-002-P Question #267: Real Exam Question with Answer & Explanation

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #267. The question stem and answer options stay visible for context.

Interact with Terraform modules

Question

In the example below, where is the value of the DNS record's IP address originating from? 1. resource "aws_route53_record" "www" 2. { 3. zone_id = aws_route53_zone.primary.zone_id 5. type = "A" 6. ttl = "300" 7. records = [module.web_server.instance_ip_address] 8. }

Options

  • AThe regular expression named module.web_server
  • BThe output of a module named web_server
  • CBy querying the AWS EC2 API to retrieve the IP address
  • DValue of the web_server parameter from the variables.tf file

Unlock TA-002-P to see the answer

You've previewed enough free TA-002-P questions. Unlock TA-002-P 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.

Topics

#Terraform modules#Module outputs#Resource configuration#Data referencing
Full TA-002-P PracticeBrowse All TA-002-P Questions