nerdexam
Cisco

300-435 · Question #1

Which two API calls must be issued to attach a device template in Cisco SD-WAN? (Choose two.)

The correct answer is B. "monitor device action status" GET API request with the process ID to display the status of the attach action D. POST call to initiate the attach action. To attach a device template in Cisco SD-WAN, a POST API call initiates the action, and then a GET API request with the returned process ID is used to monitor the status of that operation.

Controller-Based Network Automation

Question

Which two API calls must be issued to attach a device template in Cisco SD-WAN? (Choose two.)

Options

  • A"monitor device action status" GET API request with the device ID to display the status of the attach action
  • B"monitor device action status" GET API request with the process ID to display the status of the attach action
  • CPUT call to initiate the attach action
  • DPOST call to initiate the attach action
  • EGET call to initiate the attach action

How the community answered

(36 responses)
  • B
    92% (33)
  • C
    3% (1)
  • E
    6% (2)

Why each option

To attach a device template in Cisco SD-WAN, a POST API call initiates the action, and then a GET API request with the returned process ID is used to monitor the status of that operation.

A"monitor device action status" GET API request with the device ID to display the status of the attach action

Monitoring the action status requires a process ID, not a device ID, as the action itself (template attachment) is an asynchronous process tracked by its unique ID.

B"monitor device action status" GET API request with the process ID to display the status of the attach actionCorrect

After initiating an asynchronous operation like template attachment with a POST request, vManage returns a process ID. A subsequent "monitor device action status" GET API request, specifically using this process ID, is then used to query and track the completion status and any results of the template attachment operation.

CPUT call to initiate the attach action

PUT requests are typically used for updating an existing resource, not for initiating a new action or creating a new resource like a template attachment.

DPOST call to initiate the attach actionCorrect

In Cisco SD-WAN vManage API, creating or initiating a new action or resource, such as attaching a device template, typically requires a POST request to the appropriate endpoint. This POST call sends the necessary configuration data for the template attachment.

EGET call to initiate the attach action

GET requests are used to retrieve information or resources, not to initiate actions or create new configurations on the server.

Concept tested: Cisco SD-WAN vManage API device template attachment workflow

Source: https://developer.cisco.com/docs/sdwan/vmanage-api-guide/#!device-template-cli-based-operations/attach-device-template

Topics

#Cisco SD-WAN API#REST API#Device Template Automation#API Workflow

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice