Q: 2
[Security Concepts] Which Cisco DNA Center Intent API action is used to retrieve the number of devices known to a DNA Center?
Options
Discussion
Its B. Had something like this in a mock and the endpoint without '/count' gave device details as well as a total device number in the response payload. I think just calling the network-device endpoint gets you what you need. Might be missing a detail here but pretty sure that's how it went.
Nah, I don’t think it’s B. A is the only one with /network-device/count, which is how you get just the device count without all the details. B returns device info instead, easy to mix up here.
A tbh, the "/network-device/count" endpoint is made just for getting the count, so B is a distractor here.
Call it A. The /count at the end specifically returns just the device count, not the full device objects. If you only want the number and nothing else, this is the more efficient API call. Correct me if I’m missing something.
I don’t think it’s B. A
B tbh, saw something like this in exam reports. The network-device endpoint usually gives info on all devices including the total count in the response, so you wouldn't need /count. Pretty sure about B but could be overthinking it.
B not A
A
Why does Cisco love to confuse us with these almost-the-same endpoints? For just the number, it's A. That '/network-device/count' is straight from the API docs.
Just going off what I've seen, looks like A is the one for just getting the number.
Be respectful. No spam.