HashiCorpHashiCorp
TA-002-P · Question #204
TA-002-P Question #204: Real Exam Question with Answer & Explanation
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #204. The question stem and answer options stay visible for context.
Read, generate, and modify configuration
Question
Every region in AWS has a different AMI ID for Linux and these are keep on changing. What is the best approach to create the EC2 instances that can deal with different AMI IDs based on regions?
Options
- AUse data source aws_ami.
- BCreate a map of region to ami id.
- CCreate different configuration file for different region.
- DNone of the above
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
#Data Sources#AWS AMI#Dynamic Configuration#Read External Data