ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 27 - 300-910 discussion

Report
Export

An interface on a router as a Layer 3 link has been configured to another device by updating an Ansible playbook that is executed via a CI/CD pipeline. The Ansible playbook was written to push the configuration change using the ios_config module. Which automated test validates that the interface is functioning as it should?

A.

Add a pipeline step that runs the playbook a second type. If it does not modify the device on the second run, then the interface is correctly configured.

Answers
A.

Add a pipeline step that runs the playbook a second type. If it does not modify the device on the second run, then the interface is correctly configured.

B.

Automated testing is already built in because the playbook execution is successful only after Ansible validates that it applied the change.

Answers
B.

Automated testing is already built in because the playbook execution is successful only after Ansible validates that it applied the change.

C.

Add a pipeline step that captures and parses the packet flow for the interface.

Answers
C.

Add a pipeline step that captures and parses the packet flow for the interface.

D.

Add a pipeline step that captures and parses the show ip interface output so that the operational state can be referenced.

Answers
D.

Add a pipeline step that captures and parses the show ip interface output so that the operational state can be referenced.

Suggested answer: B

Explanation:

Adding a pipeline step that captures and parses the show ip interface output so that the operational state can be referenced is the best way to validate that the interface is functioning as it should. This can be done by using the ioscommand module to capture the output of the show ip interface command, and then using the iosparse module to parse the output and extract the relevant interface information. The ios_parse module allows you to validate the interface state, to ensure that it is up and running as expected. Reference: Cisco Implementing DevOps Solutions and Practices using Cisco Platforms (DEVOPS) Study Manual, Chapter 6, Section 6.3.6.

asked 10/10/2024
Liam Connelly
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first