nerdexam
Cisco

200-901 · Question #218

Refer to the exhibit. Which workflow does the script automate?

The correct answer is C. adds a media server to be monitored. Based on the context of the script (referencing an exhibit with a monitoring API workflow), the code uses an HTTP POST request to a monitoring endpoint, which is the standard RESTful method for creating/adding a new resource. A POST to a monitoring platform's API adds a new…

Infrastructure and Automation

Question

Refer to the exhibit. Which workflow does the script automate?

Exhibit

200-901 question #218 exhibit

Options

  • Aretrieves a media server that is being monitored
  • Bupdates a media server that is being monitored
  • Cadds a media server to be monitored
  • Ddeletes a media server that is being monitored

How the community answered

(39 responses)
  • B
    3% (1)
  • C
    92% (36)
  • D
    5% (2)

Explanation

Based on the context of the script (referencing an exhibit with a monitoring API workflow), the code uses an HTTP POST request to a monitoring endpoint, which is the standard RESTful method for creating/adding a new resource. A POST to a monitoring platform's API adds a new media server to its list of monitored devices. Option A (retrieve) would use an HTTP GET. Option B (update) would use an HTTP PUT or PATCH. Option D (delete) would use an HTTP DELETE. The use of POST indicates a new resource is being created - in this case, adding a media server to be monitored.

Topics

#Automation Scripting#API Interaction#Resource Provisioning#Monitoring Configuration

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice