Question 24 of 32 from exam 300-635-DCAUTO: Automating and Programming Cisco Data Center Solutions

Question 24 of 32 from exam 300-635-DCAUTO: Automating and Programming Cisco Data Center Solutions

Question

Refer to the exhibit.

cobra.mit.access import MoDirectory
cobra.mit.session import LoginSession
cobra.model.pol import Uni
cobra.model.fv import Tenant
cobra.mit.request import ConfigRequest

= LoginSession (uri , user, pw)

= MoDirectory (1s)
-login ()

topMo = Uni(' ')

ConfigRequest ()
c.addMo (fvTenant)
md.commit (c)

md. logout ()

The code should create a new tenant named Cisco via the Cobra SDK, which shows up after the execution of this script in the APIC dashboard.

Which code must he inserted into the red box to create this tenant?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.