Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 2 fuera de 14 páginas
Examen

HashiCorp Terraform Associate 003 Exam Questions and Answers

Document preview thumbnail
Vista previa 2 fuera de 14 páginas

Complete preparation guide for the HashiCorp Certified Terraform Associate (003) exam. 30 + 8 questions with verified answers covering all exam objectives. Topics covered: - Infrastructure as Code (IaC) concepts: declarative vs imperative, benefits of IaC, Terraform vs provider-specific tools - Terraform workflow: init, plan, apply, destroy — what each command does - Terraform providers: plugins implementing resource types, Terraform Registry, version constraints (~ pessimistic operator) - Terraform state: te purpose, remote backends (S3 + DynamoDB locking, Azure Blob, Terraform Cloud), state backup - Variables and outputs: variable types, .tfvars files, precedence order, sensitive outputs - Modules: root vs child modules, Terraform Registry public modules, private registry in Terraform Cloud - Resource meta-arguments: depends_on, count, for_each, lifecycle (create_before_destroy, prevent_destroy, ignore_changes) - HCL language: string interpolation, built-in functions (string, collection, encoding, numeric), locals, data sources - Terraform commands: fmt, validate, workspace, import, state management - Terraform Cloud: remote state, state locking, VCS integration, Sentinel policy enforcement (Advisory/Soft-mandatory/Hard-mandatory), team access - Advanced features: moved block (refactoring without destroy), null_resource, provisioners (and why to avoid them), CDK Construct Library - Best practices: .gitignore for Terraform, team workflow (PR → CI plan → review → apply on merge), file organization (, , ) - Terraform Enterprise vs OSS vs Terraform Cloud — differences and use cases

Vista previa del contenido

HashiCorp
Terraform Associate
Infrastructure as Code, Terraform Workflow, State, Modules & Best Practices
Exam: Terraform Associate (003)
30 + 8 Questions & Verified Answers


HashiCorp Terraform Associate — 30 + 8 Exam
Questions
Covers all exam objectives: IaC Concepts, Terraform Purpose, Basics, State, Modules, Workflow,
Terraform Cloud, and Advanced Features.


Q01. What is Infrastructure as Code (IaC) and what problem does it solve?
A. Writing code that runs on infrastructure
B. A programming language for cloud platforms
C. A billing model for cloud infrastructure
D. Managing infrastructure through machine-readable definition files rather than manual
configuration — providing version control, repeatability, consistency, and the ability to review
infrastructure changes before applying them
Answer: D. Managing infrastructure through definition files — providing version control,
repeatability, consistency, and reviewable changes
Without IaC: manual clicks in a console — inconsistent, undocumented, error-prone, slow.
With IaC: infrastructure is code — reviewed, versioned in Git, tested, and deployed automatically.
Benefits: idempotency (apply same config multiple times = same result), documentation (code IS
the doc), rollback (revert the Git commit).
Tools: Terraform (multi-cloud), AWS CloudFormation (AWS-only), Azure ARM Templates, Google
Cloud Deployment Manager.


Q02. What is Terraform and what makes it different from provider-specific IaC tools?
A. Terraform is an AWS-only tool
B. Terraform is a declarative, cloud-agnostic IaC tool by HashiCorp that supports 3,000+
providers — enabling teams to define, preview, and deploy infrastructure across AWS, Azure,
GCP, and hundreds of other platforms with a single workflow
C. Terraform only supports container deployments
D. Terraform is a configuration management tool like Chef or Puppet

, Answer: B. Declarative, cloud-agnostic IaC tool supporting 3,000+ providers — single
workflow across AWS, Azure, GCP, and more
Declarative: you describe WHAT you want (the end state), not HOW to get there.
Provider-agnostic: same workflow for AWS, Azure, GCP — just change the provider configuration.
Provider ecosystem: AWS, Azure, GCP, Kubernetes, GitHub, Datadog, PagerDuty, Snowflake, and
3,000+ more.
HCL (HashiCorp Configuration Language): Terraform's configuration language — human-readable,
JSON-compatible.


Q03. What is a Terraform provider?
A. The cloud account that runs Terraform
B. A paid HashiCorp service
C. A Terraform module for creating VMs
D. A plugin that implements resource types for a specific API — translating Terraform
configuration into API calls for a specific cloud platform or service (AWS provider, Azure
provider, Google provider, Kubernetes provider)
Answer: D. Plugin implementing resource types for a specific API — translates HCL into API
calls for a cloud or service
Providers are published in the Terraform Registry (registry.terraform.io).
Provider configuration: specify provider credentials and settings in a provider block.
Required providers: declare providers in terraform block with source and version constraints.
Provider versions: pin to specific versions to avoid breaking changes — use >= constraints
carefully.


Q04. What does 'terraform init' do?
A. Initialize a new AWS account
B. Creates the first Terraform plan
C. Applies the Terraform configuration to create resources
D. Downloads the required provider plugins and modules, initializes the backend for state
storage, and prepares the working directory for other Terraform commands
Answer: D. Downloads provider plugins and modules, initializes backend, prepares working
directory
Run 'terraform init' after: creating a new configuration, adding a new provider, or changing backend
configuration.
Downloads: provider binaries to .terraform/providers/, module source code to .terraform/modules/.
Backend initialization: configures where Terraform state is stored (local or remote S3, Azure Blob,
Terraform Cloud).
Safe to run multiple times — idempotent.


Q05. What is the purpose of 'terraform plan'?
A. Create a cost estimate for infrastructure
B. Display a preview of what changes Terraform will make to infrastructure — showing
resources to be added, changed, or destroyed — without making any actual changes
C. Apply changes to production immediately
D. Generate Terraform configuration from existing infrastructure

Información del documento

Subido en
6 de junio de 2026
Número de páginas
14
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$15.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
1
Seguidores
0
Artículos
38
Última venta
2 meses hace


Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes