Cisco
300-635 · Question #15
300-635 Question #15: Real Exam Question with Answer & Explanation
Sign in or unlock 300-635 to reveal the answer and full explanation for question #15. The question stem and answer options stay visible for context.
Question
Refer to the exhibit. Which action does the execution of this ACI Cobra Python code perform?
mo_dir = cobra.mit.access.MoDirectory(cobra.mit.session.LoginSession(apic_url, username, password))
mo_dir.login()
eq = cobra.mit.access.ClassQuery('fvCEp')
eq.subtree = 'full'
objList = mo_dir.query(eq)
for mo in objList:
print 'mac: %s ip: %s' % (mo.mac + " " + mo.ip)
Options
- AIt prints all LLDP neighbor MAC and IP addresses.
- BIt prints all Cisco Discovery Protocol neighbor MAC and IP addresses.
- CIt prints all endpoint MAC and IP addresses.
- DIt prints all APIC MAC and IP addresses.
Unlock 300-635 to see the answer
You've previewed enough free 300-635 questions. Unlock 300-635 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.