Question 222 of 500
AutomationmediumMultiple SelectObjective-mapped

Quick Answer

The correct answer identifies XML and JSON as the supported output formats for Cisco NX-API, with HTTP/HTTPS serving as the transport protocol. This is because NX-API is designed as a RESTful interface on Nexus switches, where all API calls are made over HTTP or HTTPS, and the switch can return structured data in either XML or JSON format to suit different automation and scripting needs. On the Cisco DCCOR 350-601 exam, this concept tests your understanding of programmatic device access and is often paired with a distractor that incorrectly lists CLI or SNMP as output formats. A common trap is assuming NX-API only supports JSON, but the exam explicitly validates that both XML and JSON are valid. Remember the memory tip: “NX-API speaks two languages—XML and JSON—over HTTP or HTTPS.”

350-601 Automation Practice Question

This 350-601 practice question tests your understanding of automation. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which TWO statements about Cisco NX-API are correct? (Choose two.)

Question 1mediummulti select
Full question →

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

NX-API uses HTTP/HTTPS as the transport protocol.

Cisco NX-API is a programmatic interface that uses HTTP/HTTPS as the transport protocol, allowing RESTful API calls to configure and monitor Nexus switches. It supports both XML and JSON output formats, enabling flexible data parsing in automation scripts. This makes options C and E correct.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • NX-API uses SSH for transport.

    Why it's wrong here

    NX-API uses HTTP/HTTPS, not SSH.

  • NX-API only supports GET requests.

    Why it's wrong here

    NX-API supports POST, GET, PUT, DELETE.

  • NX-API uses HTTP/HTTPS as the transport protocol.

    Why this is correct

    NX-API is a RESTful API over HTTP/HTTPS.

    Related concept

    Read the scenario before looking for a memorised answer.

  • NX-API is only available on Nexus 3000 series switches.

    Why it's wrong here

    NX-API is available on Nexus 9000, 7000, 3000 series.

  • NX-API can output data in XML and JSON formats.

    Why this is correct

    NX-API supports both XML and JSON.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Cisco often tests the misconception that NX-API uses SSH (like NETCONF) or is limited to specific hardware, when in fact it uses HTTP/HTTPS and is widely supported across Nexus platforms.

Detailed technical explanation

How to think about this question

NX-API exposes a RESTful API that accepts HTTP methods (GET, POST, PUT, DELETE) and returns responses in XML or JSON, as defined by the NX-API REST specification. Under the hood, it translates API calls into NX-OS CLI commands or direct configuration changes, making it ideal for integrating with tools like Ansible or Python scripts. A real-world scenario is automating VLAN provisioning across a fabric of Nexus 9000 switches using JSON payloads over HTTPS.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the 350-601 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 350-601 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 350-601 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 350-601 question test?

Automation — This question tests Automation — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: NX-API uses HTTP/HTTPS as the transport protocol. — Cisco NX-API is a programmatic interface that uses HTTP/HTTPS as the transport protocol, allowing RESTful API calls to configure and monitor Nexus switches. It supports both XML and JSON output formats, enabling flexible data parsing in automation scripts. This makes options C and E correct.

What should I do if I get this 350-601 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.