exam questions

Exam 300-435 All Questions

View all questions & answers for the 300-435 exam

Exam 300-435 topic 1 question 50 discussion

Actual exam question from Cisco's 300-435
Question #: 50
Topic #: 1
[All 300-435 Questions]


Refer to the exhibit. A Python script is used to configure a Cisco IOS XE router. The Loopback2 interface currently has a description of Management2 and an IP address/netmask of 10.222.34.22/32. What is the result of executing the script?

  • A. The interface description remains the same.
  • B. The router rejects all commands and the configuration remains the same.
  • C. The interface is removed from the configuration.
  • D. The interface description is removed from the configuration.
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
Laith_A
Highly Voted 3 years, 6 months ago
D. The interface description is removed from the configuration. look at PUT it replace everything
upvoted 12 times
...
Lyndongarcia09
Highly Voted 3 years, 4 months ago
Correct Answer is D. PUT replaces everything. If you want to replace only a specific item for a particular item, then use PATCH. https://medium.com/@9cv9official/what-are-get-post-put-patch-delete-a-walkthrough-with-javascripts-fetch-api-17be31755d28
upvoted 8 times
...
after_eight
Most Recent 5 months, 2 weeks ago
Selected Answer: D
Just run the given code on my lab, the description is removed !
upvoted 1 times
...
samael666
5 months, 3 weeks ago
Selected Answer: D
To mantain the same description we should use PATCH
upvoted 1 times
...
ThePokemonNuzlockingMaster
1 year, 2 months ago
Selected Answer: D
D is correct, PUT will replace the entire config for that interface so essentially the interface config will be wiped and then re-added based on the "data" given. More happens than just the interface description being removed, but that's the only one of the answers which is correct
upvoted 2 times
...
JoeSun
1 year, 4 months ago
Selected Answer: A
In Cisco IOS XE router rest API, it only use PUT to edit the configuration and it will remain the configuration that the PUT request not mention.
upvoted 1 times
...
john6732
2 years, 11 months ago
D is correct but oh man this is just awful, terrible code.
upvoted 6 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