mcAfee Secure Website
23

HashiCorp Terraform Associate 004 Bundle

Exam Code: Terraform Associate 004

Exam Name HashiCorp Certified: Terraform Associate (004)

Certification Provider: HashiCorp

Corresponding Certification: Terraform Associate

Terraform Associate 004 Training Materials $44.99

Reliable & Actual Study Materials for Terraform Associate 004 Exam Success

The Latest Terraform Associate 004 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    Terraform Associate 004 Questions & Answers

    167 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    Terraform Associate 004 Video Course

    Terraform Associate 004 Training Course

    118 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    Terraform Associate 004 Study Guide

    285 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

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

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable HashiCorp Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    167 Questions

    $124.99
    exam =35
  • exam =37
    Terraform Associate 004 Video Course

    Training Course

    118 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    285 PDF Pages

    $29.99

HashiCorp Terraform Associate 004 Practice Test 34

Question 330

A Terraform associate evaluates: A module should reject a string when the declared input type requires a number. Select TWO complementary responses: the appropriate action AND direct evidence it worked.

  1. Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.
  2. Removing a middle entry from a count-indexed collection can shift addresses and provoke unintended replacements.
  3. Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.
  4. The resource graph includes the required ordering without invented dependencies between unrelated resources.
  5. A plan shows the intended input values for the selected environment and variable validation accepts them.

Explanation

Correct Answers

C:

The case says: A module should reject a string when the declared input type requires a number. The directly relevant Terraform response is: Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals. This addresses the related failure mode: Hardcoded environment values in shared configuration create accidental cross-environment changes. Validate the result by checking: A plan shows the intended input values for the selected environment and variable validation accepts them. The selection matches this objective, rather than a different Terraform administration task.

E:

The observed situation is: A module should reject a string when the declared input type requires a number. The acceptance evidence is: A plan shows the intended input values for the selected environment and variable validation accepts them. It verifies the corrective approach (Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.) and controls the risk: Hardcoded environment values in shared configuration create accidental cross-environment changes. Checking an unrelated Terraform setting would not prove the stated requirement was met.

Incorrect Answers

A:

Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. This belongs to Outputs and sensitive display control (official objective 4c). Its separate risk is that a sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. The question instead tests Input variables and default or CLI overrides; that other safeguard alone does not verify it.

B:

Removing a middle entry from a count-indexed collection can shift addresses and provoke unintended replacements. This is relevant to count versus for_each stable addressing (official objective 4e). Its distinct failure risk is that removing a middle entry from a count-indexed collection can shift addresses and provoke unintended replacements. The present question tests Input variables and default or CLI overrides, which this measure alone does not establish.

D:

The resource graph includes the required ordering without invented dependencies between unrelated resources. This addresses Explicit depends_on for hidden dependencies (official objective 4f). The separate hazard is that terraform may not infer relationships that have no data reference, but excessive explicit dependencies can make plans unnecessarily conservative. It does not by itself satisfy the case-specific requirement for Input variables and default or CLI overrides.

Question 331

A Terraform engineer reports: A module must expose the created application URL to an operator after apply. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.
  2. Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.
  3. Use depends_on only when a real ordering requirement is not represented by an attribute reference, after checking implicit dependencies first.
  4. Use lifecycle precondition or postcondition for enforceable resource assertions and check blocks for nonblocking health diagnostics when appropriate.

Explanation

Correct Answer

A:

The case says: A module must expose the created application URL to an operator after apply. The directly relevant Terraform response is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. This addresses the related failure mode: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Validate the result by checking: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

B:

Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals. This is relevant to Input variables and default or CLI overrides (official objective 4c). Its distinct failure risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

C:

Use depends_on only when a real ordering requirement is not represented by an attribute reference, after checking implicit dependencies first. That addresses Explicit depends_on for hidden dependencies (official objective 4f), specifically the hazard that terraform may not infer relationships that have no data reference, but excessive explicit dependencies can make plans unnecessarily conservative. Here the necessary action or evidence is Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them, not that separate control.

D:

Use lifecycle precondition or postcondition for enforceable resource assertions and check blocks for nonblocking health diagnostics when appropriate. This addresses Preconditions postconditions and checks (official objective 4g). The separate hazard is that confusing advisory checks with hard validation gates can let an unsafe value pass despite a warning. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 332

After a reviewed change, the team checks: A module must expose the created application URL to an operator after apply. Which evidence MOST directly proves the selected approach is working?

  1. A plan shows the intended input values for the selected environment and variable validation accepts them.
  2. The plan adds or removes the intended keyed resource without renumbering unrelated instances.
  3. An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted.
  4. An invalid test input fails with the intended error while an approved value passes validation.

Explanation

Correct Answer

C:

The observed situation is: A module must expose the created application URL to an operator after apply. The acceptance evidence is: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. It verifies the corrective approach (Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.) and controls the risk: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Checking an unrelated Terraform setting would not prove the stated requirement was met.

Incorrect Answers

A:

A plan shows the intended input values for the selected environment and variable validation accepts them. This belongs to Input variables and default or CLI overrides (official objective 4c). Its separate risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The question instead tests Outputs and sensitive display control; that other safeguard alone does not verify it.

B:

The plan adds or removes the intended keyed resource without renumbering unrelated instances. This is relevant to count versus for_each stable addressing (official objective 4e). Its distinct failure risk is that removing a middle entry from a count-indexed collection can shift addresses and provoke unintended replacements. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

D:

An invalid test input fails with the intended error while an approved value passes validation. This addresses Input variable validation rules (official objective 4g). The separate hazard is that malformed input values can drive unsupported sizes or unsafe configuration even when their basic types are valid. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 333

A configuration review reveals: A database password is exposed as a plain root output to every pipeline log. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Use object type constraints for named fields and tuple for fixed-position heterogeneous elements when modeling structured input variables.
  2. Reference a managed resource attribute directly in another resource argument so Terraform creates the appropriate dependency graph.
  3. Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.
  4. Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.

Explanation

Correct Answer

C:

The case says: A database password is exposed as a plain root output to every pipeline log. The directly relevant Terraform response is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. This addresses the related failure mode: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Validate the result by checking: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

A:

Use object type constraints for named fields and tuple for fixed-position heterogeneous elements when modeling structured input variables. This belongs to Object and tuple structural types (official objective 4d). Its separate risk is that treating a structured object like an untyped string makes required fields and attribute access error-prone. The question instead tests Outputs and sensitive display control; that other safeguard alone does not verify it.

B:

Reference a managed resource attribute directly in another resource argument so Terraform creates the appropriate dependency graph. This is relevant to Implicit dependency through attribute reference (official objective 4b). Its distinct failure risk is that hardcoding an anticipated ID bypasses Terraform's graph and can reference a stale or nonexistent object. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

D:

Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals. This addresses Input variables and default or CLI overrides (official objective 4c). The separate hazard is that hardcoded environment values in shared configuration create accidental cross-environment changes. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 334

A Terraform governance audit identifies: A database password is exposed as a plain root output to every pipeline log. What risk MOST directly explains why a correction is needed?

  1. A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret.
  2. Hardcoded environment values in shared configuration create accidental cross-environment changes.
  3. Using an ordinary resource argument can persist secrets in state, while unsupported write-only fields cannot be assumed to exist.
  4. A data source query alone will not create or delete the referenced infrastructure object.

Explanation

Correct Answer

A:

The reported issue (A database password is exposed as a plain root output to every pipeline log) exposes the risk: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. The corrective action is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. Confirm with: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The risk is specific to this configuration or operation, not an unrelated Terraform feature.

Incorrect Answers

B:

Hardcoded environment values in shared configuration create accidental cross-environment changes. This is relevant to Input variables and default or CLI overrides (official objective 4c). Its distinct failure risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

C:

Using an ordinary resource argument can persist secrets in state, while unsupported write-only fields cannot be assumed to exist. That is the exact risk associated with Provider write-only arguments and Vault integration (official objective 4h), not the required Outputs and sensitive display control outcome.

D:

A data source query alone will not create or delete the referenced infrastructure object. This addresses Managed resources versus data sources (official objective 4a). The separate hazard is that a data source query alone will not create or delete the referenced infrastructure object. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 335

During a controlled infrastructure change, a team observes: A team assumes marking an output sensitive encrypts its raw state values. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Use for_each keyed by stable resource identifiers for collections whose entries change independently and count for genuinely index-oriented repetition.
  2. Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.
  3. Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.
  4. Reference a managed resource attribute directly in another resource argument so Terraform creates the appropriate dependency graph.

Explanation

Correct Answer

C:

The case says: A team assumes marking an output sensitive encrypts its raw state values. The directly relevant Terraform response is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. This addresses the related failure mode: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Validate the result by checking: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

A:

Use for_each keyed by stable resource identifiers for collections whose entries change independently and count for genuinely index-oriented repetition. This belongs to count versus for_each stable addressing (official objective 4e). Its separate risk is that removing a middle entry from a count-indexed collection can shift addresses and provoke unintended replacements. The question instead tests Outputs and sensitive display control; that other safeguard alone does not verify it.

B:

Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals. This is relevant to Input variables and default or CLI overrides (official objective 4c). Its distinct failure risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

D:

Reference a managed resource attribute directly in another resource argument so Terraform creates the appropriate dependency graph. This addresses Implicit dependency through attribute reference (official objective 4b). The separate hazard is that hardcoding an anticipated ID bypasses Terraform's graph and can reference a stale or nonexistent object. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 336

An operator wants proof regarding: A team assumes marking an output sensitive encrypts its raw state values. Which evidence MOST directly proves the selected approach is working?

  1. The replacement plan shows create-before-destroy ordering and a test confirms provider constraints permit both instances.
  2. An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted.
  3. A plan shows the intended input values for the selected environment and variable validation accepts them.
  4. The plan creates only declared managed resources while existing data-source objects are read and remain unmanaged.

Explanation

Correct Answer

B:

The observed situation is: A team assumes marking an output sensitive encrypts its raw state values. The acceptance evidence is: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. It verifies the corrective approach (Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.) and controls the risk: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Checking an unrelated Terraform setting would not prove the stated requirement was met.

Incorrect Answers

A:

The replacement plan shows create-before-destroy ordering and a test confirms provider constraints permit both instances. This belongs to Lifecycle create_before_destroy (official objective 4f). Its separate risk is that a replacement may fail if a globally unique name prevents a second object from existing simultaneously. The question instead tests Outputs and sensitive display control; that other safeguard alone does not verify it.

C:

A plan shows the intended input values for the selected environment and variable validation accepts them. That addresses Input variables and default or CLI overrides (official objective 4c), specifically the hazard that hardcoded environment values in shared configuration create accidental cross-environment changes. Here the necessary action or evidence is An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted, not that separate control.

D:

The plan creates only declared managed resources while existing data-source objects are read and remain unmanaged. This addresses Managed resources versus data sources (official objective 4a). The separate hazard is that a data source query alone will not create or delete the referenced infrastructure object. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 337

An infrastructure deployment design calls for: An application wants to consume a generated endpoint from a parent module. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.
  2. Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.
  3. Use lifecycle create_before_destroy for supported replacements requiring new capacity before old removal, while checking name uniqueness and provider constraints.
  4. Use a variable validation block with a clear condition and error message to reject invalid caller inputs before changes are planned.

Explanation

Correct Answer

A:

The case says: An application wants to consume a generated endpoint from a parent module. The directly relevant Terraform response is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. This addresses the related failure mode: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Validate the result by checking: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

B:

Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals. This is relevant to Input variables and default or CLI overrides (official objective 4c). Its distinct failure risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

C:

Use lifecycle create_before_destroy for supported replacements requiring new capacity before old removal, while checking name uniqueness and provider constraints. That addresses Lifecycle create_before_destroy (official objective 4f), specifically the hazard that a replacement may fail if a globally unique name prevents a second object from existing simultaneously. Here the necessary action or evidence is Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them, not that separate control.

D:

Use a variable validation block with a clear condition and error message to reject invalid caller inputs before changes are planned. This addresses Input variable validation rules (official objective 4g). The separate hazard is that malformed input values can drive unsupported sizes or unsafe configuration even when their basic types are valid. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 338

A production-readiness review highlights: An application wants to consume a generated endpoint from a parent module. What risk MOST directly explains why a correction is needed?

  1. Hardcoded environment values in shared configuration create accidental cross-environment changes.
  2. Using a set where stable indices are required can make addressing and ordering assumptions invalid.
  3. A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret.
  4. Malformed input values can drive unsupported sizes or unsafe configuration even when their basic types are valid.

Explanation

Correct Answer

C:

The reported issue (An application wants to consume a generated endpoint from a parent module) exposes the risk: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. The corrective action is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. Confirm with: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The risk is specific to this configuration or operation, not an unrelated Terraform feature.

Incorrect Answers

A:

Hardcoded environment values in shared configuration create accidental cross-environment changes. This belongs to Input variables and default or CLI overrides (official objective 4c). Its separate risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The question instead tests Outputs and sensitive display control; that other safeguard alone does not verify it.

B:

Using a set where stable indices are required can make addressing and ordering assumptions invalid. This is relevant to Terraform list set and map collections (official objective 4d). Its distinct failure risk is that using a set where stable indices are required can make addressing and ordering assumptions invalid. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

D:

Malformed input values can drive unsupported sizes or unsafe configuration even when their basic types are valid. This addresses Input variable validation rules (official objective 4g). The separate hazard is that malformed input values can drive unsupported sizes or unsafe configuration even when their basic types are valid. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 339

An operations team needs to resolve: A reviewer needs to separate useful operational outputs from confidential credentials. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.
  2. Use depends_on only when a real ordering requirement is not represented by an attribute reference, after checking implicit dependencies first.
  3. Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.
  4. Use lifecycle precondition or postcondition for enforceable resource assertions and check blocks for nonblocking health diagnostics when appropriate.

Explanation

Correct Answer

C:

The case says: A reviewer needs to separate useful operational outputs from confidential credentials. The directly relevant Terraform response is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. This addresses the related failure mode: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Validate the result by checking: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

A:

Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals. This belongs to Input variables and default or CLI overrides (official objective 4c). Its separate risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The question instead tests Outputs and sensitive display control; that other safeguard alone does not verify it.

B:

Use depends_on only when a real ordering requirement is not represented by an attribute reference, after checking implicit dependencies first. This is relevant to Explicit depends_on for hidden dependencies (official objective 4f). Its distinct failure risk is that terraform may not infer relationships that have no data reference, but excessive explicit dependencies can make plans unnecessarily conservative. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

D:

Use lifecycle precondition or postcondition for enforceable resource assertions and check blocks for nonblocking health diagnostics when appropriate. This addresses Preconditions postconditions and checks (official objective 4g). The separate hazard is that confusing advisory checks with hard validation gates can let an unsafe value pass despite a warning. It does not by itself satisfy the case-specific requirement for Outputs and sensitive display control.

Question 340

A Terraform associate evaluates: A reviewer needs to separate useful operational outputs from confidential credentials. Select TWO complementary responses: the appropriate action AND direct evidence it worked.

  1. terraform console evaluates the expression to the expected value for representative inputs.
  2. Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals.
  3. Using an ordinary resource argument can persist secrets in state, while unsupported write-only fields cannot be assumed to exist.
  4. Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.
  5. An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted.

Explanation

Correct Answers

D:

The case says: A reviewer needs to separate useful operational outputs from confidential credentials. The directly relevant Terraform response is: Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them. This addresses the related failure mode: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Validate the result by checking: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. The selection matches this objective, rather than a different Terraform administration task.

E:

The observed situation is: A reviewer needs to separate useful operational outputs from confidential credentials. The acceptance evidence is: An authorized workflow can consume the output while casual CLI display is redacted and backend access remains restricted. It verifies the corrective approach (Declare outputs for intended consumer values and mark sensitive outputs appropriately while separately protecting any state that may contain them.) and controls the risk: A sensitive output designation hides normal CLI disclosure but does not guarantee the underlying state contains no secret. Checking an unrelated Terraform setting would not prove the stated requirement was met.

Incorrect Answers

A:

terraform console evaluates the expression to the expected value for representative inputs. This belongs to Terraform expressions and built-in functions (official objective 4e). Its separate risk is that manually duplicating derived labels and tags across resources invites inconsistency and errors. The question instead tests Outputs and sensitive display control; that other safeguard alone does not verify it.

B:

Declare typed input variables and supply different values through approved tfvars or other documented input mechanisms rather than editing module internals. This is relevant to Input variables and default or CLI overrides (official objective 4c). Its distinct failure risk is that hardcoded environment values in shared configuration create accidental cross-environment changes. The present question tests Outputs and sensitive display control, which this measure alone does not establish.

C:

Using an ordinary resource argument can persist secrets in state, while unsupported write-only fields cannot be assumed to exist. That is the exact risk associated with Provider write-only arguments and Vault integration (official objective 4h), not the required Outputs and sensitive display control outcome.