Question 470
At fictional Thornwick Health Trust, during a remote branch provisioning pilot, the operator observes: A Cisco asset API returns a continuation link, but a script ignores it and stops after the default page size. What ongoing engineering assurance should follow the successful fix?
Explanation
Correct Answer
Add multi-page integration tests and monitor continuation tokens and retrieved counts on every scheduled inventory run. This prevents the recurrence because many platform APIs paginate large result sets; the first HTTP success response may contain only a subset. A matching immediate correction is: Follow the API's documented cursor or Link continuation until exhaustion, merging results while protecting against repeated cursors. Applied here, the relevant facts are: A Cisco asset API returns a continuation link, but a script ignores it and stops after the default page size. The question asks what ongoing engineering assurance should follow the successful fix.
Incorrect Answers
The suggested review tracks a different technical risk: aPI clients must validate human and external inputs independently of server-side validation to avoid unsafe or unintended changes. Here the sustained control must address: many platform APIs paginate large result sets; the first HTTP success response may contain only a subset. Choose “Add multi-page integration tests and monitor continuation tokens and retrieved counts on every scheduled inventory run”.
This routine guards against another mechanism: yANG distinguishes configuration intent from read-only operational state; successful config writes do not establish runtime protocol health. The recurring exposure in the current case is: many platform APIs paginate large result sets; the first HTTP success response may contain only a subset. The matching preventive check is “Add multi-page integration tests and monitor continuation tokens and retrieved counts on every scheduled inventory run”.
The suggested review tracks a different technical risk: rESTCONF manipulates YANG-defined resources over HTTP; both resource paths and payload media encoding must match the model. Here the sustained control must address: many platform APIs paginate large result sets; the first HTTP success response may contain only a subset. Choose “Add multi-page integration tests and monitor continuation tokens and retrieved counts on every scheduled inventory run”.