nerdexam
Cisco

300-610 · Question #123

A customer asks an engineer to develop a framework to configure Cisco services that will be used to replace process of manual device configuration. The engineer plans to use a programmatic interface a

The correct answer is A. Python scripts B. REST calls. Python scripts: Cisco NX-OS natively supports Python scripting, which is easy to read and write, and well-suited for automation tasks with strong community support. Python can easily handle authentication and HTTPS transport using libraries like requests or urllib3. This matches

Automation Design

Question

A customer asks an engineer to develop a framework to configure Cisco services that will be used to replace process of manual device configuration. The engineer plans to use a programmatic interface and must keep these considerations in mind:

  • The customer's environment requires the script to authenticate before

executing further actions.

  • The customer's security requirements mandate the use of HTTPS

transport.

  • The support stall has limited shell scripting knowledge, so the

scripts should be easy to read and write and be serf-documenting. Which two solutions should be used to meet these requirements? (Choose two.)

Options

  • APython scripts
  • BREST calls
  • CBash scripts
  • Ddomain-based policies
  • EYAML

How the community answered

(37 responses)
  • A
    81% (30)
  • C
    11% (4)
  • D
    3% (1)
  • E
    5% (2)

Explanation

Python scripts: Cisco NX-OS natively supports Python scripting, which is easy to read and write, and well-suited for automation tasks with strong community support. Python can easily handle authentication and HTTPS transport using libraries like requests or urllib3. This matches the requirement of low shell scripting knowledge and self-documenting code. REST calls: Cisco devices provide REST APIs that support HTTPS transport and authentication mechanisms. REST API calls can be made from Python scripts (or other clients) to programmatically configure Cisco devices, making this a widely used and secure automation

Topics

#Network automation#Python scripting#REST API#HTTPS

Community Discussion

No community discussion yet for this question.

Full 300-610 Practice