DevOps

Terraform Basics

Infrastructure as Code, providers, resources, variables, outputs, state management, troubleshooting drift

22 คำถามสัมภาษณ์·
Mid-Level
1

What is Infrastructure as Code (IaC)?

คำตอบ

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.

2

What is the role of a provider in Terraform?

คำตอบ

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.

3

What is a resource in Terraform?

คำตอบ

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.

4

What are input variables used for in Terraform?

5

What is the role of outputs in Terraform?

+19 คำถามสัมภาษณ์

หัวข้อสัมภาษณ์ DevOps อื่นๆ

Version Control & Git

Junior
20 คำถาม

Linux Fundamentals

Junior
22 คำถาม

Shell Scripting & Bash

Mid-Level
20 คำถาม

Networking Basics

Junior
22 คำถาม

Docker Fundamentals

Junior
24 คำถาม

CI/CD Fundamentals

Junior
18 คำถาม

GitHub Actions

Mid-Level
22 คำถาม

GitLab CI/CD

Mid-Level
22 คำถาม

Jenkins

Mid-Level
22 คำถาม

Kubernetes Basics

Mid-Level
26 คำถาม

Kubernetes Networking

Mid-Level
24 คำถาม

Kubernetes Advanced

Mid-Level
24 คำถาม

Ingress & API Gateway

Mid-Level
20 คำถาม

Terraform Advanced

Mid-Level
22 คำถาม

Ansible & Configuration Management

Mid-Level
20 คำถาม

AWS Essentials

Mid-Level
26 คำถาม

Azure Fundamentals

Mid-Level
22 คำถาม

GCP Fundamentals

Mid-Level
22 คำถาม

Monitoring & Prometheus

Mid-Level
22 คำถาม

Logging & ELK Stack

Mid-Level
20 คำถาม

Alerting & Incident Response

Mid-Level
20 คำถาม

Cloud Identity & Secrets

Mid-Level
22 คำถาม

CI/CD Pipeline Security

Mid-Level
20 คำถาม

Helm & Kubernetes

Mid-Level
20 คำถาม

Runtime & Cluster Security

Senior
24 คำถาม

Container Supply Chain Security

Senior
22 คำถาม

Service Mesh & Istio

Senior
24 คำถาม

GitOps & ArgoCD

Senior
22 คำถาม

Progressive Delivery

Senior
20 คำถาม

Distributed Observability

Senior
22 คำถาม

Disaster Recovery & Backup

Senior
20 คำถาม

Performance Optimization

Senior
22 คำถาม

Cloud Cost Optimization

Senior
20 คำถาม

SRE Principles

Senior
24 คำถาม

Chaos Engineering

Senior
20 คำถาม

Platform Engineering

Senior
22 คำถาม

เชี่ยวชาญ DevOps สำหรับการสัมภาษณ์ครั้งถัดไป

เข้าถึงคำถามทั้งหมด flashcards แบบทดสอบเทคนิค แบบฝึกหัด code review และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี