Logotipo de DummyExamsDummyExams
Logotipo de HashiCorp

Práctica gratuita · sin registro

30 preguntas de práctica gratuitas de HashiCorp TFA-004

Preguntas de práctica reales para el examen HashiCorp Terraform Associate (TFA-004), con respuestas y explicaciones detalladas. Actualizado en 2026.

Preguntas gratuitas

30

Puntuación de aprobado

Aprobado o suspenso — HashiCorp no publica un porcentaje mínimo

Duración del examen

60 minutos

Banco de preguntas

Más de 539 preguntas

A continuación tienes 30 preguntas de práctica reales para el examen HashiCorp Terraform Associate (TFA-004). Cada pregunta muestra la respuesta correcta y una explicación detallada cuando la revelas. Úsalas para medir tu preparación: si obtienes menos del 70 % en estas 30 preguntas, prevé al menos 4 semanas más de estudio antes de reservar.

Preguntas de práctica de TFA-004

  1. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    What is Infrastructure as Code (IaC)?

    A
    Defining and managing infrastructure using machine-readable configuration files
    B
    Storing infrastructure diagrams in a wiki for operations teams
    C
    Writing shell scripts that SSH into servers to install packages
    D
    Managing infrastructure exclusively through a cloud provider's web console
  2. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which practice is a primary benefit of Infrastructure as Code?

    A
    Guaranteeing zero downtime for every deployment
    B
    Removing the need to test changes before production
    C
    Storing infrastructure definitions in version control for history and collaboration
    D
    Eliminating the need for cloud provider APIs
  3. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    In a declarative IaC approach, what does the practitioner primarily specify?

    A
    The order of shell commands on each host
    B
    The exact sequence of API calls to reach the desired state
    C
    The desired end state of infrastructure
    D
    The IP addresses of existing servers only
  4. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which statement best describes an imperative approach to infrastructure management?

    A
    You specify step-by-step commands to perform
    B
    You declare the target state and the tool reconciles differences
    C
    You only store infrastructure in JSON templates
    D
    You never change infrastructure after initial creation
  5. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Terraform is best classified as which type of IaC tool?

    A
    Declarative infrastructure provisioning
    B
    Agent-based host patching system
    C
    Manual runbook automation only
    D
    Imperative configuration management
  6. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    What does idempotency mean in the context of IaC?

    A
    Only one person can run apply at a time
    B
    Resources can never be updated after creation
    C
    Each apply must destroy all resources first
    D
    Applying the same configuration repeatedly yields the same result without unintended side effects
  7. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which scenario best illustrates immutable infrastructure?

    A
    Store server state only on local disks without backups
    B
    Manually edit security group rules in the console
    C
    Replace a failed instance with a new one built from the same image/config
    D
    SSH into a server and patch packages in place
  8. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Terraform is developed by which company and written in which language?

    A
    HashiCorp; Go
    B
    Amazon; Python
    C
    Microsoft; C#
    D
    Google; Java
  9. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    What is configuration drift?

    A
    When provider plugins fail to download during init
    B
    When live infrastructure diverges from the defined IaC configuration
    C
    When Terraform state file is accidentally deleted
    D
    When HCL syntax errors prevent validation
  10. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which are common benefits of Infrastructure as Code? (Select all that apply.)

    A
    Consistency across environments
    B
    Automation of provisioning
    C
    Improved auditability through version history
    D
    Elimination of all human operational work
    E
    Reusability of configuration patterns
  11. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    What is the ClickOps anti-pattern?

    A
    Automating deployments with CI pipelines
    B
    Using CLI tools instead of a GUI
    C
    Storing Terraform code in Git
    D
    Making infrastructure changes only through cloud console clicks without codified definitions
  12. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    In the cattle vs. pets metaphor, cattle servers are characterized by:

    A
    Always running without automation
    B
    Unique manual tuning and sentimental naming
    C
    Being disposable and replaced rather than individually nursed back to health
    D
    Never scaling horizontally
  13. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    How does IaC improve reproducibility?

    A
    By encoding environment definitions so they can be recreated consistently
    B
    By requiring every resource to be created manually first
    C
    By preventing all configuration changes forever
    D
    By hiding infrastructure details from developers
  14. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which capability supports auditability in IaC workflows?

    A
    Disabling logs on cloud APIs
    B
    Storing secrets in plain text in code
    C
    Version-controlled change history with authorship and timestamps
    D
    Deleting old Git commits after merge
  15. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    GitOps in infrastructure management typically means:

    A
    Storing only binary images in Git without configuration
    B
    Using Git as the source of truth and driving deployments from approved changes
    C
    Prohibiting pull requests for infrastructure code
    D
    Avoiding any automation in deployment pipelines
  16. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which statement about declarative IaC is TRUE?

    A
    The tool compares desired state to actual state and plans changes
    B
    Declarative configs cannot use variables
    C
    Declarative tools cannot destroy resources
    D
    You must script every API call in order
  17. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    A team applies the same Terraform configuration twice with no code or external changes. What is the expected outcome?

    A
    Terraform refuses to run a second time
    B
    A new state file is created each time with different resource IDs
    C
    All resources are destroyed on the second run
    D
    No changes are required on the second run
  18. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Why is manual console change a risk for IaC-managed environments?

    A
    It automatically upgrades Terraform versions
    B
    It forces immediate deletion of all resources
    C
    It can introduce drift that the next plan/apply may overwrite or conflict with
    D
    It prevents provider plugins from loading
  19. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which is NOT a typical IaC benefit?

    A
    Guaranteed immunity to misconfiguration
    B
    Faster, repeatable environment provisioning
    C
    Peer review of infrastructure changes
    D
    Documentation that stays close to actual config
  20. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which statements about declarative vs. imperative approaches are correct? (Select all that apply.)

    A
    Imperative scripts focus on the sequence of actions
    B
    Declarative configs describe desired end state
    C
    Imperative tools cannot use loops
    D
    Declarative tools can still perform ordered operations internally
    E
    Terraform's primary model is imperative
  21. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Open-source Terraform means:

    A
    Its source code is publicly available under an open-source license
    B
    It does not require provider plugins
    C
    It can only manage open-source software stacks
    D
    All cloud resources it creates are free of charge
  22. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which practice helps reduce configuration drift?

    A
    Storing state only on individual laptops
    B
    Disabling terraform plan in CI
    C
    Making production changes only in the console for speed
    D
    Treating the IaC repository as the source of truth and avoiding unmanaged edits
  23. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Immutable infrastructure pairs well with IaC because:

    A
    New instances can be provisioned from the same definition instead of patching in place
    B
    It requires no testing of images
    C
    Servers never need replacement
    D
    It eliminates the need for state
  24. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    What role does automation play in IaC?

    A
    It executes defined infrastructure changes consistently without manual steps
    B
    It removes the need for configuration files
    C
    It prevents all downtime during updates
    D
    It replaces version control systems
  25. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which example best shows reusability in IaC?

    A
    Copy-pasting console screenshots into tickets
    B
    Using the same module or pattern for dev, staging, and prod with different variables
    C
    Documenting servers only in spreadsheets
    D
    Creating each environment from scratch with no shared code
  26. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Why might auditors prefer IaC over ClickOps?

    A
    IaC eliminates the need for access controls
    B
    IaC hides all change history
    C
    IaC changes are traceable in version control and pipelines
    D
    IaC prevents any production changes
  27. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Terraform's declarative model means practitioners focus on:

    A
    Installing agents on every VM before provisioning
    B
    Writing bash loops for each API endpoint
    C
    Compiling HCL into ARM templates only
    D
    Resource blocks describing desired attributes
  28. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Idempotency helps operations teams because:

    A
    Re-running configuration after partial failure can converge to desired state safely
    B
    It removes dependency ordering
    C
    Failed applies never need investigation
    D
    It guarantees resources cost nothing
  29. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Configuration drift is MOST likely detected when:

    A
    terraform fmt reformats files
    B
    terraform validate fails due to syntax
    C
    terraform version prints the CLI version
    D
    terraform plan shows unexpected changes against unchanged code
  30. FreePracticeQuiz.questionLabelInfrastructure as Code Concepts

    Which are characteristics of the pets model of infrastructure? (Select all that apply.)

    A
    Strong emotional or operational attachment to individual hosts
    B
    Servers are numbered and discarded like cattle
    C
    Horizontal scaling with identical disposable instances
    D
    Manual intervention is common for recovery
    E
    Servers are treated as unique and irreplaceable
