nerdexam
Cisco

300-910 · Question #51

What is a practice of infrastructure as code?

The correct answer is C. Configure the deployment consistently. A core practice of Infrastructure as Code (IaC) is to consistently configure deployments across various environments by defining infrastructure declaratively through code.

Infrastructure as Code

Question

What is a practice of infrastructure as code?

Options

  • AUse multiple version control systems
  • BDocument as much as possible
  • CConfigure the deployment consistently
  • DTest, integrate, and deploy once a day

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    90% (19)

Why each option

A core practice of Infrastructure as Code (IaC) is to consistently configure deployments across various environments by defining infrastructure declaratively through code.

AUse multiple version control systems

Using multiple version control systems for the same infrastructure code would introduce unnecessary complexity and inconsistency, which contradicts IaC's goal of streamlined management.

BDocument as much as possible

While documentation is always useful, IaC strives for self-documenting code, where the code itself serves as the primary and most accurate documentation of the infrastructure's state, reducing the reliance on external documentation.

CConfigure the deployment consistentlyCorrect

IaC defines infrastructure in a codified, repeatable manner, ensuring that deployments are consistent across development, staging, and production environments. This eliminates configuration drift and enforces a desired state, making deployments reliable and predictable.

DTest, integrate, and deploy once a day

Testing, integrating, and deploying once a day describes Continuous Integration/Continuous Deployment (CI/CD) practices, which are enabled by IaC but are not a practice of IaC itself; IaC defines *how* infrastructure is managed, not the frequency of deployment.

Concept tested: Infrastructure as Code principles

Source: https://learn.microsoft.com/en-us/devops/deliver/what-is-infrastructure-as-code

Topics

#Infrastructure as Code#Consistency#Automation#Configuration Management

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice