DRAG DROP - Drag and drop the correct code snippets into the Python code to create a new application profile "WebApp" using the ACI REST API. Not all options are used. Select and Place:
url = 'https://apic/api/mo/uni/tn-MyCompany.xml'
URI pathname is terminated by the .xml suffix, so payload should be in xml format:
payload = '<fvAP name="WebApp" />'
indeed, there is a trap, the authentication request is made in JSON but the one to complete is in XML. See the "URL" variable.
So the correct answer for the payload part is: payload = '<fvAP name="WebApp" />'
Plus, lol, there is no class called "fvApp" but rather "fvAp" so I don't see how the anser given is correct.
Should not the payload be akin to -
payload {
"fvAp": {
"attributes": {
"dn": "uni/tn-infra/ap-AppProfiule12",
"name": "AppProfiule12",
"rn": "ap-AppProfiule12",
"status": "created"
},
"children": []
}
}
I agree https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/2-x/rest_cfg/2_1_x/b_Cisco_APIC_REST_API_Configuration_Guide/b_Cisco_APIC_REST_API_Configuration_Guide_chapter_01011.html
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.300-635 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
hdevr
Highly Voted 1 year, 1 month agoanonymousch
1 year agoAndyUK2022
Most Recent 7 months, 2 weeks agoLaith_A
1 year, 1 month ago