200-901 exam dumps

200-901 practice question 149 of 204

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

200-901 Question 149

Select 3

A DevOps team is managing network infrastructure using Infrastructure as Code (IaC) principles. They want to ensure the infrastructure setup is consistent, version-controlled, and can be easily replicated across multiple environments. Which of the following practices align with the principles of Infrastructure as Code?

  1. A

    Store configuration files in a version control system like Git

  2. B

    Manually adjust configurations on individual devices for specific needs

  3. C

    Use declarative templates to define infrastructure specifications

  4. D

    Implement automated testing to validate infrastructure changes

  5. E

    Apply configuration changes directly to production without testing

Show answer and explanation

Correct answers: A, C, D

Explanation

Infrastructure as Code (IaC) focuses on automating and standardizing infrastructure management. Practices such as version controlling configuration files, using declarative templates, and implementing automated testing align with IaC principles by ensuring consistency, predictability, and reliability. Manual configuration changes and untested deployments are against IaC principles as they risk inconsistency and errors.

  • A. Correct.

    Correct: Storing configuration files in a version control system ensures changes are tracked, audited, and can be rolled back if necessary. This is a core practice of IaC.

  • B. Incorrect.

    Incorrect: Manually adjusting configurations introduces inconsistency and is contrary to IaC principles, which emphasize automation and repeatability.

  • C. Correct.

    Correct: Using declarative templates allows infrastructure to be defined in a predictable and consistent manner, a fundamental concept of IaC.

  • D. Correct.

    Correct: Automated testing ensures that infrastructure changes do not introduce errors or disruptions, supporting reliability and consistency.

  • E. Incorrect.

    Incorrect: Applying changes directly to production without testing is risky and contradicts IaC principles, which advocate for testing in controlled environments before deployment.

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