exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 96 discussion

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


Refer to the exhibits above and click on the IETF Routing tab in the top left corner to help with this question. A developer is trying to update the routing instance by adding a new route to the routes list using the URL in the exhibit.
What action must be taken to fix the error being received?

  • A. Fix the body being sent to update the routes list
  • B. Change the HTTP Method being used to make the change
  • C. Change the url to ג€/ietf-routing:routing/routing-instance=defaultג€
  • D. Update the authorization credentials
  • E. Change the URL to ג€/ietf-routing:routing-instance/defaultג€
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
tswinn
Highly Voted 1 year, 8 months ago
Answer is C. You are trying to write in a RO field. You have to append "routing/" to move to the RW field. you can visualize this using pyang. $ pyang -f tree ietf-routing.yang module: ietf-routing +--ro routing-state | +--ro routing-instance* [name] .. +--rw routing +--rw routing-instance* [name]
upvoted 12 times
...
Teringzooi
Most Recent 7 months, 1 week ago
Selected Answer: C
Correct answer: C /ietf-routing:routing/routing-instance=default/ https://algoderedes.com/en/restconf-operational-variables/
upvoted 1 times
...
TenaciousGamer98
7 months, 4 weeks ago
Basically, if you look at https://algoderedes.com/en/restconf-operational-variables/ you can see the ietf-routing module has two containers, one is read only (routing-instance) and the other is read write (routing). In the question the user is trying to make configurations via the read only container hence the error. So switch it to the read write container (Answer C).
upvoted 2 times
...
designated
8 months, 2 weeks ago
https://algoderedes.com/en/restconf-operational-variables/
upvoted 1 times
...
designated
8 months, 2 weeks ago
Selected Answer: C
The current path is incorrect and the correct path is: /ietf-routing:routing/routing-instance=default/
upvoted 1 times
...
QuiShong
10 months, 3 weeks ago
Selected Answer: C
I agree that it is C. Like others said, the initial request tried to write to a RO endpoint (state) and not a RW endpoint
upvoted 1 times
...
ferock
1 year ago
Selected Answer: C
Source: Cisco DEVCOR 350-901 Study Guide IETF is a standards body that builds models through the same process that brings the other IETF standards. OpenConfig is an informal working group of network operators who joined forces to build a set of YANG models that meet their requirements. url_route = \ f"{base}/ietf-routing:routing/routing-instance=default/routing-protocols/" \ f"routing-protocol=static,1/static-routes/ipv4"
upvoted 1 times
...
arturogonzalezgzz
1 year, 8 months ago
I think C is the answer but not because there ir no body,... Its because the container routing-state of the yang module ietf-routing it's not for configuration... it's read only and that's why the error message said "object is not writible". So... the user try a POST request with a JSON body message, but his error is to trying create a routing instance using a read-only container or url.
upvoted 2 times
...
moslig
1 year, 8 months ago
I think this is C, (there is no body)
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago