exam questions

Exam 300-635 All Questions

View all questions & answers for the 300-635 exam

Exam 300-635 topic 1 question 17 discussion

Actual exam question from Cisco's 300-635
Question #: 17
Topic #: 1
[All 300-635 Questions]

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:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hdevr
Highly Voted 1 year, 1 month ago
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" />'
upvoted 7 times
anonymousch
1 year ago
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" />'
upvoted 3 times
...
...
AndyUK2022
Most Recent 7 months, 2 weeks ago
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": [] } }
upvoted 1 times
...
Laith_A
1 year, 1 month ago
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
...
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.

SaveCancel
Loading ...