Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco Exam 200-901 Topic 4 Question 70 Discussion

Actual exam question for Cisco's 200-901 exam
Question #: 70
Topic #: 4
[All 200-901 Questions]

Refer to the exhibit.

An administrator attempts to perform a GET operation by using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram in the exhibit illustrates the HTTP messages observed. Which change to the API request resolves the issue?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Donette
4 months ago
I don't think changing the authentication parameter is necessary. The issue seems to be related to the headers.
upvoted 0 times
...
Glen
4 months ago
But what about replacing the -u cisco:cisco parameter with -u 'cisco:cisco'? Could that be the solution?
upvoted 0 times
...
Marla
4 months ago
I agree with Samira. The Content-Type header should be included in the request.
upvoted 0 times
...
Samira
5 months ago
I think the correct change is to add the -H 'Content-Type: application/yang-data+json' header.
upvoted 0 times
...
Aleisha
5 months ago
I'm not sure, but I think B) Replace -u cisco:cisco parameter with -u 'cisco:cisco' could be the solution.
upvoted 0 times
...
Argelia
5 months ago
I disagree, I believe the correct answer is A) Remove the -H 'Accept: application/yang-data+json' header.
upvoted 0 times
...
Nicholle
5 months ago
I think the answer is D) Add the -H 'Content-Type: application/yang-data+json' header.
upvoted 0 times
...
Cletus
6 months ago
Yeah, Option B about adding quotes around the username and password doesn't seem relevant either. That's more of a syntax issue.
upvoted 0 times
...
Rosalyn
6 months ago
Hah, nice one! Though I'm not sure the Cisco engineers would appreciate that. Let's focus on the actual options and try to figure out the right answer.
upvoted 0 times
...
Lyndia
6 months ago
I agree. The question asks about resolving an issue with a GET operation using the Cisco IOS XE RESTCONF API. Let's think this through carefully.
upvoted 0 times
...
Cristal
6 months ago
Haha, you know, if this was a real exam, I'd be tempted to choose the most obscure option just to mess with the graders. Like, 'Add a dancing unicorn emoji to the request headers.'
upvoted 0 times
My
5 months ago
B
upvoted 0 times
...
Delisa
5 months ago
Good call, always best to go with the sensible choice.
upvoted 0 times
...
Krissy
5 months ago
B
upvoted 0 times
...
Peggie
5 months ago
True, but let's stick to the options that actually make sense.
upvoted 0 times
...
Omega
5 months ago
D
upvoted 0 times
...
Wendell
5 months ago
Haha, that would definitely mess with them!
upvoted 0 times
...
Cheryll
5 months ago
A
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77