Question 1 · choose 2
A new team member asks what actually happens when Terraform creates an aws_s3_bucket resource. Which two statements describe the provider's part? (Choose TWO.)
- ATerraform Core calls the AWS APIs itself and uses the provider only to look up argument names
- BThe AWS provider plugin turns the resource into AWS API calls and reports back to Core
- CTerraform Core starts the provider plugin as a process and talks to it over RPC
- DThe provider is a module in the Registry that contains a template for every AWS service
- EThe provider runs inside AWS and receives the configuration files from Terraform Core
Show the answer and why
ATerraform Core calls the AWS APIs itself and uses the provider only to look up argument names
Incorrect
Core is provider-agnostic; the API calls are the provider plugin's job.
BThe AWS provider plugin turns the resource into AWS API calls and reports back to Core
Correct
Providers are plugins that implement resources and data sources for a service; Terraform Core talks to them over RPC and they make the API calls.
CTerraform Core starts the provider plugin as a process and talks to it over RPC
Correct
Providers are plugins executed as separate processes that communicate with the Terraform binary over an RPC interface.
DThe provider is a module in the Registry that contains a template for every AWS service
Incorrect
A provider is a compiled plugin binary, not a module of Terraform configuration.
EThe provider runs inside AWS and receives the configuration files from Terraform Core
Incorrect
Providers run on the machine that runs Terraform, as separate local processes.
Terraform Core handles configuration, state and planning; provider plugins know each platform's API.
HashiCorp documentation