Exam 200-901 All QuestionsBrowse all questions from this exam
Question 132

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?

    Correct Answer: B

    The number of calls to the /organizations/{orgId}/networks endpoint that will be run in parallel by the GetAllNetworks function of the API client is 1. This is because the synchronous operations are organized in a loop, iterating over each organization (orgId) sequentially. Given that the solid arrowheads and arrows with dotted lines signify synchronous calls and responses, it confirms that only one call is processed at any given moment. Therefore, only one call to the endpoint will run in parallel by the API client.

Discussion
CTshirtOption: C

At first glance it looks like D, but I think it's C because it loops with {orgId} as a variable.

ellydOption: D

Why not A? loop is a sequential way not a parallel way

nunyabeez

This is my thought as well. It doesn't seem like any parallel operations should be happening. It iterates once per orgId. It doesn't call the API for both of them at the same time.

kymoniOption: B

B is correct. There are 2 organizations, each has 2 networks. The calls are being made to "organizations" (probably getting a list of networks for each org), not to "networks" directly. The loop is iterating per "orgId", so there will be 2 calls in total, each call will be done when the previous one finishes. The answer: 1 call will be run in parallel by the GetAllNetworks function - option B.

macxszOption: C

It should be 2 for the 2 networks. The organizations are handled in sequence 1 at the time

herrmann69Option: B

I would pick B. There are 2 calls in total, one for each organization to get all networks for that org. The number of networks itself doesn't matter (unless you run into pagination which the default is 1000 networks). These 2 calls are done sequentially and synchronously (solid arrowhead) in a loop. So 2 calls in total, 1 at a time.

evilgoatOption: B

solid arrow head and arrow with dotted line indicate a synchronous call and synchronous response. synchronous operations are blocking and only one can run at a time, meaning that the answer is B, 1 at a time

evilgoat

all though at this point we are into semantics, is 1 operation a time 0 parallel operations or 1?

mellohelloOption: D

The GetAllNetworks function of the API client will run four calls to the /organizations/{orgId}/networks endpoint in parallel. There are two organizations defined, and each organization has two independent networks defined. Therefore, four calls will be run in parallel to retrieve the networks for both organizations.

anagy11Option: C

It's C, because the question mentions orgId in the URI