Courseiva

200-901 Cisco Platforms and Development Practice Question

A developer is creating a Python script to interact with a Cisco NX-OS device using the NX-API. The script will send HTTP requests to the device's management IP. Which command must be configured on the NX-OS device to enable the NX-API feature?

⚠ Common exam trap

The trap here is assuming that enabling the generic HTTP server is sufficient for NX-API, when a specific feature command is required.

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

✓

feature nxapi

On Cisco NX-OS, the NX-API is enabled by entering the global configuration command 'feature nxapi'. This activates the API and allows the device to accept HTTP/HTTPS requests on the management interface. Other commands like 'ip http server' do not provide the NX-API functionality, so they cannot be used as substitutes.

Answer analysis

Option-by-option breakdown

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

  • ✗

    ip http server

    Why it's wrong here

    The 'ip http server' command enables the traditional HTTP server for web-based management, but it does not enable the NX-API. While NX-API uses HTTP/HTTPS transport, it requires the specific 'feature nxapi' command. Using only 'ip http server' would not provide the JSON-RPC or REST API capabilities needed.

  • ✗

    nxapi enable

    Why it's wrong here

    There is no command 'nxapi enable' in NX-OS. The correct syntax uses the 'feature' keyword to turn on the NX-API functionality. Attempting this command would result in an error, and the API would remain disabled, preventing the script from communicating with the device.

  • ✗

    feature http-server

    Why it's wrong here

    The command 'feature http-server' does not exist in NX-OS for enabling NX-API. The correct feature name is 'nxapi'. This option is a distractor that might confuse those familiar with other platforms. Without the correct feature enabled, the NX-API endpoints will not be available.

  • ✓

    feature nxapi

    Why this is correct

    The command 'feature nxapi' enables the NX-API feature on Cisco NX-OS devices. Without this command, the device does not listen for HTTP/HTTPS API requests. This is the correct and required configuration step to allow programmatic access via the NX-API.

About these practice questions

This 200-901 question is part of Courseiva's 975-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Cisco exam blueprint

This 200-901 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 200-901 exam.