exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 358 discussion

Actual exam question from Cisco's 350-401
Question #: 358
Topic #: 1
[All 350-401 Questions]

Refer to the exhibit.

POSTMAN is showing an attempt to retrieve network device information from Cisco DNA Center API. What is the issue?

  • A. The URI string is incorrect.
  • B. The token has expired.
  • C. Authentication has failed.
  • D. The JSON payload contains the incorrect UUID.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Zizu007
Highly Voted 2 years, 6 months ago
Selected Answer: A
With 's' GET https://DNAC:Port//dna/intent/api/v1/network-devices { "response": { "errorCode": "Bad request", "message": "Invalid input request", "detail": "s is not a valid UUID of device" }, "version": "1.0" } without 's' GET https://DNAC:Port//dna/intent/api/v1/network-device { "response": [ { "type": "Cisco 3504 Wireless LAN Controller", "description": "Cisco Controller Wireless Version:8.5.140.0", "serialNumber": "FOL25040021", ------------ lines omitted ----------------------------------------
upvoted 22 times
CCNPWILL
1 year, 7 months ago
... Which means the URI is incorrect. Answer is A.
upvoted 1 times
...
...
VaZi
Highly Voted 3 years, 4 months ago
Selected Answer: D
It should be D. The JSON payload contains the incorrect UUID. 400 - "The client made a request that the server could not understand (for example, the request syntax is incorrect)." https://developer.cisco.com/docs/dna-center/#!get-module-info-by-id A - 404 - Not found (Wrong URL) B,C - 401 - Not authenticated
upvoted 21 times
...
AbdullahMohammad251
Most Recent 9 months, 2 weeks ago
Selected Answer: A
Options B and C use the status code '401 unauthorized' with an error msg 'invalid toke' or 'invalid_grant.' Option D is incorrect because get requests don't typically have a body, UUID are indicated in the URL path of the GET request.
upvoted 1 times
...
[Removed]
1 year ago
Selected Answer: A
A is correct
upvoted 1 times
...
Adnan5252
1 year, 9 months ago
asking these type of question is not right from the cisco they should give full information or full access
upvoted 1 times
...
djedeen
1 year, 9 months ago
Selected Answer: A
Tricky one: 's' at the end of 'network-device' is incorrect, hence the message text 's is not ...' GET /dna/intent/api/v1/network-device/<device_id> ** note no s **
upvoted 3 times
...
PureInertiaCopy
1 year, 9 months ago
ChatGPT: It looks like you've provided a JSON-formatted response. Is there something specific you would like to know or discuss about this JSON response? Please provide more context or ask a question, and I'll be happy to assist you. Me: Does that mean the JSON payload contains the incorrect UUID? ChatGPT: Yes, based on the provided JSON payload, it appears that the response is indicating that the input request contains an invalid UUID (Universally Unique Identifier) for a device. The "errorCode" is set to "Bad request," and the "message" provides the description "Invalid input request," with additional details mentioning that the provided UUID "s" is not a valid UUID for a device. This suggests that the UUID "s" is not recognized as a valid identifier for a device in the context of the system or service that generated this response.
upvoted 1 times
Adnan5252
1 year, 9 months ago
dont ask chapgpt they dumb as hell they just make talk like ok you are right yeah yeah you are right ok does this right ? yeah you saying right so dont chat gt
upvoted 4 times
...
...
Muste
1 year, 11 months ago
at the end of the URl there is "|" if you remove it everything is ok
upvoted 2 times
mgiuseppe86
1 year, 8 months ago
No, i believe that is the typing indicator and the person who took the screenshot had their tpying indicator there while it was blinking on. So A is a BS answer
upvoted 1 times
...
...
msstanick
1 year, 11 months ago
Selected Answer: A
That's another sneaky question as actually both A & D are correct. It is just a matter of what is the root cause and A is as it triggers D. I mean, using an incorrect URI with 's' causes JSON payload to use the UUID of 's' which is incorrect so we get error 400 insread of error 404.
upvoted 3 times
...
Rose66
2 years, 4 months ago
Selected Answer: A
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (for example, malformed request syntax, invalid request message framing, or deceptive request routing). (Source:https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400 )
upvoted 2 times
...
M_Abdulkarim
2 years, 10 months ago
Selected Answer: D
I think answer is D, if URL is incorrect then we should get 404
upvoted 1 times
nopenotme123
2 years, 9 months ago
Wrong. Its A. 400 Bad reqest : The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). This is also taken right out of the book.
upvoted 2 times
...
mgiuseppe86
1 year, 8 months ago
No, i believe that is the typing indicator and the person who took the screenshot had their typing indicator there while it was blinking on. So A is a BS answer
upvoted 1 times
...
...
d3iyu
2 years, 10 months ago
Selected Answer: A
GET /dna/intent/api/v1/network-device
upvoted 3 times
...
dancer1234
2 years, 11 months ago
Selected Answer: A
This is a GET, there is no JSON body
upvoted 4 times
...
johnmcclane78
2 years, 11 months ago
Correct URI: GET /dna/intent/api/v1/network-device GET /dna/intent/api/v1/network-device/<device_id> Source: https://developer.cisco.com/docs/dna-center/#!devices/endpoints-and-methods-used So, A looks correct
upvoted 2 times
...
Jared28
2 years, 11 months ago
Selected Answer: A
As per guide CCNP Enterprise 350-401 ENCOR Cisco Certified Network Professional
upvoted 2 times
...
winder
2 years, 11 months ago
Selected Answer: A
A is correct
upvoted 2 times
...
riccardorossi
2 years, 11 months ago
The final "s" of url "/network-devices" is interpreted as UUID ((should be /network-device/), so the correct answer is A.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...