APURV
  • Home
  • Journey
  • Projects
  • Blogs
  • Interview
  • Exams
Resume
APURV

Building scalable, secure, and production-ready cloud infrastructure. Automation first.

NAVIGATION

HomeExperienceProjectsCertificationsSkills

TECH STACK

AWSGCPK8sCI/CDLinuxDocker

CONNECT

LinkedInGitHubEmailResume

© 2026 Apurv Gujjar. All rights reserved.
Apurv Gujjar
Apurv GujjarDevOps & Cloud Engineer
|Interview Documentation
Portfolio
Handbooks
🎯Linux🐙Git & GitHub🤖GitHub Actions🌐Networking☁AWS🛠Terraform🐳Docker☸Kubernetes📊Monitoring🛡DevSecOps💰Cost Optimization🚨Incident Scenarios👤HR & Behavioral☁GCP🐍Python
Interview DocumentationTerraform

Terraform

Infrastructure as Code & State Management Guide with Terraform

Q1

What is Infrastructure as Code (IaC), and what actual problems does it solve for an operations team?

💬Answer

Infrastructure as Code (IaC) is the practice of provisioning, managing, and configuring IT infrastructure (servers, network topologies, storage, load balancers) using machine-readable configuration files or scripts ("code"), rather than relying on manual server configuration, physical hardware setups, or interactive GUI dashboard configurations.

Q2

# Key Benefits:

Q3

How do you choose between a provisioning tool like Terraform and a configuration management tool like Ansible?

Q4

Walk me through the standard Terraform core workflow. What happens under the hood during each phase?

Q5

What is the difference between count and for_each? In what scenarios is for_each the safer choice?

Q6

How do dynamic blocks work in Terraform, and can you give me an example of when they are necessary?

Q7

How do you distinguish between input variables and local values? When should we use locals?

Q8

Can you explain the difference between a resource block and a data source block?

Q9

What is the purpose of the Terraform state file, and what strategies do you implement to secure it in production?

Q10

# Production Security Hardening:

Q11

If our remote state file gets corrupted or accidentally deleted, how would you recover it?

Q12

If our Terraform codebase grows into a monolithic state file, how would you split it into modular configurations?

Q13

How do you safely migrate a Terraform state file from a local backend to a remote backend?

Q14

How do tools like Terragrunt, Terraform Cloud, and Atlantis help scale Terraform in an enterprise?

Q15

What is your approach to implementing a GitOps model for infrastructure delivery using Terraform?

Q16

How does Terraform compare to AWS CloudFormation, and why might you prefer one over the other?

Apurv Gujjar - DevOps & Cloud Engineer
Created by

Apurv Gujjar

DevOps & Cloud Engineer

Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio