Free Updated Cisco 300-610 Actual Exam Questions - Question 5 Discussion
9000 and Nexus 3000 platforms For the NX-SDK application to run the engineer enables the NX-SDK
feature on the device Then the NX-SDK is imported into the application via an import nx_sdk_py
statement. The engineer creates custom CLI commands and defines custom CLI command syntax
within the sdkThread function When CLI commands originate from an NX-SDK application what class
is this?
C imo, it’s the only one that fits handling CLI commands in NX-SDK apps directly.
It’s C because pyCmdhandler is specifically designed to process CLI commands initiated by the NX-SDK app. A and B are more about output and callbacks, and D isn’t really a handler class.
C/D? I’d rule out A and B quickly since printConsole is for output, and postCliCb is more about actions after a command runs. D sounds like some kind of validation utility, not the main handler class. C, pyCmdhandler, fits best as it directly manages the CLI commands from an NX-SDK app. It’s the one that registers and processes those commands, so makes sense to be the class here.
It’s C because pyCmdhandler deals specifically with custom CLI commands in NX-SDK apps. B is more about post-command callbacks, so it doesn’t fit the CLI command origin here.
It’s C, pyCmdhandler is definitely the CLI command handler class here.
Maybe C, looks like a command handler class. B feels like a callback though.