Question 940
A network upgrade at Stonebridge Learning has two requirements: (1) create a new resource through a REST API with a request body, and (2) apply the same network configuration task across devices from an inventory file. Which plan correctly handles both requirements?
Explanation
Correct Answer
Both outcomes are covered: (1) POST commonly submits resource creation or actions with a payload. (2) Ansible inventories and playbooks run repeatable tasks across selected managed devices. Neither action is a substitute for the other.
Incorrect Answers
The second step covers (2), but the first addresses interpret a successful REST resource creation response. HTTP 201 indicates a resource was created, often with a Location header. It leaves outcome (1) unfulfilled.
Neither step is the requested pair: Compare collected device state against desired-state definitions is for detect configuration drift across a fleet after a planned rollout, and Send an authenticated HTTP GET to the resource URI is for retrieve a network device's configuration using a REST endpoint. Desired-state comparison reveals unexpected settings without making manual device-by-device assumptions. The proposed plan misses the two stated outcomes.
The first step covers (1), but the second addresses avoid losing traceability when automation changes routing policy. Versioned automation allows change review, reproducible rollout and rollback. It leaves outcome (2) unfulfilled.