HashiCorp Terraform Associate (HashiCorp Certified: Terraform Associate) Practice Test 49

Question 480

An engineer needs to require every evaluated Boolean in a collection to be true as part of an automated release. Which option is the best fit?

  1. Use try(expr, fallback)
  2. Use alltrue(list_of_bools)
  3. Use lookup(map, key, default)
  4. Use templatefile(path, vars)
  5. Use split(delimiter, string)

Explanation

Correct Answer

B:

Alltrue is useful for validating all entries in an input list; anytrue instead tests whether at least one entry succeeds; this behavior should be assessed against the concrete need to require every evaluated Boolean in a collection to be true. This directly supports the task to require every evaluated Boolean in a collection to be true during an infrastructure audit.

Incorrect Answers

A:

Try evaluates arguments until one succeeds; it should not mask known structural errors or replace explicit input validation; this behavior should be assessed against the concrete need to require every evaluated Boolean in a collection to be true. The distinction matters here: using that mechanism to recover from dynamic expression errors with an alternative result would still leave the objective to require every evaluated Boolean in a collection to be true unmet.

C:

Lookup returns the named value when present and the fallback otherwise; direct map indexing may fail when the key is missing; this behavior should be assessed against the concrete need to require every evaluated Boolean in a collection to be true. The stated requirement is to require every evaluated Boolean in a collection to be true, not to obtain a map entry with a fallback for an absent key; this alternative addresses a different control or phase.

D:

The function reads a template and evaluates references using the supplied variable map; it does not execute the rendered text as a shell script by itself; this behavior should be assessed against the concrete need to require every evaluated Boolean in a collection to be true. That can be useful when the aim is to render a local template with named variables, but it does not directly deliver the requested ability to require every evaluated Boolean in a collection to be true.

E:

Split produces a sequence of pieces; it does not construct a map from the resulting values automatically; this behavior should be assessed against the concrete need to require every evaluated Boolean in a collection to be true. The distinction matters here: using that mechanism to divide text into a list around a separator would still leave the objective to require every evaluated Boolean in a collection to be true unmet.

Question 481

A developer is transforming collection values. The requirement is to create a known number of repeated managed resource instances. Which Terraform mechanism directly meets this requirement?

  1. Use a conditional condition ? yes : no
  2. Use can(expr)
  3. Use contains(collection, value)
  4. Use count for numbered resource instances
  5. Use a dynamic block to generate nested blocks

Explanation

Correct Answer

D:

Count produces addresses indexed by integers; changing list order may shift how items map to instances when coupled with positional inputs; this behavior should be assessed against the concrete need to create a known number of repeated managed resource instances. This directly supports the task to create a known number of repeated managed resource instances during a planned migration.

Incorrect Answers

A:

The conditional expression evaluates a condition to choose a result; its two result arms must have compatible types for Terraform to infer a usable value; this behavior should be assessed against the concrete need to create a known number of repeated managed resource instances. It may support a related workflow, but the question specifically requires the mechanism for create a known number of repeated managed resource instances rather than select between two expression results based on a Boolean test.

B:

Can returns a Boolean and is especially useful in custom validation rules; it does not return the underlying expression's successful value; this behavior should be assessed against the concrete need to create a known number of repeated managed resource instances. The stated requirement is to create a known number of repeated managed resource instances, not to test whether an expression can be evaluated without an error; this alternative addresses a different control or phase.

C:

Contains returns a Boolean membership result; it does not check whether an object has a named attribute with a separate schema; this behavior should be assessed against the concrete need to create a known number of repeated managed resource instances. That can be useful when the aim is to test whether a collection includes a particular element, but it does not directly deliver the requested ability to create a known number of repeated managed resource instances.

E:

Dynamic blocks create nested configuration blocks, not top-level resources or meta-argument blocks; iteration can use for_each inside the dynamic block; this behavior should be assessed against the concrete need to create a known number of repeated managed resource instances. It may support a related workflow, but the question specifically requires the mechanism for create a known number of repeated managed resource instances rather than repeat provider-specific nested blocks from a collection.

Question 482

