Reviewed by Aditya Kumar · Last reviewed 2026-03-24
Lifecycle: init (providers, backend) → plan (diff) → apply (create/update) → destroy (optional). For EMR: Define aws_emr_cluster, instance groups, security groups, IAM. Variables for sizing. Why: Reproducible; versioned....
Lifecycle: init (providers, backend) → plan (diff) → apply (create/update) → destroy (optional). For EMR: Define aws_emr_cluster, instance groups, security groups, IAM. Variables for sizing. Why: Reproducible; versioned. Best practice: Remote state (S3 + DynamoDB); plan in CI; workspaces for envs; validate.
Red Flag: Local state in production. Pro-Move: 'We run plan in CI; apply requires approval; state locked—cluster deploys in 12 min, reproducible.'
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.