nerdexam
Cisco

200-901 · Question #240

Refer to the exhibit. A network engineer must collect information from the network. The engineer prepares a script to automate workflow by using Cisco Meraki API. The script must run over nested…

The correct answer is C. Collect the IDs of the clients on the BLDG21 network. The script uses a three-level nested loop structure: the outermost loop iterates over organizations to locate the ACME organization ID, the middle loop iterates over the networks in that organization to locate the BLDG21 network ID, and the innermost loop uses those collected…

Understanding and Using APIs

Question

Refer to the exhibit. A network engineer must collect information from the network. The engineer prepares a script to automate workflow by using Cisco Meraki API. The script must run over nested loops to collect organization and network information and uses the collected data for final collection. Which process is being automated by using the Python script?

Exhibit

200-901 question #240 exhibit

Options

  • AGather the IDs of the ACME organization, the BLDG21 network, and the dents on the network
  • BProvide the BLDG21 network information if it is part of the ACME organization
  • CCollect the IDs of the clients on the BLDG21 network
  • DList the IDs from the ACME organization

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    76% (29)
  • D
    8% (3)

Explanation

The script uses a three-level nested loop structure: the outermost loop iterates over organizations to locate the ACME organization ID, the middle loop iterates over the networks in that organization to locate the BLDG21 network ID, and the innermost loop uses those collected IDs to query and collect the client IDs on the BLDG21 network. The deepest level of the nested loop - the final data collection - is the primary purpose of the automation. Options A, B, and D describe partial or intermediate steps, but the complete automated workflow culminates in collecting client IDs from the specific network.

Topics

#Cisco Meraki API#Python scripting#API data collection#Network automation

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice