TA-002-P · Question #244
TA-002-P Question #244: Real Exam Question with Answer & Explanation
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #244. The question stem and answer options stay visible for context.
Question
When using parent/child modules to deploy infrastructure, how would you export a value from one module to import into another module. For example, a module dynamically deploys an application instance or virtual machine, and you need the IP address in another module to configure a related DNS record in order to reach the newly deployed application.
Options
- AExport the value using terraform export and input the value using terraform input.
- BConfigure the pertinent provider's configuration with a list of possible IP addresses to use.
- CConfigure an output value in the application module in order to use that value for the DNS
- DPreconfigure the IP address as a parameter in the DNS module.
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.