exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 58 discussion

Actual exam question from Cisco's 200-901
Question #: 58
Topic #: 1
[All 200-901 Questions]

Which action resolves a 401 error in response to an HTTP GET that is issued to retrieve a configuration statement using RESTCONF on a CSR 1000V?

  • A. Change the HTTP method to PUT.
  • B. Check the MIME types in the HTTP headers.
  • C. Change the transport protocol to HTTPS.
  • D. Check the authentication credentials.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Requium
Highly Voted 4 years ago
D..401 is for Unauthorized
upvoted 37 times
working_on_hcip
9 months, 2 weeks ago
401 for authentication 403 for authorization
upvoted 2 times
...
...
Alan2036
Highly Voted 4 years ago
I agree with D
upvoted 15 times
...
Tejas007
Most Recent 3 months ago
Selected Answer: D
Option D is right.
upvoted 1 times
...
moha413
1 year, 5 months ago
Selected Answer: D
The 401 (Unauthorized) status code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
upvoted 1 times
...
macxsz
2 years, 1 month ago
Selected Answer: D
401: unauthorized. Answer is D
upvoted 1 times
...
SAGA
3 years, 4 months ago
RESTCONF works on HTTP or HTTPS https://developer.cisco.com/docs/standard-network-devices/#!enabling-restconf-on-ios-xe/addressing-and-ports
upvoted 3 times
...
blinksink
3 years, 6 months ago
Tested this on Postman against CSR1K sandbox: HTTP+right auth creds===> 400 Bad request HTTPS+bad auth creds===> 401 Unauthorized HTTP+bad auth cred===> 400 Bad request I am inclined to D, I think they just used HTTP GET to specify the method because I dont recall seeing HTTPS GET or HTTPS POST anywhere.
upvoted 4 times
...
uzbin
3 years, 6 months ago
Answer is D. http 401 = UNAUTHENTICATED.
upvoted 1 times
...
garcesdavid88
3 years, 8 months ago
I think is D
upvoted 1 times
...
nlakhani
3 years, 9 months ago
D is the correct answer
upvoted 1 times
...
5tuple
3 years, 9 months ago
I would say the correct answer is D. The reason why I got the conclusion is that, by default, ISO XE needs to use HTTPS verbs. From documentation: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/167/b_167_programmability_cg/restconf_programmable_interface.html#concept_hjq_bgx_51b "Step 4 Device(config)# ip http secure-server Enables a secure HTTP (HTTPS) server." "Example: Configuring the RESTCONF Protocol RESTCONF Requests (HTTPS Verbs):"
upvoted 1 times
...
TechBrain
3 years, 10 months ago
Tested in the lab. The right answer is D.
upvoted 3 times
...
Philbert919
3 years, 11 months ago
its a typical cisco question ... restconf is used what transport does restconf use? (https)
upvoted 3 times
73173v2
3 years, 9 months ago
Yeap, here we can verify that RESTCONF uses HTTPS, so http should not work RESTCONF runs over HTTPS. The following commands must be enabled to support RESTCONF over port 443: https://developer.cisco.com/docs/ios-xe/#!enabling-restconf-on-ios-xe/authentication
upvoted 1 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 ...