1. What does 'Infrastructure as Code' (IaC) mean?
IaC allows you to provision and manage cloud resources using declarative code. This ensures repeatable, version-controlled, and auditable infrastructure management.
Get the Preplance app for a seamless learning experience. Practice offline, get daily streaks, and stay ahead with real-time interview updates.
Get it on
Google Play
4.9/5 Rating on Store
Cloud Basics · Question Set
Cloud Automation interview questions for placements and exams.
Questions
14
Included in this set
Subject
Cloud Basics
Explore more sets
Difficulty
Mixed
Level of this set
Go through each question and its explanation. Use this set as a focused practice pack for Cloud Basics.
IaC allows you to provision and manage cloud resources using declarative code. This ensures repeatable, version-controlled, and auditable infrastructure management.
For complete preparation, combine this set with full subject-wise practice for Cloud Basics. You can also explore other subjects and sets from the links below.
Automation ensures repeatable, error-free configurations and faster deployments. It eliminates manual intervention for tasks like provisioning, scaling, and patching.
Automation tools eliminate repetitive manual steps and ensure consistency. This leads to faster provisioning, predictable outcomes, and reduced operational costs.
AWS CloudFormation allows you to define and provision infrastructure using JSON or YAML templates. It treats infrastructure as code, ensuring consistency across environments.
Terraform by HashiCorp lets you manage infrastructure across AWS, Azure, and GCP. It uses declarative configuration files and tracks resource state for repeatable deployments.
Ansible is an agentless automation tool that uses SSH to configure servers. Its YAML-based playbooks make it simple to read, write, and reuse across environments.
Jenkins automates building, testing, and deploying applications. It integrates with version control systems and cloud services to run complete CI/CD pipelines.
AWS CodePipeline automates build, test, and deployment phases. It integrates with other AWS developer tools or third-party CI/CD systems.
Azure DevOps offers tools for planning, coding, building, testing, and deploying software. It supports CI/CD pipelines, version control, and project tracking in one suite.
Continuous Integration merges code changes frequently and runs automated tests. Continuous Delivery automates deployment to staging or production, ensuring quick, reliable releases with minimal downtime.
Terraform is a multi-cloud open-source tool that uses HCL syntax. CloudFormation is AWS-native and uses JSON or YAML. Terraform is more flexible across providers, while CloudFormation offers deeper AWS integration.
Ansible is used for configuration management, app deployment, and environment setup. In cloud DevOps, it automates repetitive tasks like installing dependencies or updating servers after deployment.
Cloud platforms provide scalability, API-based provisioning, and managed services. This allows DevOps teams to deploy, test, and scale applications rapidly with minimal infrastructure overhead.
A common example is using Jenkins to trigger Terraform scripts after a Git push. This pipeline automatically provisions cloud servers, deploys code, and notifies the team via Slack upon completion.