exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 386 discussion

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


Refer to the exhibit. After the code is run on a Cisco IOS-XE router, the response code is 204. What is the result of the script?

  • A. The configuration fails because interface GigabitEthernet2 is missing on the target device.
  • B. Interface GigabitEthemet2 is configured with IP address 10.10.10.1/24.
  • C. The configuration fails because another interface is already configured with IP address 10.10.10.1/24.
  • D. The configuration is successfully sent to the device in cleartext.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Darude
Highly Voted 2 years, 9 months ago
Selected Answer: B
Provided answer is correct https://ultraconfig.com.au/blog/restconf-tutorial-everything-you-need-to-know-about-restconf-in-2020/ please don't comment if you havent reference to prove it.
upvoted 16 times
...
Manvek
Highly Voted 2 years ago
Selected Answer: B
HTTP code 2xx means the request was successful. This discard but A and C as possible answers. 204 (No content) indicates the server fulfilled the request but has no body to return. Looking at the script, it just ask to configure the equipment and it expect no response, so B is the answer.
upvoted 7 times
...
1_SL
Most Recent 1 year ago
Codes in 2xx means the action is executed (take options A and C out) 200 means everything went successful as intended (common postman code) I don't know what 204 code is but between B and D, 204 is slightly away from what option D says
upvoted 1 times
...
KZM
1 year, 6 months ago
The script should (with single code). 'address' : '10.10.10.1' instead of 'address" : '10.10.10.1' It may be a typo.
upvoted 1 times
...
dragonwise
2 years, 4 months ago
Selected Answer: D
Code: 204 Status Name: No Content Description: The request has succeeded, but the response has no additional information to send
upvoted 3 times
mhizha
2 years, 3 months ago
The problem with D is that the script is using HTTPS and that will discredit the "clear test part"
upvoted 2 times
...
Just_little_me
1 year, 8 months ago
D = The configuration is successfully sent to the device in cleartext. <-- its https so how can it be in cleartext
upvoted 1 times
...
...
kewokil120
2 years, 7 months ago
Selected Answer: B
B , 2xx = success
upvoted 3 times
...
Fadhelben
2 years, 7 months ago
Selected Answer: B
Given answer is correct. From RFC 7231 Section 6.3.5: The 204 (No Content) status code indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response payload body. Metadata in the response header fields refer to the target resource and its selected representation after the requested action was applied.
upvoted 4 times
...
dogdoglee
2 years, 8 months ago
Selected Answer: B
B , 2xx = success
upvoted 3 times
...
Stylar
2 years, 8 months ago
Selected Answer: B
Guys.. 2xx HTTP range means a successful attempt. B is the correct one here.
upvoted 2 times
...
Ciscopass
2 years, 9 months ago
Selected Answer: B
2xx http codes mean success. B is correct
upvoted 2 times
...
iGlitch
2 years, 9 months ago
Selected Answer: B
2xx http codes mean success, so A and C are wrong. D says clear text which is wrong because of the (application/yang-data+json header). Therefor B is the correct answer.
upvoted 3 times
...
onkel_andi
2 years, 10 months ago
Selected Answer: A
204 no content.
upvoted 2 times
network_gig
2 years, 9 months ago
404 is no content.
upvoted 1 times
AndreasThornus
2 years, 8 months ago
404 is not found. 204 means the action was succesful but there is no response content to return.
upvoted 5 times
...
...
...
Wooker
2 years, 10 months ago
Selected Answer: A
Answer: A
upvoted 1 times
...
tckoon
2 years, 10 months ago
Selected Answer: A
configuration failed because of Ge2 is not found in device 204 No Content There is no content to send for this request, but the headers may be useful. The user agent may update its cached headers for this resource with the new ones.
upvoted 2 times
MerlinTheWizard
2 years, 6 months ago
Nope.. 2xx are messages for success. "The 204 (No Content) status code indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response payload body." - Body is empty because there is nothing more to say. This eliminates A/C. And of course, restconf uses HTTPS, so D is no-go as well.
upvoted 3 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 ...