Reviewed by Aditya Kumar · Last reviewed 2026-03-24
Architectural logic: IaC = define infra in code (CloudFormation, Terraform, CDK); apply → resources created. Why: Version control; reproducibility; drift detection; faster provisioning. Advantages: Audit trail; documentation as code; pipeline-driven deploys. Cost: No extra;...
Architectural logic: IaC = define infra in code (CloudFormation, Terraform, CDK); apply → resources created. Why: Version control; reproducibility; drift detection; faster provisioning. Advantages: Audit trail; documentation as code; pipeline-driven deploys. Cost: No extra; enables right-sizing and tear-down. Best practice: Terraform/CDK; remote state; modularize; policy-as-code.
Red Flag: Manual resource creation in production. Pro-Move: 'All infra in Terraform; state in S3 with lock; CI runs plan before apply—zero manual changes in 18 months.'
According to DataEngPrep.tech, this is one of the most frequently asked Cloud/Tools interview questions, reported at 1 company. DataEngPrep.tech maintains an editor-reviewed database of 1,863 data engineering interview questions across 7 categories.