nerdexam
Cisco

350-401 · Question #1101

Refer to the exhibit. An administrator writes a script to fetch the list of devices that are registered with Cisco DNA Center. Why does the execution abort?

The correct answer is B. The username or the password is incorrect. The script failed to fetch devices from Cisco DNA Center likely due to incorrect authentication credentials supplied in the request.

Submitted by akirajp· Mar 6, 2026Automation

Question

Refer to the exhibit. An administrator writes a script to fetch the list of devices that are registered with Cisco DNA Center. Why does the execution abort?

Exhibits

350-401 question #1101 exhibit 1
350-401 question #1101 exhibit 2

Options

  • AThe TLS certificate of DNA Center is invalid
  • BThe username or the password is incorrect
  • CThe "dna-center" hostname cannot be resolved to an IP address
  • DThe authentication URL is incorrect

How the community answered

(31 responses)
  • A
    16% (5)
  • B
    55% (17)
  • C
    23% (7)
  • D
    6% (2)

Why each option

The script failed to fetch devices from Cisco DNA Center likely due to incorrect authentication credentials supplied in the request.

AThe TLS certificate of DNA Center is invalid

While an invalid TLS certificate can cause connection issues, the error would typically be a certificate validation error or handshake failure, distinct from a general authentication abort indicating credential failure.

BThe username or the password is incorrectCorrect

API requests to Cisco DNA Center require valid user credentials (username and password) for authentication. If the provided username or password in the script is incorrect, the DNA Center API will reject the authentication attempt, causing the script to abort with an authentication failure due to unauthorized access.

CThe "dna-center" hostname cannot be resolved to an IP address

If the hostname 'dna-center' could not be resolved, the script would fail with a DNS resolution error or host unreachable error before attempting any authentication.

DThe authentication URL is incorrect

An incorrect authentication URL would lead to a 404 Not Found error or a different API endpoint error, rather than a direct abort primarily related to authentication credentials.

Concept tested: Cisco DNA Center API authentication errors

Source: https://developer.cisco.com/docs/dna-center/#!get-started-with-cisco-dna-center-platform-apis

Topics

#Cisco DNA Center#API authentication#Scripting troubleshooting

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice