展示を参照してください。 エンジニアは、2 つの異なる API 呼び出しを使用して、デバイス上のインターフェイスの数を Cisco DNA Center に照会する Python スクリプトを作成します。エンジニアは、2 つの API 呼び出しが異なる結果を生成することに気付きました。「get_all_interfaces」API 呼び出しを使用すると、同じデバイスに対して返されるインターフェイスの数が少なくなるのはなぜですか。
正解:C
An engineer writes a Python script that uses two different API calls to query Cisco DNA Center for the number of interfaces on a device. The engineer notices that the two API calls produce different results. The fewer interfaces returned for the same device when the 'get_all_interfaces' API call is used can be explained by pagination. A . times out - Incorrect. A timeout would likely result in an error, not fewer results. B. rate limit - Incorrect. Rate limiting would slow down requests but not reduce the number of returned interfaces. C. pagination - Correct. The 'get_all_interfaces' API call might be paginated, meaning it returns results in chunks rather than all at once. D. invalid password - Incorrect. An invalid password would result in an authentication error, not fewer results. Reference: Cisco DevNet DNA Center Platform API Pagination