Courseiva
Understand Terraform's purposehardMultiple SelectObjective-mapped

TF-004 Terraform Provider Practice Question

Which THREE of the following are valid Terraform providers?

⚠ Common exam trap

Candidates often assume that only official HashiCorp providers are valid, but community providers like kreuzwerker/docker are also valid unless the question specifies 'official'. Additionally, CloudWatch is not a standalone provider; it's part of the AWS provider.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

hashicorp/azurerm

All four options A, B, C, D are valid Terraform providers. Options A (hashicorp/azurerm), C (hashicorp/kubernetes), and D (hashicorp/aws) are official HashiCorp providers. Option B (kreuzwerker/docker) is a well-known community provider for Docker. The question asks for 'valid' providers, which includes both official and community providers. Option E (hashicorp/cloudwatch) is not a valid standalone provider because CloudWatch is a service within AWS and is managed by the hashicorp/aws provider.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • hashicorp/azurerm

    Why this is correct

    Correct. hashicorp/azurerm is the official Azure provider from HashiCorp.

  • kreuzwerker/docker

    Why this is correct

    Correct. kreuzwerker/docker is a community provider that is widely used and valid.

  • hashicorp/kubernetes

    Why this is correct

    Correct. hashicorp/kubernetes is the official Kubernetes provider.

  • hashicorp/aws

    Why this is correct

    Correct. hashicorp/aws is the official AWS provider.

  • hashicorp/cloudwatch

    Why it's wrong here

    Incorrect. There is no separate hashicorp/cloudwatch provider; CloudWatch resources are part of the hashicorp/aws provider.

About these practice questions

Courseiva writes every TF-004 question from scratch — 428 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This TF-004 practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the TF-004 exam.