Which of the following is not a key principle of infrastructure as code?
Which of the following is not a key principle of infrastructure as code?
Infrastructure as Code (IaC) is a practice that involves managing and provisioning computing infrastructure through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools. Key principles of IaC include versioned infrastructure, idempotence, and self-describing infrastructure. Versioned infrastructure ensures that changes and configurations are tracked through version control systems. Idempotence means that applying the infrastructure code multiple times will produce the same result. Self-describing infrastructure refers to using declarative languages to describe the desired state of the infrastructure. 'Golden images' refer to pre-configured system images used for quick server deployment, which are not inherently related to the principles of IaC. Instead, IaC focuses on defining and managing infrastructure through code, making 'Golden images' not a key principle of IaC.
Sorry but here is asking which is NOT a key principle. I think the answer is B, golden Image
B is correct. Even if you're not sure, you can eliminate the others A - is a principle (think of the case when you store the state in an S3 bucket and it gets versioned) B - is NOT a principle (where in terraform documentation is mentioned anything related to images) C - it is a principle by definition of what terraform does D - is a principle as you use declarative language -> infrastructure describes itself
Golden images are not a key principle of infrastructure as code (IaC). Golden images refer to a pre-configured and standardized system image that contains all the necessary software and settings to run a particular application or service. While they are commonly used in traditional server management and virtualization, they are not inherently related to infrastructure as code.
Golden images refer to pre-configured, fully patched system images that are used to quickly deploy new servers. While golden images can be useful for speeding up server provisioning, they are not a key principle of infrastructure as code.
Answer:B B. Golden Images: While golden images (pre-configured images for server deployments) are used in infrastructure management, they are not considered a key principle of IaC. IaC focuses on defining infrastructure through code that can be versioned, reused, and managed as part of application development workflows. Relying solely on golden images does not fully embrace the dynamism and flexibility offered by IaC practices, as it leans more towards a traditional, immutable infrastructure approach.
B. Golden images: While golden images are a common concept in traditional infrastructure management, they are not a key principle of infrastructure as code. IaC focuses on defining and managing infrastructure through code rather than relying on pre-configured images.
The other 3 options can be associated with the principle.
I vote B because not only is a "golden image" not a key principle but, I would argue, in conflict with the idea behind IaC.
Agree with B
Golden images are not a key principle of infrastructure as code (IaC). Instead, golden images are a concept related to traditional server provisioning and management.
B. Golden images
B Golden image
Golden image is not part of IaC. For more info see https://developer.hashicorp.com/well-architected-framework/operational-excellence/operational-excellence-tao
B is the only answer here that is not a key principle
agree B
B is correct - Golden image
Only one option can be selected as the question is asking for a principle that is not a key principle of infrastructure as code. Based on that, the answer would be: B. Golden images