TA-002-P · Question #11
Which of the following is not a key principle of infrastructure as code?
The correct answer is A. Versioned infrastructure B. Golden images D. Self-describing infrastructure. Key principles of Infrastructure as Code define fundamental characteristics like idempotence, while concepts such as versioned infrastructure, golden images, and self-describing infrastructure, though important, may be considered patterns, outcomes, or broader practices rather th
Question
Which of the following is not a key principle of infrastructure as code?
Options
- AVersioned infrastructure
- BGolden images
- CIdempotence
- DSelf-describing infrastructure
How the community answered
(65 responses)- A92% (60)
- C8% (5)
Why each option
Key principles of Infrastructure as Code define fundamental characteristics like idempotence, while concepts such as versioned infrastructure, golden images, and self-describing infrastructure, though important, may be considered patterns, outcomes, or broader practices rather than core foundational principles by some definitions.
While version control is critical for managing IaC, 'versioned infrastructure' itself is often considered a practice enabled by IaC and source control systems, rather than a foundational technical principle of IaC's operation, which focuses on declarative state and automation.
'Golden images' represent a specific deployment pattern (e.g., using pre-built machine images) commonly used in IaC for immutability, but it is a technique or pattern rather than a universal guiding principle for all IaC implementations.
Idempotence is a core principle of Infrastructure as Code, meaning that applying the same configuration multiple times will consistently result in the same desired state without causing unintended side effects or changes.
While good IaC aims to be clear and understandable, 'self-describing infrastructure' is more of a desired outcome or quality of well-written IaC code, not a fundamental principle governing how IaC tools manage and deploy resources, which prioritize concepts like idempotence and declarative configuration.
Concept tested: Infrastructure as Code principles
Topics
Community Discussion
No community discussion yet for this question.