exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 183 discussion

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


Refer to the exhibit. Information was obtained by using RESTCONF and querying URI /restconf/data/ietf-interfaces:interfaces.
Which RESTCONF call and which JSON code enables GigabitEthernet2? (Choose two.)
A.

B.

C.

D.

E.

F.

Show Suggested Answer Hide Answer
Suggested Answer: CD

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
udo2020
Highly Voted 3 years, 4 months ago
I agree with CD
upvoted 6 times
...
samael666
Most Recent 5 months ago
all wrong, the correct RESTCONF is /restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet2, and the correct JSON payload will be "{ "ietf-interfaces:interface": { "name": "GigabitEthernet2", "type": "iana-if-type:ethernetCsmacd", "enabled": true } }"
upvoted 1 times
...
Amycert
9 months ago
C and D, very obvious. only D has enabled=true, and only C has the correct format
upvoted 1 times
...
mimimi
1 year, 10 months ago
It is AC without a doubt, check here: https://www.routerfreak.com/using-restconf-for-network-automation/
upvoted 1 times
kirrim
1 year, 8 months ago
I agree with you for the RESTCONF call (C) For the JSON data: (A) specifically says "enabled": false, and the question is asking you to enable the interface. You need the answer that says "enabled": true (there's only one, D) C & D provided answers are correct
upvoted 3 times
...
...
Ietsmeteennaam
2 years ago
I do not believe answer D is correct, I think it should be answer A, based on for example https://www.postman.com/ciscodevnet/workspace/cisco-devnet-s-public-workspace/request/3224967-b421a9bf-ff38-4488-b4fb-7f9230a45206
upvoted 1 times
Ietsmeteennaam
2 years ago
And also, because interface is a list, and you can't edit information on a list.
upvoted 1 times
...
...
Teringzooi
2 years, 8 months ago
I agree with C & D JSON { "ietf:interface": { "name": "GigabiEthernet2", - string "type": "iana-if-type:ethernetCsmacd", "enable": "true" boolean } } https://host/restconf/data/module:yang-model/element/sub-element=key_list
upvoted 4 times
...
designated
2 years, 9 months ago
C and D are correct: RESTCONF SYNTAX https://host/restconf/data/module:yang-model/element/sub-element=key_list JSON { "ietf:interface": { "name": "GigabiEthernet2", - string "type": "iana-if-type:ethernetCsmacd", "enable": "true" boolean } }
upvoted 4 times
...
fmexican
2 years, 11 months ago
I would say DF
upvoted 1 times
Safinok
2 years, 8 months ago
Check question #215 and you will find out that you are incorrect :) Correct answer is C and D.
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 ...