Question 330
A small SaaS team has a concrete infrastructure task: replace fixed long-lived cloud keys with short-lived identity-based credentials for hosted runs. What is the correct tool or language feature?
Explanation
Correct Answer
Dynamic credentials reduce stored static secrets for platform access. This meets the stated requirement to replace fixed long-lived cloud keys with short-lived identity-based credentials for hosted runs.
Incorrect Answers
HCP Terraform team permissions is intended to restrict who may approve or apply changes to production workspaces; team role controls provide scoped operational authorization. That is not the specific requirement to replace fixed long-lived cloud keys with short-lived identity-based credentials for hosted runs.
HCP Terraform policy set is intended to enforce organizational rules against proposed infrastructure changes before apply; policy enforcement inserts governance checks into Terraform runs. That is not the specific requirement to replace fixed long-lived cloud keys with short-lived identity-based credentials for hosted runs.
Workspace run approval gate is intended to require review before a production plan executes its proposed changes; manual approval gates prevent unreviewed remote applies. That is not the specific requirement to replace fixed long-lived cloud keys with short-lived identity-based credentials for hosted runs.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests