nerdexam
Cisco

350-601 · Question #313

An engineer must create an EPG called "Test". The configuration request should succeed if the Tenant called "Tenant" and the application profile called "Test" exist. The firewall policy allows only…

The correct answer is B. Send <fvAEPg dn="uni/tn-Tenant/ap-Test/epg-Test" status="created"/> to APIC payload. Cisco ACI's REST API uses a hierarchical Distinguished Name (DN) format to identify objects. The correct DN structure for an EPG is: uni/tn-{TenantName}/ap-{AppProfileName}/epg-{EPGName}. For this scenario: Tenant='Tenant', AppProfile='Test', EPG='Test', the correct DN is…

Automation

Question

An engineer must create an EPG called "Test". The configuration request should succeed if the Tenant called "Tenant" and the application profile called "Test" exist. The firewall policy allows only the HTTP connectivity to APIC from the user’s computer. Which action accomplishes this goal?

Options

  • ASend <fvAEPg dn="uni/tn-Tenant//epg-Test//ap-Test" status="created"/> to APIC payload
  • BSend <fvAEPg dn="uni/tn-Tenant/ap-Test/epg-Test" status="created"/> to APIC payload
  • CSend <fvAEPg dn="uni/tn-Test/ap-Test/epg-Tenant" status="created"/> to APIC payload
  • DSend <fvAEPg dn="uni/tn-Test//ap-Test//epg-Tenant" status="created"/> to APIC payload

How the community answered

(17 responses)
  • A
    12% (2)
  • B
    76% (13)
  • C
    6% (1)
  • D
    6% (1)

Explanation

Cisco ACI's REST API uses a hierarchical Distinguished Name (DN) format to identify objects. The correct DN structure for an EPG is: uni/tn-{TenantName}/ap-{AppProfileName}/epg-{EPGName}. For this scenario: Tenant='Tenant', AppProfile='Test', EPG='Test', the correct DN is 'uni/tn-Tenant/ap-Test/epg-Test'. Since only HTTP (not HTTPS) is allowed by the firewall, the REST API call must go over HTTP - but that does not change the payload. Options A, C, and D have incorrect DN formats (wrong order of object names or double slashes), which would cause the API call to fail or create objects in the wrong location.

Topics

#Cisco ACI#EPG#DN Structure#APIC API

Community Discussion

No community discussion yet for this question.

Full 350-601 Practice