NEW
Font size
WorksheetsInfrastructure as Code and DevOps Quiz
Total questions: 50
Worksheet time: 25mins
What does IaC stand for?
Internet as Code
Infrastructure as Code
Integration and Configuration
Infrastructure and Compliance
What is the primary benefit of IaC?
Manual server configuration
Consistency across environments
Reduced internet usage
Larger server sizes
Where should infrastructure code typically be stored?
Local hard drive
Cloud storage
Version control system (e.g., Git)
A notepad
Which of the following is a risk of NOT using IaC?
Faster deployments
Inconsistent environments
Automated recovery
Lower costs
Which of these best describes IaC's impact on disaster recovery?
Slows it down
Speeds it up
No impact
Depends on server location
Without IaC, what common issue occurs?
Full automation
"Works on my machine" problems
Instant updates
Lower cloud bills
Which is NOT a key benefit of Infrastructure as Code?
Faster deployments
Increased manual configurations
Improved scalability
Reduced human error
When using IaC, changes can be tracked using:
Email threads
Git repositories
PowerPoint slides
Server logs
What does CI stand for in CI/CD?
Cloud Infrastructure
Continuous Integration
Centralized Information
Controlled Initiatives
What does CD stand for in CI/CD?
Continuous Development
Continuous Delivery
Central Deployment
Code Diagnostics
What is the purpose of Continuous Integration?
Frequently merging code and testing automatically
Deploying every Friday
Testing manually
Reducing deployments
Which benefit is associated with CI/CD?
Slower updates
Early bug detection
Manual processes
Larger server sizes
How does CI/CD affect software release cycles?
Speeds them up
Slows them down
Has no effect
Stops releases
What is the main goal of CI/CD pipelines?
Manual code testing
Automate and accelerate deployments
Create more server configurations
Decrease software quality
A company quickly fixing a checkout bug and deploying it is an example of:
Traditional development
Manual delivery
CI/CD in action
Terraform migration
Which is NOT a goal of CI/CD?
Faster deployments
Consistent environments
Manual approval for every change
Lower error rates
Terraform is a tool for:
Managing cloud resources manually
Infrastructure as Code
Building websites
Coding mobile apps
Terraform's configuration files are written in:
YAML
HCL
JSON
XML
Which clouds does Terraform work with?
Azure
AWS
GCP
All of the above
What does terraform plan do?
Deletes infrastructure
Shows you proposed changes
Backs up your code
Starts new VMs
Before applying changes, Terraform lets you:
Deploy directly
Preview a plan
Archive old projects
Scan for viruses
Which best describes Terraform?
Vendor-locked tool
Azure-only solution
Multi-cloud, open-source IaC tool
Manual cloud management tool
What command do you run to make Terraform apply changes?
terraform check
terraform create
terraform apply
terraform build
Terraform can manage:
Only virtual machines
Networking, storage, VMs, and more
Only AWS resources
Only Kubernetes clusters
Azure Bicep is primarily used for:
Building mobile apps
Simplifying Azure infrastructure deployments
Building websites
Reducing database sizes
Bicep files compile into:
Terraform files
ARM Templates
Kubernetes YAML
Dockerfiles
Compared to ARM templates, Bicep is:
More verbose
Shorter and cleaner
Harder to understand
Only used for AWS
Bicep is mainly used with which cloud?
AWS
GCP
Azure
Oracle Cloud
Which best describes Azure Bicep syntax?
XML-heavy
JSON-like
Clean and concise
Machine code
Which is a real-world benefit of using Bicep?
Harder deployments
Increased code duplication
Faster, easier deployments
Increased downtime
Bicep offers first-class support for:
Kubernetes
Azure CLI and VS Code
Google Cloud SDK
Terraform modules
Even though you write in Bicep, Azure ultimately deploys:
Kubernetes YAML
ARM Templates
Docker Containers
Terraform Files
ARM Templates are written in:
YAML
JSON
XML
HCL
ARM Templates are primarily used for:
Building mobile apps
Defining Azure infrastructure
Managing AWS resources
Networking monitoring
The approach of ARM Templates is:
Procedural
Declarative
Imperative
Interactive
A major downside of ARM Templates is:
Limited resource support
Verbose and complex syntax
No automation capabilities
Unsupported by Azure
ARM Templates integrate best with:
AWS CloudFormation
Azure DevOps
Google App Engine
Docker Compose
What feature does ARM Templates provide to control dynamic deployments?
Hardcoded values only
Parameters and expressions
Only manual editing
No customization
What is a real-world use case for ARM Templates?
Personal blogging
Strict corporate compliance deployments
Game development
IoT device programming
Which statement is true about ARM Templates and Bicep?
Bicep replaces ARM Templates completely
Bicep makes it easier to write ARM Templates
ARM Templates are obsolete
Bicep is not compatible with Azure
Terraform works across:
Only Azure
Only AWS
Azure, AWS, GCP, and more
Only Kubernetes clusters
Bicep is best suited for:
Multi-cloud environments
Azure-only environments
AWS-only deployments
Hybrid data centers
ARM Templates can be described as:
Easiest IaC tool available
Complex but extremely powerful
Vendor-neutral
Used for on-prem servers only
Terraform manages state using:
Local notebooks
Git repositories
External state files
Azure Storage exclusively
Bicep’s biggest advantage over ARM Templates is:
Larger files
Simpler syntax
Slower deployments
Higher licensing costs
Which of these is most true about IaC and DevOps?
They are unrelated fields
IaC enables faster manual setups
IaC is a key pillar of DevOps practices
IaC slows down deployments
Which IaC tool uses HCL language?
Bicep
Terraform
ARM Templates
Azure DevOps
Which language is considered verbose and harder to maintain manually?
Bicep
JSON (ARM Templates)
HCL
YAML
Which Azure tool simplifies the creation of ARM Templates?
Terraform
Bicep
Azure Functions
GitHub Actions
If a company needs true multi-cloud IaC support, which tool should they choose?
ARM Templates
Azure Bicep
Terraform
Azure DevOps
