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
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.
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 **
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.
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
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
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.
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 )
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.
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
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
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
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.
Zizu007
Highly Voted 2 years, 6 months agoCCNPWILL
1 year, 7 months agoVaZi
Highly Voted 3 years, 4 months agoAbdullahMohammad251
Most Recent 9 months, 2 weeks ago[Removed]
1 year agoAdnan5252
1 year, 9 months agodjedeen
1 year, 9 months agoPureInertiaCopy
1 year, 9 months agoAdnan5252
1 year, 9 months agoMuste
1 year, 11 months agomgiuseppe86
1 year, 8 months agomsstanick
1 year, 11 months agoRose66
2 years, 4 months agoM_Abdulkarim
2 years, 10 months agonopenotme123
2 years, 9 months agomgiuseppe86
1 year, 8 months agod3iyu
2 years, 10 months agodancer1234
2 years, 11 months agojohnmcclane78
2 years, 11 months agoJared28
2 years, 11 months agowinder
2 years, 11 months agoriccardorossi
2 years, 11 months ago