DevOps

Terraform Advanced

Modules, workspaces, remote state, data sources, dynamic blocks, provisioners, drift detection

22 питань зі співбесід·
Mid-Level
1

What is a Terraform module?

Відповідь

A Terraform module is a reusable container of resources and infrastructure logic. It allows encapsulating a set of related resources and reusing them across different projects or environments. Modules accept input variables and can expose outputs to enable composition and chaining between modules.

2

What is the main difference between a workspace and a module?

Відповідь

Workspaces allow managing multiple instances of the same code with separate state files, while modules encapsulate reusable code. A workspace serves to isolate states for different environments, whereas a module serves to reuse infrastructure logic. Workspaces share the same code but different states, modules share code across projects.

3

What is the main advantage of using a remote backend like S3 instead of local state?

Відповідь

The remote backend enables state sharing between team members and guarantees deployment consistency. With local state, each developer has their own copy, creating conflicts and inconsistencies. The remote backend also offers state locking to prevent concurrent modifications and facilitates collaboration by centralizing the source of truth.

4

How to create a new Terraform workspace?

5

What is the difference between a data source and a resource 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 Basics

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

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