CompTIA DataX (CNX-001) — Question 61
An organization's Chief Technical Officer is concerned that changes to the network using IaC are causing unscheduled outages. Which of the following best mitigates this risk?
Answer options
- A. Making code changes to the master branch
- B. Enforcing code review of the change by the author
- C. Forking the code repository before making changes
- D. Adding review/approval steps to the CI/CD pipelines
Correct answer: D
Explanation
Adding review/approval steps to the CI/CD pipelines ensures that all changes undergo scrutiny before deployment, significantly reducing the risk of introducing errors that could lead to outages. Other options, such as directly modifying the master branch or forking the repository, do not provide adequate safeguards against potential issues. While code review is beneficial, it is not as effective without the structured process provided by CI/CD pipelines.