350-901 practice question 30 of 35
What are two features of On-Box Python for hosting an application on a network device? (Choose two.)
Full set: 430 questionsDomain Using APIs
On-Box Python on Cisco IOS XE devices operates within a secure, containerized Linux environment known as the Guest Shell. This architecture provides a platform to run custom Python scripts directly on the network device. A key feature of this environment is the inclusion of a Cisco-provided Python cli module. This module grants scripts direct access to the device's Command-Line Interface (CLI), allowing them to execute commands (e.g., show version) and process the output. This enables powerful on-box automation for tasks like monitoring, configuration, and troubleshooting without needing an external controller.
C. Python is a scripting language; it executes Python (.py) scripts. While Python can process XML data, it does not natively "execute" XML scripts.
D. The Guest Shell is a command-line Linux environment. It does not have a graphical subsystem to support GUI toolkits like Qt for building graphical interfaces.
E. On-Box Python runs locally on the device. It interacts directly with the device's internal systems (like the CLI), not through an external controller to access the web UI.
1. Cisco Systems, Inc. (2023). Programmability Configuration Guide, Cisco IOS XE Bengaluru 17.6.x. "On-Box Python" chapter, "Python CLI Module" section. This section explicitly states, "The Python CLI module provides a simple way to run CLI commands from a Python script," and provides the example cli.execute("show version").
2. Cisco Systems, Inc. (2023). Programmability Configuration Guide, Cisco IOS XE Bengaluru 17.6.x. "On-Box Python" chapter, "Guest Shell" section. This section describes the Guest Shell: "The Guest Shell is a containerized Linux environment that is isolated from the host operating system... The Python scripts that are created on the device can be executed using the Guest Shell."
3. Cisco DevNet (2022). Introduction to Guest Shell - IOS XE. This official learning lab documentation states, "Guest Shell is a containerized architecture that provides a virtualized Linux-based environment on the switch... Guest Shell provides a platform to install and run Linux applications and Python scripts."
Keep practicing
Take the free 350-901 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 350-901 practice questions
- Question 2An application has initiated an OAuth authorization code grant flow to get access to an A…
- Question 3A developer is working on an enhancement for an application feature and has made changes …
- Question 4An automated solution is needed to configure VMs in numerous cloud provider environments …
- Question 9A web application is being developed to provide online sales to a retailer. The customers…
- Question 11While developing an application following the 12-factor app methodology, which approach s…
- Question 16A user is receiving a 429 Too Many Requests error. Which scheme is the server employing t…
