300-635 · Question #65
Refer to the exhibit. What does the provided Python script print?
The correct answer is B. It prints out the distinguished name of all application profiles. Option B is correct because the script queries the ACI fvAp managed object class (which represents application profiles) and prints the dn (distinguished name) attribute for each result - the DN is the full hierarchical path, such as uni/tn-Heroes/ap-Save_The_World_App. Why the…
Question
Options
- AIt prints out the relative name of all application profiles.
- BIt prints out the distinguished name of all application profiles.
- CIt prints out the distinguished name of all tenants.
- DIt prints out the relative name of all tenants.
How the community answered
(26 responses)- B96% (25)
- C4% (1)
Explanation
Option B is correct because the script queries the ACI fvAp managed object class (which represents application profiles) and prints the dn (distinguished name) attribute for each result - the DN is the full hierarchical path, such as uni/tn-Heroes/ap-Save_The_World_App.
Why the distractors are wrong:
- A is wrong because printing a relative name would require accessing the
nameattribute, notdn. The RN would only be something likeap-Save_The_World_App. - C is wrong because tenants use the
fvTenantclass; the script targetsfvAp, which is the application profile class. - D is wrong for both reasons combined - wrong object class (
fvTenant) and wrong attribute (namevsdn).
Memory tip: In Cisco ACI, remember DN = full path, RN = last segment only, and class names reveal the object type - fvTenant = tenant, fvAp = application profile, fvBD = bridge domain. If the script says fvAp + dn, it's full-path app profiles, which is answer B.
Topics
Community Discussion
No community discussion yet for this question.