A reviewer is assessing Terraform built-in functions and generated nested blocks. A reviewer must determine how to select between two expression results based on a Boolean test. Which action is the appropriate choice?

  1. Use a conditional condition ? yes : no
  2. Use jsonencode(value)
  3. Use [for item in items : item.name]
  4. Use a dynamic block to generate nested blocks

Explanation

Correct Answer

A:

The conditional expression evaluates a condition to choose a result; its two result arms must have compatible types for Terraform to infer a usable value; this behavior should be assessed against the concrete need to select between two expression results based on a Boolean test. This directly supports the task to select between two expression results based on a Boolean test during a cross-team handoff.

Incorrect Answers

B:

JSON encoding handles escaping and structured representations; hand-built string interpolation is more error-prone for nested JSON; this behavior should be assessed against the concrete need to select between two expression results based on a Boolean test. That can be useful when the aim is to serialize a Terraform value into JSON text for an API argument, but it does not directly deliver the requested ability to select between two expression results based on a Boolean test.

C:

A for expression iterates input elements and constructs values without declaring extra managed resources; it can also filter elements using an if clause; this behavior should be assessed against the concrete need to select between two expression results based on a Boolean test. The distinction matters here: using that mechanism to transform a collection into a derived list would still leave the objective to select between two expression results based on a Boolean test unmet.

D:

Dynamic blocks create nested configuration blocks, not top-level resources or meta-argument blocks; iteration can use for_each inside the dynamic block; this behavior should be assessed against the concrete need to select between two expression results based on a Boolean test. It may support a related workflow, but the question specifically requires the mechanism for select between two expression results based on a Boolean test rather than repeat provider-specific nested blocks from a collection.

Question 483

A reviewer has to approve a two-part design: download newly declared module source code; additionally, integrate the module without assuming internal resource names are its API. Which option pairs the correct mechanisms?

  1. Use source = "../shared" + Use the module registry's documented inputs and outputs
  2. Avoid confusing a module with a provider + Use the module registry's documented inputs and outputs
  3. Use git::https://... as the source + Use a local module source for rapid in-repository changes
  4. Run terraform init after adding an external module + Use ?ref=v1.4.0 with a Git source
  5. Run terraform init after adding an external module + Use the module registry's documented inputs and outputs

Explanation

Correct Answer

E:

For the first criterion, initialization retrieves remote modules and prepares the local working directory. terraform fmt cannot fetch source packages; this behavior should be assessed against the concrete need to download newly declared module source code and integrate the module without assuming internal resource names are its API; this directly addresses the need to download newly declared module source code. For the separate second criterion, published modules define an intended interface; callers supply declared variables and consume declared outputs; internal resources are implementation details; this behavior should be assessed against the concrete need to download newly declared module source code and integrate the module without assuming internal resource names are its API; this fulfills the need to integrate the module without assuming internal resource names are its API. Together they cover the independent tasks of download newly declared module source code and integrate the module without assuming internal resource names are its API without exchanging the responsibilities of these features.

Incorrect Answers

A:

The second measure does meet the integrate the module without assuming internal resource names are its API requirement, but the first is designed for another concern: Parent-relative local paths allow neighboring configurations to share code; the directory must be present on the machine or in the checked-out repository; this behavior should be assessed against the concrete need to download newly declared module source code and integrate the module without assuming internal resource names are its API. That first component is designed to reuse a module from a sibling directory, which does not accomplish the requested task to download newly declared module source code, even though the other measure satisfies integrate the module without assuming internal resource names are its API.

B:

The second measure does meet the integrate the module without assuming internal resource names are its API requirement, but the first is designed for another concern: A module contains HCL blocks; a provider implements external API operations; an external module may use providers but is not itself a provider binary; this behavior should be assessed against the concrete need to download newly declared module source code and integrate the module without assuming internal resource names are its API. That first component is designed to recognize reusable Terraform configuration versus an API integration plugin, which does not accomplish the requested task to download newly declared module source code, even though the other measure satisfies integrate the module without assuming internal resource names are its API.

C:

The first measure is intended to fetch module code directly from a Git repository: Terraform supports a Git URL source and can use a reference query parameter; the registry version argument is not used to version raw Git sources; this behavior should be assessed against the concrete need to download newly declared module source code and integrate the module without assuming internal resource names are its API. The second measure is intended to develop a shared component without publishing a remote module release: A local module is loaded from the current filesystem tree; changes are visible with the current checkout instead of awaiting a registry release; this behavior should be assessed against the concrete need to download newly declared module source code and integrate the module without assuming internal resource names are its API. Neither is the directly designated method for the separate goals of download newly declared module source code and integrate the module without assuming internal resource names are its API in this review.

