HashiCorpHashiCorp
TA-002-P · Question #46
TA-002-P Question #46: Real Exam Question with Answer & Explanation
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #46. The question stem and answer options stay visible for context.
Read, generate, and modify configuration
Question
Examine the following Terraform configuration, which uses the data source for an AWS AMI. What value should you enter for the ami argument in the AWS instance resource?
Options
- Aaws_ami.ubuntu
- Bdata.aws_ami.ubuntu
- Cdata.aws_ami.ubuntu.id
- Daws_ami.ubuntu.id
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 data sources#Resource referencing#Terraform syntax#AWS AMI