200-901 exam dumps

200-901 practice question 148 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 148

Single answer

A DevOps team is tasked with managing the deployment of network configurations across multiple environments (development, staging, and production). They want to ensure consistency, repeatability, and minimal manual intervention in the process. Which practice, aligned with the principles of Infrastructure as Code (IaC), should they adopt?

  1. A

    Write configuration scripts that are version-controlled and automatically applied using CI/CD pipelines.

  2. B

    Manually configure each environment to ensure unique settings for each deployment.

  3. C

    Use graphical user interfaces (GUIs) for manual provisioning and management of infrastructure.

  4. D

    Leverage infrastructure automation tools to define configurations in a declarative or imperative manner.

Show answer and explanation

Correct answer: A

Explanation

Infrastructure as Code (IaC) is a practice that involves managing and provisioning infrastructure through machine-readable configuration files, rather than manual processes. By version-controlling scripts and using CI/CD pipelines, teams can ensure consistent, repeatable deployments across environments, adhering to IaC principles.

  • A. Correct.

    This is correct because writing version-controlled configuration scripts and automating their deployment aligns with Infrastructure as Code principles, ensuring consistency and repeatability.

  • B. Incorrect.

    Manually configuring environments contradicts the principles of Infrastructure as Code, which emphasizes automation and repeatability to reduce human error.

  • C. Incorrect.

    Using GUIs for manual provisioning is not scalable and does not align with Infrastructure as Code, which focuses on defining infrastructure programmatically.

  • D. Incorrect.

    While using automation tools is part of IaC, the question specifically focuses on applying configurations consistently across environments, which requires version control and CI/CD pipelines.

Timed practice exam

Take a 200-901 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam