exam questions

Exam 300-535 All Questions

View all questions & answers for the 300-535 exam

Exam 300-535 topic 1 question 47 discussion

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


Refer to the exhibit. When YDK is used to interact with Cisco routers, what is the purpose of passing intf_f into the crud_service.read() method?

  • A. The Interfaces() class acts as a NETCONF filter, which limits the data returned to that of the openconfig:interfaces YANG model.
  • B. It provides the data types of the openconfig:interfaces model to the router for dynamic configuration of the interfaces.
  • C. It locks the interfaces from modification by other active NETCONF sessions.
  • D. It passes default values into the crud_service, which reconfigures all interfaces to their default configurations.
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
endermao
Highly Voted 4 years, 1 month ago
Correct answer is A http://ydk.cisco.com/py/docs/api/services/crud_service.html read(provider, filter) Read one or more entities from device (configuration and state). Parameters: provider – ServiceProvider - Provider instance. filter – Entity instance for single container in device model. For multiple containers the Entity instances must be encapsulate in Python list or Filter. Returns: For single entity filter - an instance of Entity as identified by the filter or None, if operation fails. For multiple filters - collection of Entity instances encapsulated into Python list or Config accordingly to the type of filter. Raises: Exception YError, if an error has occurred.
upvoted 11 times
...
Dreamnetdev
Most Recent 8 months ago
Selected Answer: A
crud_service.read(provider, filter) https://ygorelik.github.io/ydk-gen/api/services/crud_service.html
upvoted 1 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 ...