exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 132 discussion

Actual exam question from Cisco's 200-901
Question #: 132
Topic #: 1
[All 200-901 Questions]


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?

  • A. 0
  • B. 1
  • C. 2
  • D. 4
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CTshirt
Highly Voted 3 years, 3 months ago
Selected Answer: C
At first glance it looks like D, but I think it's C because it loops with {orgId} as a variable.
upvoted 5 times
...
daniii89
Most Recent 3 months, 2 weeks ago
Selected Answer: C
Answer: C. 2 Explanation: The Cisco Meraki API manages two organizations. Each organization has two independent networks. The GetAllNetworks function retrieves networks by calling: /organizations/{orgId}/networks This endpoint returns all networks within a specific organization. The diagram shows that GetAllNetworks loops over each organization ID (orgId), meaning one API call per organization. Since there are two organizations, the API will make two calls to /organizations/{orgId}/networks.
upvoted 1 times
...
herrmann69
10 months ago
Selected Answer: 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.
upvoted 2 times
...
kymoni
1 year, 1 month ago
Selected Answer: 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.
upvoted 2 times
...
evilgoat
2 years, 2 months ago
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
upvoted 1 times
evilgoat
2 years, 2 months ago
all though at this point we are into semantics, is 1 operation a time 0 parallel operations or 1?
upvoted 1 times
...
...
mellohello
2 years, 4 months ago
Selected Answer: 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.
upvoted 1 times
...
macxsz
2 years, 11 months ago
Selected Answer: C
It should be 2 for the 2 networks. The organizations are handled in sequence 1 at the time
upvoted 2 times
...
ellyd
3 years, 1 month ago
Why not A? loop is a sequential way not a parallel way
upvoted 4 times
nunyabeez
2 years, 3 months ago
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.
upvoted 1 times
...
...
anagy11
3 years, 1 month ago
Selected Answer: C
It's C, because the question mentions orgId in the URI
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago