Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 11


Which of the following is not a key principle of infrastructure as code?

Show Answer
Correct Answer: B

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.

Discussion

40 comments
Sign in to comment
ItaloVinodi
May 13, 2022

Sorry but here is asking which is NOT a key principle. I think the answer is B, golden Image

alexik96
Oct 3, 2022

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

nharazOption: B
Sep 24, 2024

B. Golden images "Golden images" refers to a specific method of deployment where a pre-configured image of an operating system or application is stored and used as a base for all new deployments. This method is not a key principle of Infrastructure as Code, but it is a common method of deployment in traditional IT environments. Infrastructure as Code is based on the following key principles: A. Versioned infrastructure - The infrastructure is treated as code and is version controlled, allowing for auditing, rollback, and collaboration. C. Idempotence - The infrastructure is provisioned in a repeatable and predictable manner, making it possible to run the provisioning scripts multiple times without creating additional resources or causing changes to existing resources. D. Self-describing infrastructure - The code used to provision the infrastructure is human-readable and self-documented, making it easier to understand and maintain over time.

Eniras
May 5, 2022

Answer A,B, D. Idempotency means no matter how many times you run your IaC and, what your starting state is, you will end up with the same end state. This simplifies the provisioning of Infrastructure and reduces the chances of inconsistent results.

Ahmad_Terraform
Jun 22, 2022

B is correct ,

GodofAzureOption: B
Jun 28, 2022

its b, its asking what is not

RVivekOption: B
Sep 15, 2022

Other points defenitely part of IaC

icebox0eOption: B
Oct 15, 2022

The answer is B

SilentMilliOption: B
Mar 12, 2023

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.

BereOption: B
Sep 24, 2024

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.

vitasac
May 15, 2022

Yes I'm Agree with Italo answer B

Kowser
May 24, 2022

i think answer is B

petliura
May 25, 2022

ACD - are indeed the key principles of IaC. The correct answer is B.

CedhulkOption: B
Jun 17, 2022

Just B

AnonymousOption: B
Jun 20, 2022

The correct ans is B

habbypat123
Jun 21, 2022

The correct answer is B - Golden Image

vibzr2023
Sep 24, 2024

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.

samimshaikh
Sep 24, 2024

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.

RamDJEOptions: ABD
May 1, 2022

correct

javibadilloOptions: ABD
May 24, 2022

A,B,D is correct

Anonymous
Jun 20, 2022

The question is "Which of the following is not", it cannot be ABD as they are principles of IaC. The correct ans is B

Zam88Options: ABD
Jun 21, 2022

correct answer

Zam88
Jun 23, 2022

correction answer should be B

EltoothOption: B
Jun 26, 2022

B is correct answer.

svsilence
Jul 10, 2022

B golden image.

geekneek
Aug 16, 2022

I vote B. Golden Images.

capt2101akashOption: B
Dec 13, 2022

All the others are features of IAC

oab720Option: B
Dec 21, 2022

Has to "be"

alexsandroeOption: B
Feb 25, 2023

it not possible create golden image from terraform, thats, is an other tools from hashicorp

Nunyabiznes
Mar 19, 2023

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

Power123
Mar 28, 2023

B is correct - Golden image

connecttozee
Apr 3, 2023

agree B

Shane_COption: B
Jul 4, 2023

B is the only answer here that is not a key principle

foreverlearnerOption: B
Jul 5, 2023

Golden image is not part of IaC. For more info see https://developer.hashicorp.com/well-architected-framework/operational-excellence/operational-excellence-tao

Busi57Option: B
Jul 23, 2023

B Golden image

Jayanth
Jul 28, 2023

B. Golden images

gofavad926Option: B
Sep 29, 2023

Agree with B

starkonbulletOption: B
May 17, 2024

The other 3 options can be associated with the principle.

fasaleAkshay
Sep 22, 2024

B. Golden images Explanation: Golden images refer to pre-configured, machine images (such as VM snapshots) that contain all necessary software and configurations. While golden images are used in infrastructure provisioning, they are not a key principle of Infrastructure as Code (IaC), especially in Terraform.

fasaleAkshayOption: B
Sep 24, 2024

B. Golden images Explanation: Golden images refer to pre-configured, machine images (such as VM snapshots) that contain all necessary software and configurations. While golden images are used in infrastructure provisioning, they are not a key principle of Infrastructure as Code (IaC), especially in Terraform.

BadiiOption: B
Sep 24, 2024

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.

SilentHOption: B
Sep 24, 2024

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.