Cloud · IaC & Automation interview questions

42 Cloud · IaC & Automation questions from the Cloud bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

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

Answer + AI explanation with Pro

2. Which term means: "managing and provisioning infrastructure through machine-readable definition files"?

Junior
  1. A.AWS CDK
  2. B.Infrastructure as Code
  3. C.Drift Detection
  4. D.Idempotency

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

5. Which term means: "an open-source declarative tool to provision infrastructure across many providers"?

Junior
  1. A.Infrastructure as Code
  2. B.Terraform State
  3. C.Terraform
  4. D.Pulumi

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

8. Which term means: "AWS's native service for defining and provisioning resources via templates"?

Junior
  1. A.CloudFormation
  2. B.Idempotency
  3. C.AWS CDK
  4. D.Infrastructure as Code

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

11. Which term means: "a file mapping declared resources to real-world infrastructure for tracking changes"?

Mid
  1. A.Idempotency
  2. B.CloudFormation
  3. C.Pulumi
  4. D.Terraform State

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

14. Which term means: "the property that applying the same configuration repeatedly yields the same end state"?

Mid
  1. A.Pulumi
  2. B.Idempotency
  3. C.CloudFormation
  4. D.Drift Detection

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

17. Which term means: "identifying differences between deployed infrastructure and its defined configuration"?

Mid
  1. A.Terraform State
  2. B.Idempotency
  3. C.CloudFormation
  4. D.Drift Detection

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

20. Which term means: "a framework to define cloud infrastructure using general-purpose programming languages"?

Senior
  1. A.AWS CDK
  2. B.Infrastructure as Code
  3. C.Idempotency
  4. D.Terraform State

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

23. Which term means: "an IaC tool that defines infrastructure using real programming languages across clouds"?

Senior
  1. A.CloudFormation
  2. B.AWS CDK
  3. C.Idempotency
  4. D.Pulumi

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

26. Which command will shows the changes Terraform will make before applying them?

Junior
  1. A.terraform state mv
  2. B.terraform fmt
  3. C.terraform import
  4. D.terraform plan

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

29. Which command will provisions or updates infrastructure to match the configuration?

Junior
  1. A.terraform fmt
  2. B.terraform import
  3. C.terraform plan
  4. D.terraform apply

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Cloud · IaC & Automation question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers