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 та симуляторів співбесід.

Почни безкоштовно