300-910 · Question #15
Which two statements about Infrastructure as Code are true? (Choose two.)
The correct answer is C. DevOps builds upon Infrastructure as Code. D. Infrastructure as Code is based on practices from software development.. Infrastructure as Code (IaC) serves as a foundational practice for DevOps and applies principles from software development to manage infrastructure.
Question
Options
- ATest-driven development practices make use of Infrastructure as Code.
- BInfrastructure as Code refers to automated testing libraries.
- CDevOps builds upon Infrastructure as Code.
- DInfrastructure as Code is based on practices from software development.
- EInfrastructure as Code must use the same programming language as the application.
How the community answered
(30 responses)- B3% (1)
- C93% (28)
- E3% (1)
Why each option
Infrastructure as Code (IaC) serves as a foundational practice for DevOps and applies principles from software development to manage infrastructure.
While TDD can be applied to IaC, it's not a universal characteristic that TDD *makes use of* IaC; rather, IaC can be developed with TDD principles.
Infrastructure as Code is about managing and provisioning infrastructure through code, not specifically about automated testing libraries, although IaC can be tested using automation.
DevOps heavily relies on Infrastructure as Code because IaC enables automation, version control, and reproducible environments for infrastructure, which are core tenets of continuous delivery and operations within a DevOps framework. It streamlines the provisioning and management of environments.
Infrastructure as Code applies software development practices like version control, code review, testing, and continuous integration/delivery to infrastructure management, treating infrastructure configurations as programmatic code. This brings discipline and reliability to infrastructure provisioning.
Infrastructure as Code does not require using the same programming language as the application; it often uses domain-specific languages (DSLs) like YAML for CloudFormation or HCL for Terraform, which are distinct from application languages.
Concept tested: Infrastructure as Code principles, DevOps relationship
Source: https://docs.microsoft.com/en-us/azure/devops/learn/what-is-infrastructure-as-code
Topics
Community Discussion
No community discussion yet for this question.