Credentials should not be hardcoded in Terraform files. Best practice is to configure them via environment variables or secret managers.
Analysis of Incorrect Options:
A: Shared servers introduce risk and drift.
B: Storing secrets in config/version control is insecure.
D: Incorrect since option C is valid.
Key Concept:
Separation of credentials from code is a Terraform security best practice.
[Reference:Terraform Exam Objective – Navigate Terraform State and Backends., ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit