Courseiva
AutomationmediumMultiple ChoiceObjective-mapped

350-601 Automation Practice Question

A Python script using the pyATS framework to parse 'show interface' output on a Nexus 9000 switch fails with a parsing error, even though the CLI command runs successfully. What is the most likely missing component?

⚠ Common exam trap

Cisco often tests the distinction between command execution success and parsing success, trapping candidates who assume a working CLI command guarantees pyATS/Genie parsing will work without the correct version-specific parser installed.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The Genie parser for the specific NX-OS version is not installed or imported.

The pyATS framework relies on Genie parsers to convert raw CLI output into structured data. If the Genie parser for the specific NX-OS version is missing or not imported, the script cannot parse the 'show interface' output, resulting in a parsing error even though the CLI command itself runs successfully. This is the most likely missing component because pyATS/Genie parsers are version-specific and must be installed for the exact platform and OS version.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The script does not include the correct authentication method.

    Why it's wrong here

    Authentication failure would prevent the CLI command from running at all, not cause a parse error.

  • The Genie parser for the specific NX-OS version is not installed or imported.

    Why this is correct

    pyATS uses Genie parsers that are version-specific; missing parser leads to parse error.

  • The script uses the wrong device type (e.g., iosxe instead of nxos).

    Why it's wrong here

    Wrong device type would cause connection issues, but not specifically a parsing error after successful command execution.

  • The switch is not configured with NETCONF.

    Why it's wrong here

    pyATS works over CLI (ssh) and does not require NETCONF for parsing show commands.

About these practice questions

One of 984 original 350-601 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-601 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-601 exam.