Page 1 out of 11. Viewing questions 1-10 out of 105
Question 1
Refer to the exhibit. A RESTCONF GET request is sent to a Cisco IOS XE device. The base URL of the request and the response in XML format are shown in the exhibit. What is the YANG data node that is referenced in the response?
The YANG data node that is referenced in the question is:
D. routing-instance is a container.
This is because the question explicitly asks what the YANG data node is for routing-instance, and in YANG terms, routing-instance is defined as a container.
The XML structure and RESTCONF response indicate the following:
- route is a list because it allows multiple route entries, each with a unique key (destination-prefix) and associated sub-elements (next-hop, outgoing-interface). - static-routes is a container, as it groups the ipv4 element. - routing-instance is a container, as it contains multiple elements (name, description, etc.).
Question 2
Which path do calls begin with to implement Cisco DNA Center Intent APIs?
Which URI with the request body of Request body: {`name`:`Test`,`organizationId`:<org_id>,`type`:`appliance`} creates a new Meraki network called `Test`, when using APIs?
A.
PUT https://api.meraki.com/api/v0/organizations//networks
B.
POST https://api.meraki.com/api/v0/networks
C.
POST https://api.meraki.com/api/v0/organizations//networks/
D.
POST https://api.meraki.com/api/v0/organizations//networks
D. POST https://api.meraki.com/api/v0/organizations/<org_id>/networks
Explanation: POST is the correct HTTP method for creating a new resource, such as a network. The URI specifies the endpoint for the networks resource under a specific organization (<org_id>), which aligns with how Meraki's API operates. The request body provides the necessary details (name, organizationId, type) for creating a new network. Reference: The provided link aligns with the Meraki Dashboard API documentation, which describes how to create networks under an organization using the /networks endpoint.
Question 4
Refer to the exhibit. NTP server 10.1.1.20 must be configured on the target Cisco IOS XE device without using authentication and logging. Which state should be added on a new line at the end of the Ansible task?
Explanation: Cisco DNA Center webhooks typically use the following properties:
JSON payload: The data sent in webhooks is formatted as JSON, which is a widely accepted format for RESTful APIs. POST method: Webhooks generally use the POST method to deliver data to the specified endpoint.
Other options, such as XML payloads or the PUT method, are not used for Cisco DNA Center webhooks.
Question 8
Which function is available in NETCONF and unavailable in RESTCONF?
A.
configuration changes are automatically activated
DRAG DROP A Cisco DNA Center script must be written to retrieve a list of interfaces on a switch. Drag and drop the API calls that are needed to return the list of interfaces using the Command Running APIs from the left into the correct sequence on the right. Select and Place:
Correct Order: Get device list: Start by retrieving the list of devices managed by Cisco DNA Center to identify the device you want to target. Run read-only commands on devices: Use the Command Runner API to execute a command on the target device to fetch interface details. Get task by ID: Once the command is executed, retrieve the status and details of the task using its ID. Get file by ID: Finally, retrieve the output file of the executed command using the file ID.
Question 10
FILL BLANK Fill in the blank to complete the URL for the Cisco SD-WAN API that retrieves a list of users that are logged into a device.
Explanation: The endpoint dataservice/device/users is used in Cisco SD-WAN (vManage) API to retrieve user information for a specific device. The deviceid query parameter specifies the unique identifier of the device for which the user list is to be fetched.
The YANG data node that is referenced in the question is:
D. routing-instance is a container.
This is because the question explicitly asks what the YANG data node is for routing-instance, and in YANG terms, routing-instance is defined as a container.
The XML structure and RESTCONF response indicate the following:
- route is a list because it allows multiple route entries, each with a unique key (destination-prefix) and associated sub-elements (next-hop, outgoing-interface).
- static-routes is a container, as it groups the ipv4 element.
- routing-instance is a container, as it contains multiple elements (name, description, etc.).