nerdexam
CiscoCisco

350-601 · Question #657

350-601 Question #657: Real Exam Question with Answer & Explanation

Sign in or unlock 350-601 to reveal the answer and full explanation for question #657. The question stem and answer options stay visible for context.

Automation

Question

Refer to the exhibit. An engineer must develop a Python script that generates an interface configuration JinJa template called port_config.j2 with values defined in a Python dictionary called int_dict. The generated output must be written to a file called port.conf in the same directory as the Python script. Which line must be added to complete the script and send the interface configuration generated to a Cisco Nexus switch using SSH?

Options

  • Acom = nexus.send_config_from_file('file')
  • Bcom = nexus.send_config_from_file('port.conf')
  • Ccom = nexus.send_config_from_file('int_dict')
  • Dcom = nexus.send_config_from_file('commands')

Unlock 350-601 to see the answer

You've previewed enough free 350-601 questions. Unlock 350-601 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Python Scripting#Jinja2 Templating#Network Automation#Netmiko/SSH Configuration
Full 350-601 PracticeBrowse All 350-601 Questions