Cloud · IaC & Automation interview questions

42 real Cloud · IaC & Automation questions from the Cloud bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Infrastructure as Code?

Junior
  1. A.identifying differences between deployed infrastructure and its defined configuration
  2. B.an IaC tool that defines infrastructure using real programming languages across clouds
  3. C.a file mapping declared resources to real-world infrastructure for tracking changes
  4. D.managing and provisioning infrastructure through machine-readable definition files
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Infrastructure as Code — a file mapping declared resources to real-world infrastructure for tracking changes
  2. B.Infrastructure as Code — managing and provisioning infrastructure through machine-readable definition files
  3. C.Infrastructure as Code — AWS's native service for defining and provisioning resources via templates
  4. D.Infrastructure as Code — an open-source declarative tool to provision infrastructure across many providers
Reveal the answer + AI explanation — free account

4. What is Terraform?

Junior
  1. A.AWS's native service for defining and provisioning resources via templates
  2. B.identifying differences between deployed infrastructure and its defined configuration
  3. C.an open-source declarative tool to provision infrastructure across many providers
  4. D.an IaC tool that defines infrastructure using real programming languages across clouds
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Terraform — an open-source declarative tool to provision infrastructure across many providers
  2. B.Terraform — a file mapping declared resources to real-world infrastructure for tracking changes
  3. C.Terraform — identifying differences between deployed infrastructure and its defined configuration
  4. D.Terraform — a framework to define cloud infrastructure using general-purpose programming languages
Reveal the answer + AI explanation — free account

7. What is CloudFormation?

Junior
  1. A.the property that applying the same configuration repeatedly yields the same end state
  2. B.identifying differences between deployed infrastructure and its defined configuration
  3. C.an IaC tool that defines infrastructure using real programming languages across clouds
  4. D.AWS's native service for defining and provisioning resources via templates
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.CloudFormation — an IaC tool that defines infrastructure using real programming languages across clouds
  2. B.CloudFormation — the property that applying the same configuration repeatedly yields the same end state
  3. C.CloudFormation — AWS's native service for defining and provisioning resources via templates
  4. D.CloudFormation — an open-source declarative tool to provision infrastructure across many providers
Reveal the answer + AI explanation — free account

10. What is Terraform State?

Mid
  1. A.managing and provisioning infrastructure through machine-readable definition files
  2. B.a file mapping declared resources to real-world infrastructure for tracking changes
  3. C.the property that applying the same configuration repeatedly yields the same end state
  4. D.AWS's native service for defining and provisioning resources via templates
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Terraform State — AWS's native service for defining and provisioning resources via templates
  2. B.Terraform State — a file mapping declared resources to real-world infrastructure for tracking changes
  3. C.Terraform State — identifying differences between deployed infrastructure and its defined configuration
  4. D.Terraform State — an IaC tool that defines infrastructure using real programming languages across clouds
Reveal the answer + AI explanation — free account

13. What is Idempotency?

Mid
  1. A.an open-source declarative tool to provision infrastructure across many providers
  2. B.the property that applying the same configuration repeatedly yields the same end state
  3. C.a file mapping declared resources to real-world infrastructure for tracking changes
  4. D.a framework to define cloud infrastructure using general-purpose programming languages
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.Idempotency — a framework to define cloud infrastructure using general-purpose programming languages
  2. B.Idempotency — a file mapping declared resources to real-world infrastructure for tracking changes
  3. C.Idempotency — an IaC tool that defines infrastructure using real programming languages across clouds
  4. D.Idempotency — the property that applying the same configuration repeatedly yields the same end state
Reveal the answer + AI explanation — free account

16. What is Drift Detection?

Mid
  1. A.AWS's native service for defining and provisioning resources via templates
  2. B.identifying differences between deployed infrastructure and its defined configuration
  3. C.the property that applying the same configuration repeatedly yields the same end state
  4. D.a file mapping declared resources to real-world infrastructure for tracking changes
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.Drift Detection — an open-source declarative tool to provision infrastructure across many providers
  2. B.Drift Detection — identifying differences between deployed infrastructure and its defined configuration
  3. C.Drift Detection — a framework to define cloud infrastructure using general-purpose programming languages
  4. D.Drift Detection — an IaC tool that defines infrastructure using real programming languages across clouds
Reveal the answer + AI explanation — free account

19. What is AWS CDK?

Senior
  1. A.managing and provisioning infrastructure through machine-readable definition files
  2. B.a framework to define cloud infrastructure using general-purpose programming languages
  3. C.an IaC tool that defines infrastructure using real programming languages across clouds
  4. D.identifying differences between deployed infrastructure and its defined configuration
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Senior
  1. A.AWS CDK — managing and provisioning infrastructure through machine-readable definition files
  2. B.AWS CDK — a framework to define cloud infrastructure using general-purpose programming languages
  3. C.AWS CDK — an open-source declarative tool to provision infrastructure across many providers
  4. D.AWS CDK — AWS's native service for defining and provisioning resources via templates
Reveal the answer + AI explanation — free account

22. What is Pulumi?

Senior
  1. A.an IaC tool that defines infrastructure using real programming languages across clouds
  2. B.identifying differences between deployed infrastructure and its defined configuration
  3. C.a framework to define cloud infrastructure using general-purpose programming languages
  4. D.managing and provisioning infrastructure through machine-readable definition files
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Senior
  1. A.Pulumi — the property that applying the same configuration repeatedly yields the same end state
  2. B.Pulumi — an IaC tool that defines infrastructure using real programming languages across clouds
  3. C.Pulumi — a file mapping declared resources to real-world infrastructure for tracking changes
  4. D.Pulumi — managing and provisioning infrastructure through machine-readable definition files
Reveal the answer + AI explanation — free account

25. What does terraform plan do?

Junior
  1. A.provisions or updates infrastructure to match the configuration
  2. B.tears down all infrastructure managed by the configuration
  3. C.renames or moves a resource within Terraform state without recreating it
  4. D.shows the changes Terraform will make before applying them
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Junior
  1. A.terraform plan — tears down all infrastructure managed by the configuration
  2. B.terraform plan — provisions or updates infrastructure to match the configuration
  3. C.terraform plan — shows the changes Terraform will make before applying them
  4. D.terraform plan — renames or moves a resource within Terraform state without recreating it
Reveal the answer + AI explanation — free account

28. What does terraform apply do?

Junior
  1. A.renames or moves a resource within Terraform state without recreating it
  2. B.provisions or updates infrastructure to match the configuration
  3. C.tears down all infrastructure managed by the configuration
  4. D.shows the changes Terraform will make before applying them
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Junior
  1. A.terraform apply — provisions or updates infrastructure to match the configuration
  2. B.terraform apply — rewrites Terraform configuration files to a canonical format
  3. C.terraform apply — renames or moves a resource within Terraform state without recreating it
  4. D.terraform apply — brings an existing resource under Terraform management in state
Reveal the answer + AI explanation — free account

Showing 30 of 42 Cloud · IaC & Automation questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Cloud · IaC & Automation free