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…
Question
Refer to the exhibit. Which workflow does the script automate?
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)- B3% (1)
- C92% (36)
- D5% (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
Community Discussion
No community discussion yet for this question.