D:

The first measure meets the requirement to download newly declared module source code, but its partner serves a different role: A Git ref selects code from the repository; for reproducibility a commit or immutable release tag is safer than a moving branch; this behavior should be assessed against the concrete need to download newly declared module source code and integrate the module without assuming internal resource names are its API. That second component is designed to pin a Git-sourced module to a named tag, commit, or branch reference, so the still-missing criterion is to integrate the module without assuming internal resource names are its API, while the first criterion remains download newly declared module source code.

Question 484

A Terraform rollout has separate acceptance criteria: reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations. Which combined approach directly satisfies the two criteria?

  1. Use object inputs to bundle related options + Use a default on a child input for optional behavior
  2. Use object inputs to bundle related options + Avoid referencing child local values from the parent
  3. Use nullable = false for a non-null module input + Avoid referencing child local values from the parent
  4. Treat module output sensitivity as contagious + Keep same-named child inputs separate across module calls
  5. Use child locals for internal derivations + Avoid referencing child local values from the parent

Explanation

Correct Answer

B:

For the first criterion, a typed object can describe several coherent settings at one interface boundary; nested data is still validated against the child's declared input contract; this behavior should be assessed against the concrete need to reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations; this directly addresses the need to reduce sprawling module argument lists while preserving type checking. For the separate second criterion, only outputs are exposed for general child-module consumption; callers should not depend on private local names that may change during refactoring; this behavior should be assessed against the concrete need to reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations; this fulfills the need to preserve encapsulation of implementation-only calculations. Together they cover the independent tasks of reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations without exchanging the responsibilities of these features.

Incorrect Answers

A:

The first measure meets the requirement to reduce sprawling module argument lists while preserving type checking, but its partner serves a different role: A variable default supplies the value within the child when no argument is passed; other child inputs without defaults remain required; this behavior should be assessed against the concrete need to reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations. That second component is designed to allow callers to omit that specific module argument, so the still-missing criterion is to preserve encapsulation of implementation-only calculations, while the first criterion remains reduce sprawling module argument lists while preserving type checking.

C:

The second measure does meet the preserve encapsulation of implementation-only calculations requirement, but the first is designed for another concern: The variable setting controls whether null is permitted; it does not imply that the child can choose a cloud credential automatically; this behavior should be assessed against the concrete need to reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations. That first component is designed to reject a caller's explicit null rather than accidentally passing it onward, which does not accomplish the requested task to reduce sprawling module argument lists while preserving type checking, even though the other measure satisfies preserve encapsulation of implementation-only calculations.

D:

The first measure is intended to avoid accidentally publishing a secret through the caller's outputs: Sensitive values can flow across module boundaries; a root output exposing a sensitive value generally needs an explicit sensitive marking; state protection remains necessary; this behavior should be assessed against the concrete need to reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations. The second measure is intended to assign different values to identically named inputs in two distinct module instances: Each call has its own variable namespace and argument values; passing region = "east" in one module call does not alter var.region inside another instance; this behavior should be assessed against the concrete need to reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations. Neither is the directly designated method for the separate goals of reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations in this review.

E:

The second measure does meet the preserve encapsulation of implementation-only calculations requirement, but the first is designed for another concern: Local values are not parameters the caller can set directly; they provide readable internal names for expressions derived from variables and resources; this behavior should be assessed against the concrete need to reduce sprawling module argument lists while preserving type checking and preserve encapsulation of implementation-only calculations. That first component is designed to compute implementation details without exposing extra inputs, which does not accomplish the requested task to reduce sprawling module argument lists while preserving type checking, even though the other measure satisfies preserve encapsulation of implementation-only calculations.

Question 485

An engineer needs to instantiate a reusable child configuration from a known location as part of an automated release. Which option is the best fit?

  1. Pass the providers mapping to a child
  2. Define a module block with source
  3. Share provider configurations from the root
  4. Keep backend configuration in the root module
  5. Use multiple child modules to separate responsibilities

Explanation

Correct Answer

B:

A module call loads the child configuration and supplies its arguments; the caller's root remains responsible for backend setup; this behavior should be assessed against the concrete need to instantiate a reusable child configuration from a known location. This directly supports the task to instantiate a reusable child configuration from a known location during an infrastructure audit.

Incorrect Answers

A:

A module provider map binds the child's expected names to configured parent provider instances; it does not install providers independently; this behavior should be assessed against the concrete need to instantiate a reusable child configuration from a known location. The stated requirement is to instantiate a reusable child configuration from a known location, not to select which root provider configurations the module uses; this alternative addresses a different control or phase.

C:

A child module should declare provider requirements while receiving provider configurations through inheritance or explicit mapping; this supports flexible reuse; this behavior should be assessed against the concrete need to instantiate a reusable child configuration from a known location. The distinction matters here: using that mechanism to avoid configuring cloud credentials separately in every reusable child would still leave the objective to instantiate a reusable child configuration from a known location unmet.

D:

The backend applies to the top-level working configuration; child modules cannot independently select state storage during a normal shared module call; this behavior should be assessed against the concrete need to instantiate a reusable child configuration from a known location. It may support a related workflow, but the question specifically requires the mechanism for instantiate a reusable child configuration from a known location rather than avoid assuming a backend in a child controls the caller's state.

E:

Well-defined module outputs connect independent components without cloning all resource blocks; the overall run still uses one state for that root configuration; this behavior should be assessed against the concrete need to instantiate a reusable child configuration from a known location. The stated requirement is to instantiate a reusable child configuration from a known location, not to keep reusable components small and interoperable; this alternative addresses a different control or phase.

Question 486

A Terraform configuration must avoid a surprise module upgrade. The requirement is to make dependency expectations explicit before broad reuse. Which Terraform mechanism directly meets this requirement?

  1. Document compatibility requirements for module consumers
  2. Use >= 1.2.0, < 2.0.0 for registry modules
  3. Set version = "= 1.4.2" on a registry module
  4. Specify a registry module version in the call
  5. Review the plan after a module upgrade

Explanation

Correct Answer

A:

A reusable module can state minimum provider versions and tested Terraform versions; this keeps consumers from resolving unsupported combinations; this behavior should be assessed against the concrete need to make dependency expectations explicit before broad reuse. This directly supports the task to make dependency expectations explicit before broad reuse during a planned migration.

Incorrect Answers

B:

Multiple constraints are intersected when selecting registry module versions; they express an acceptable range, not a request to always use the latest major release; this behavior should be assessed against the concrete need to make dependency expectations explicit before broad reuse. The stated requirement is to make dependency expectations explicit before broad reuse, not to permit a defined compatible interval of releases; this alternative addresses a different control or phase.

C:

An equality constraint selects a specific registry release; it avoids accidental upgrades until the configuration is changed; this behavior should be assessed against the concrete need to make dependency expectations explicit before broad reuse. That can be useful when the aim is to use one exact published module version for reproducible runs, but it does not directly deliver the requested ability to make dependency expectations explicit before broad reuse.

D:

The source says which module to fetch, while version constrains published versions; both are important for predictable registry consumption; this behavior should be assessed against the concrete need to make dependency expectations explicit before broad reuse. The distinction matters here: using that mechanism to distinguish registry version selection from source identification would still leave the objective to make dependency expectations explicit before broad reuse unmet.

E:

A new module may replace resources or alter defaults; initialization only fetches code; the plan reveals its likely infrastructure impact; this behavior should be assessed against the concrete need to make dependency expectations explicit before broad reuse. It may support a related workflow, but the question specifically requires the mechanism for make dependency expectations explicit before broad reuse rather than spot effects caused by changed child resource definitions.

Question 487

In an automated release, the requested result is to download newly declared module source code. What should the engineer select?

  1. Understand source address is required for a module call
  2. Use the module registry's documented inputs and outputs
  3. Run terraform init after adding an external module
  4. Avoid confusing a module with a provider

Explanation

Correct Answer

C:

Initialization retrieves remote modules and prepares the local working directory. terraform fmt cannot fetch source packages; this behavior should be assessed against the concrete need to download newly declared module source code. This directly supports the task to download newly declared module source code during a module implementation.

