Question 80
A Terraform rollout has separate acceptance criteria: locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another. Which combined approach directly satisfies the two criteria?
Explanation
Correct Answer
For the first criterion, core evaluates configuration and plans operations; a provider talks to its specific API to create, read, update, or delete objects; an API authorization error therefore usually needs provider-side credential review; this behavior should be assessed against the concrete need to locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another; this directly addresses the need to locate graph, evaluation, state, and orchestration responsibilities. For the separate second criterion, each service API determines supported operations, defaults, quotas, and replacement rules; the shared HCL syntax does not standardize these platform behaviors; this behavior should be assessed against the concrete need to locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another; this fulfills the need to avoid assuming one cloud plugin exposes the same resource semantics as another. Together they cover the independent tasks of locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another without exchanging the responsibilities of these features.
Incorrect Answers
The first measure meets the requirement to locate graph, evaluation, state, and orchestration responsibilities, but its partner serves a different role: A provider may return IDs or addresses that were unknown during initial planning; terraform can propagate unknown values through references until the apply produces them; this behavior should be assessed against the concrete need to locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another. That second component is designed to use values learned only after resource creation or refresh, so the still-missing criterion is to avoid assuming one cloud plugin exposes the same resource semantics as another, while the first criterion remains locate graph, evaluation, state, and orchestration responsibilities.
The second measure does meet the avoid assuming one cloud plugin exposes the same resource semantics as another requirement, but the first is designed for another concern: Provider binaries translate resource and data-source lifecycle requests into service-specific API calls; terraform Core builds plans and tracks dependencies, rather than implementing every cloud API directly; this behavior should be assessed against the concrete need to locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another. That first component is designed to map Terraform resource operations to a platform's API, which does not accomplish the requested task to locate graph, evaluation, state, and orchestration responsibilities, even though the other measure satisfies avoid assuming one cloud plugin exposes the same resource semantics as another.
The second measure does meet the avoid assuming one cloud plugin exposes the same resource semantics as another requirement, but the first is designed for another concern: The source includes registry host, namespace, and type when fully qualified; local names let modules refer to that provider without repeating its entire address; this behavior should be assessed against the concrete need to locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another. That first component is designed to distinguish a local provider name from its registry namespace, which does not accomplish the requested task to locate graph, evaluation, state, and orchestration responsibilities, even though the other measure satisfies avoid assuming one cloud plugin exposes the same resource semantics as another.
The first measure is intended to ensure dependencies are installed during initialization: Terraform initialization installs provider dependencies before normal plan/apply runs; missing plugin setup cannot be solved solely by granting more cloud permissions; this behavior should be assessed against the concrete need to locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another. The second measure is intended to separate provider release changes from upgrading Terraform CLI: A provider is distributed and versioned independently of Terraform Core; compatibility constraints may restrict usable combinations; this behavior should be assessed against the concrete need to locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another. Neither is the directly designated method for the separate goals of locate graph, evaluation, state, and orchestration responsibilities and avoid assuming one cloud plugin exposes the same resource semantics as another in this review.