Progreso: 0 de 30 preguntas completadas

¿Listo para el examen completo de TFA-004?

Accede a todas las Más de 539 preguntas, a la simulación cronometrada y al análisis de tus puntos débiles. Planes desde 2,99 $: los créditos no caducan nunca.

Ver precios

Preguntas frecuentes

¿Son preguntas de práctica reales de TFA-004?+
Sí. Estas 30 preguntas se han extraído directamente de nuestro banco de Más de 539 preguntas, redactadas y revisadas por profesionales certificados. Reproducen el estilo, la dificultad y el alcance del examen oficial de HashiCorp TFA-004.
¿Es difícil el examen TFA-004?+
El examen HashiCorp Terraform Associate (TFA-004) se considera un examen con nota de corte (puntuación de aprobado: Aprobado o suspenso — HashiCorp no publica un porcentaje mínimo). La mayoría de los candidatos necesitan entre 4 y 8 semanas de preparación centrada. Usa estas preguntas gratuitas para saber en qué punto estás antes de comprometerte con un plan de estudio completo.
¿Cuántas preguntas tiene el examen real de TFA-004?+
El examen oficial de TFA-004 tiene Alrededor de 57 preguntas (no publicado oficialmente).
¿Hace falta registrarse para usar estas preguntas?+
No. Estas 30 preguntas son gratuitas y no requieren registro. Si quieres simulación cronometrada, análisis de rendimiento y acceso a todas las Más de 539 preguntas, nuestros planes de pago empiezan en 2,99 $ por examen, con créditos que no caducan nunca.

Sigue estudiando

Aprueba TFA-004 en el primer intento

Únete a los candidatos que usan DummyExams para practicar con exámenes cronometrados realistas, explicaciones detalladas y análisis de puntos débiles.

Comenzar el examen de práctica completo de TFA-004