TA-002-P · Question #15
TA-002-P Question #15: Real Exam Question with Answer & Explanation
The correct answer is C: Credentials. When terraform refresh (or the refresh phase of plan/apply) runs, it reads the configuration and state to query the cloud provider, updating the state, but it does not intrinsically modify or deeply analyze the internal structure of credentials or the cloud provider itself.
Question
What is not processed when running a terraform refresh?
Options
- AState file
- BConfiguration file
- CCredentials
- DCloud provider
Explanation
When terraform refresh (or the refresh phase of plan/apply) runs, it reads the configuration and state to query the cloud provider, updating the state, but it does not intrinsically modify or deeply analyze the internal structure of credentials or the cloud provider itself.
Common mistakes.
- A. The state file is actively read, compared against the real infrastructure, and then updated with any detected drift, meaning it is fundamentally 'processed' by
terraform refresh. - B. The configuration file is parsed and evaluated by Terraform to understand the desired state and the resources it should be managing in the cloud, making it a critical component that is 'processed'.
Concept tested. Terraform refresh operation scope
Topics
Community Discussion
No community discussion yet for this question.