HashiCorp Certified: Terraform Associate (003) — Question 18

As a developer, you want to ensure your plugins are up-to-date with the latest versions. Which Terraform command should you use?

Answer options

Correct answer: D

Explanation

The correct command is 'terraform init -upgrade', as this initializes your Terraform configuration and updates the provider plugins to their latest versions. The other options either do not relate to updating plugins or are incorrect commands for this purpose.