Implementing DevOps Solutions and Practices Using Cisco Platforms (DEVOPS) — Question 90
A precheck validation is being designed for the network state in a Cl/CD pipeline This design requires:
• the CI/CD pipeline to spin up test instances.
• instances must be used to validate changes.
• changes must be validated prior to a continuous deployment workflow, and
• then push the changes to production
How should the pipeline target the required environment?
Answer options
- A. Use separate CI servers for each environment
- B. Use different pipelines for each environment
- C. Use separate Git repositories for each environment
- D. Use different inventory files for each environment
Correct answer: D
Explanation
The correct answer is D because using different inventory files allows the pipeline to specify configurations and resources for each environment seamlessly. Options A and B are not ideal as they add unnecessary complexity and management overhead. Option C is also less efficient since managing multiple repositories can complicate source control and deployment processes.