Free Cisco 200-901 Actual Exam Questions - Question 12 Discussion
DRAG DROP Refer to the exhibit. Drag and drop the code snippets from the bottom onto the blanks in the Python script to retrieve a list of network devices from Cisco DNA Center. Not all options are used. 
I’d pick the snippet with dnac.devices.get_device() since it directly fits the blank after creating the DNACenter object. Snippets about token or headers aren’t needed here because auth is already handled.
I’d drop anything that looks like it’s handling authentication or token fetching separately since the code already has a DNACenter object. Focus on snippets that just call get_device() directly after.
I’d skip the snippets that don’t show calling the devices API directly. The ones with dnac.devices.get_device() look more straightforward for grabbing the device list here.
I’m ignoring the SDK version since the question and image don’t say. I looked for the simplest way to get devices, so I picked the snippet that calls dnac.devices.get_device(). The others seem more complex or unrelated.
Is the version of the DNAC SDK mentioned anywhere? That might affect which code snippet fits best in the blanks.