Incorrect Answers

A:

The source argument resolves module code; a module block with no valid source cannot simply invent the child's resources; this behavior should be assessed against the concrete need to download newly declared module source code. It may support a related workflow, but the question specifically requires the mechanism for download newly declared module source code rather than identify where Terraform should load the child configuration.

B:

Published modules define an intended interface; callers supply declared variables and consume declared outputs; internal resources are implementation details; this behavior should be assessed against the concrete need to download newly declared module source code. The stated requirement is to download newly declared module source code, not to integrate the module without assuming internal resource names are its API; this alternative addresses a different control or phase.

D:

A module contains HCL blocks; a provider implements external API operations; an external module may use providers but is not itself a provider binary; this behavior should be assessed against the concrete need to download newly declared module source code. The distinction matters here: using that mechanism to recognize reusable Terraform configuration versus an API integration plugin would still leave the objective to download newly declared module source code unmet.

Question 488

An engineer needs to compute implementation details without exposing extra inputs as part of an automated release. Which option is the best fit?

  1. Use child locals for internal derivations
  2. Pass a root output through a child input explicitly
  3. Treat module output sensitivity as contagious
  4. Declare inputs in a child variable block
  5. Avoid referencing child local values from the parent

Explanation

Correct Answer

A:

Local values are not parameters the caller can set directly; they provide readable internal names for expressions derived from variables and resources; this behavior should be assessed against the concrete need to compute implementation details without exposing extra inputs. This directly supports the task to compute implementation details without exposing extra inputs during an infrastructure audit.

Incorrect Answers

B:

A caller can use module.upstream.value as an argument to module.downstream; this also creates a dependency through the reference; this behavior should be assessed against the concrete need to compute implementation details without exposing extra inputs. It may support a related workflow, but the question specifically requires the mechanism for compute implementation details without exposing extra inputs rather than connect two modules while preserving their separate scopes.

C:

Sensitive values can flow across module boundaries; a root output exposing a sensitive value generally needs an explicit sensitive marking; state protection remains necessary; this behavior should be assessed against the concrete need to compute implementation details without exposing extra inputs. The stated requirement is to compute implementation details without exposing extra inputs, not to avoid accidentally publishing a secret through the caller's outputs; this alternative addresses a different control or phase.

D:

Each module declares its own variable names and constraints; a child does not automatically inherit all root input variables; this behavior should be assessed against the concrete need to compute implementation details without exposing extra inputs. That can be useful when the aim is to accept values from the calling module through a documented interface, but it does not directly deliver the requested ability to compute implementation details without exposing extra inputs.

E:

Only outputs are exposed for general child-module consumption; callers should not depend on private local names that may change during refactoring; this behavior should be assessed against the concrete need to compute implementation details without exposing extra inputs. The distinction matters here: using that mechanism to preserve encapsulation of implementation-only calculations would still leave the objective to compute implementation details without exposing extra inputs unmet.

Question 489

A module call requires provider settings and outputs. The checklist contains independent tasks: (1) meet the child module's variable contract; (2) instantiate a module per stable map or set key; (3) enforce a hidden prerequisite for an entire child module. Which three options directly correspond to the respective tasks? Choose THREE.

  1. Supply required module input arguments
  2. Use for_each on a compatible module call
  3. Use a local module while iterating on a design
  4. Read module.web.endpoint after declaring an output
  5. Build a root orchestration module
  6. Use depends_on on a module when necessary

Explanation

Correct Answers

A:

Terraform maps arguments by name to variables declared inside the child; missing required values prevent a valid plan; this behavior should be assessed against the concrete need to meet the child module's variable contract and instantiate a module per stable map or set key and enforce a hidden prerequisite for an entire child module. This matches the distinct objective to meet the child module's variable contract; the remaining chosen features address instantiate a module per stable map or set key and enforce a hidden prerequisite for an entire child module.

B:

For-each instance addresses include keys and are often easier to maintain through membership changes than positional count indices; this behavior should be assessed against the concrete need to meet the child module's variable contract and instantiate a module per stable map or set key and enforce a hidden prerequisite for an entire child module. This matches the distinct objective to instantiate a module per stable map or set key; the remaining chosen features address meet the child module's variable contract and enforce a hidden prerequisite for an entire child module.

F:

An explicit module dependency orders its operations after the listed object; prefer output references when they can express the dependency more narrowly; this behavior should be assessed against the concrete need to meet the child module's variable contract and instantiate a module per stable map or set key and enforce a hidden prerequisite for an entire child module. This matches the distinct objective to enforce a hidden prerequisite for an entire child module; the remaining chosen features address meet the child module's variable contract and instantiate a module per stable map or set key.

Incorrect Answers

C:

A local path loads code directly from the checkout; this differs from upgrading an immutable release in an external module registry; this behavior should be assessed against the concrete need to meet the child module's variable contract and instantiate a module per stable map or set key and enforce a hidden prerequisite for an entire child module. Its main application is to test in-repository child changes before publishing a version; the checklist instead asks for meet the child module's variable contract; and instantiate a module per stable map or set key; and enforce a hidden prerequisite for an entire child module. None of those distinct criteria specifically calls for this alternative.

D:

Only named output values are exposed by the module reference; the caller cannot assume internal resource addresses are directly visible; this behavior should be assessed against the concrete need to meet the child module's variable contract and instantiate a module per stable map or set key and enforce a hidden prerequisite for an entire child module. Its main application is to consume a child module result in the caller; the checklist instead asks for meet the child module's variable contract; and instantiate a module per stable map or set key; and enforce a hidden prerequisite for an entire child module. None of those distinct criteria specifically calls for this alternative.

E:

The root module can connect network, compute, and monitoring children through inputs and outputs; each child's encapsulation reduces repeated configuration; this behavior should be assessed against the concrete need to meet the child module's variable contract and instantiate a module per stable map or set key and enforce a hidden prerequisite for an entire child module. Its main application is to compose specialized children without embedding infrastructure logic everywhere; the checklist instead asks for meet the child module's variable contract; and instantiate a module per stable map or set key; and enforce a hidden prerequisite for an entire child module. None of those distinct criteria specifically calls for this alternative.

Question 490

A build pipeline compares module versioning across source types. A reviewer must determine how to refresh external module and provider selections to newly permitted releases. Which action is the appropriate choice?

  1. Use >= 1.2.0, < 2.0.0 for registry modules
  2. Specify a registry module version in the call
  3. Use a release tag as a Git source ref
  4. Run terraform init -upgrade after changing a version range
  5. Review the plan after a module upgrade

Explanation

Correct Answer

D:

Upgrade mode re-fetches and reevaluates eligible dependencies; existing infrastructure does not change until a subsequent plan/apply; this behavior should be assessed against the concrete need to refresh external module and provider selections to newly permitted releases. This directly supports the task to refresh external module and provider selections to newly permitted releases during a cross-team handoff.

Incorrect Answers

A:

Multiple constraints are intersected when selecting registry module versions; they express an acceptable range, not a request to always use the latest major release; this behavior should be assessed against the concrete need to refresh external module and provider selections to newly permitted releases. The stated requirement is to refresh external module and provider selections to newly permitted releases, not to permit a defined compatible interval of releases; this alternative addresses a different control or phase.

B:

The source says which module to fetch, while version constrains published versions; both are important for predictable registry consumption; this behavior should be assessed against the concrete need to refresh external module and provider selections to newly permitted releases. That can be useful when the aim is to distinguish registry version selection from source identification, but it does not directly deliver the requested ability to refresh external module and provider selections to newly permitted releases.

C:

A Git tag can name a release, but mutable tags remain a repository-governance risk; this version control is separate from registry module version constraints; this behavior should be assessed against the concrete need to refresh external module and provider selections to newly permitted releases. The distinction matters here: using that mechanism to refer to a known Git module milestone would still leave the objective to refresh external module and provider selections to newly permitted releases unmet.

E:

A new module may replace resources or alter defaults; initialization only fetches code; the plan reveals its likely infrastructure impact; this behavior should be assessed against the concrete need to refresh external module and provider selections to newly permitted releases. The stated requirement is to refresh external module and provider selections to newly permitted releases, not to spot effects caused by changed child resource definitions; this alternative addresses a different control or phase.

HashiCorp Certified: Terraform Associate (Terraform Associate) Practice Tests