nerdexam
Cisco

200-901 · Question #234

Refer to the exhibit. The Cisco Meraki API manages two organizations. In each organization, two independent networks are defined. How many calls to the /organizations/{orgId}/networks endpoint will…

The correct answer is C. 2. The GetAllNetworks function iterates over each organization and calls /organizations/{{orgId}}/networks once per organization. There are 2 organizations, so it makes exactly 2 parallel API calls - one call per orgId. The number of networks within each organization (2 each) is…

Understanding and Using APIs

Question

Refer to the exhibit. The Cisco Meraki API manages two organizations. In each organization, two independent networks are defined. How many calls to the /organizations/{orgId}/networks endpoint will be run parallel by the GetAllNetworks function of the API client?

Exhibit

200-901 question #234 exhibit

Options

  • A0
  • B1
  • C2
  • D4

How the community answered

(44 responses)
  • A
    5% (2)
  • B
    9% (4)
  • C
    84% (37)
  • D
    2% (1)

Explanation

The GetAllNetworks function iterates over each organization and calls /organizations/{{orgId}}/networks once per organization. There are 2 organizations, so it makes exactly 2 parallel API calls - one call per orgId. The number of networks within each organization (2 each) is irrelevant because a single call to the /networks endpoint returns all networks for that org. Therefore, 2 parallel calls are made, not 4 (which would be the case if it called per-network).

Topics

#API client#Parallel API calls#Meraki API#REST API

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice