
Terraform Basics
Infrastructure as Code, providers, resources, variables, outputs, state management, troubleshooting drift
1What is Infrastructure as Code (IaC)?
What is Infrastructure as Code (IaC)?
Resposta
Infrastructure as Code is a practice of managing and provisioning computing infrastructure through machine-readable configuration files rather than manual processes. This approach enables versioning infrastructure, easily reproducing it, and applying the same software development practices such as code reviews and automated testing. Terraform is one of the most popular IaC tools because it is cloud-agnostic and uses a declarative language.
2What is the role of a provider in Terraform?
What is the role of a provider in Terraform?
Resposta
A Terraform provider is a plugin that enables Terraform to interact with a cloud platform, SaaS service, or specific API. Each provider exposes resources and data sources specific to the target platform. For example, the AWS provider allows creating EC2 instances, S3 buckets, and other AWS services. Providers must be declared and initialized with terraform init before they can be used.
3What is a resource in Terraform?
What is a resource in Terraform?
Resposta
A Terraform resource represents an infrastructure component managed by Terraform, such as a virtual machine instance, a network, or a database. Resources are declared in configuration files with a type and a unique local name. Terraform uses these declarations to create, modify, or delete the actual infrastructure. Each resource has configuration arguments and exported attributes that can be used by other resources.
What are input variables used for in Terraform?
What is the role of outputs in Terraform?
+19 perguntas de entrevista
Outros temas de entrevista DevOps
Version Control & Git
Linux Fundamentals
Shell Scripting & Bash
Networking Basics
Docker Fundamentals
CI/CD Fundamentals
GitHub Actions
GitLab CI/CD
Jenkins
Kubernetes Basics
Kubernetes Networking
Kubernetes Advanced
Ingress & API Gateway
Terraform Advanced
Ansible & Configuration Management
AWS Essentials
Azure Fundamentals
GCP Fundamentals
Monitoring & Prometheus
Logging & ELK Stack
Alerting & Incident Response
Cloud Identity & Secrets
CI/CD Pipeline Security
Helm & Kubernetes
Runtime & Cluster Security
Container Supply Chain Security
Service Mesh & Istio
GitOps & ArgoCD
Progressive Delivery
Distributed Observability
Disaster Recovery & Backup
Performance Optimization
Cloud Cost Optimization
SRE Principles
Chaos Engineering
Platform Engineering
Domine DevOps para sua proxima entrevista
Acesse todas as perguntas, flashcards, testes tecnicos, exercicios de code review e simuladores de entrevista.
Comece gratis