200-901 Exam QuestionsBrowse all questions from this exam

200-901 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?

Show Answer
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

8 comments
Sign in to comment
CTshirtOption: C
Jan 31, 2022

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

ellydOption: D
Apr 2, 2022

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

nunyabeez
Feb 9, 2023

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.

macxszOption: C
Jun 15, 2022

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

kymoniOption: B
Apr 5, 2024

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.

anagy11Option: C
Mar 20, 2022

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

mellohelloOption: D
Dec 25, 2022

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.

evilgoatOption: B
Mar 1, 2023

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
Mar 1, 2023

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

herrmann69Option: B
Jul 17, 2024

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.