exam questions

Exam 300-535 All Questions

View all questions & answers for the 300-535 exam

Exam 300-535 topic 1 question 20 discussion

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

An engineer wants to replace the BLOCK_BAD ACL on the Cisco IOS XE router with this new content. The engineer wants to use RESTCONF for this and constructs a PUT request to the resource/restconf/data/native/ip/access-list/Cisco-IOS-XE-acl:extended=BLOCK_BAD. What must the body look like to achieve the Cisco IOS XE configuration?
Desired configutation:
ip access-list extended BLOCK_BAD
permit ip any host 192.168.20.1
deny ip any any
A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: D

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
sushil_bhattacharjee
7 months, 2 weeks ago
Answer: C |none of the answers match exactly.| closet answer is "C" { "Cisco-IOS-XE-acl:extended": { "name": "BLOCK_BAD", "access-list-seq-rule": [ { "sequence": "10", "ace-rule": { "action": "permit", "protocol": "ip", "any": [ null ], "dst-host": "192.168.20.1" } }, { "sequence": "20", "ace-rule": { "action": "deny", "protocol": "ip", "any": [ null ], "dst-any": [ null ] } } ] } }
upvoted 2 times
...
working_on_hcip
1 year ago
the answer provided by phc1979 has the correct syntax, but it doesn´t apper in the options i guess, json doesn´t use parenthesis,
upvoted 1 times
...
working_on_hcip
1 year ago
does json uses parentheses?? all the options provides have syntax errors by opening or closing brackets, Curly braces even parentheses.. I hope the corrects options comes in the real exam, by now i´d chose option B, but it has a closing a closing parenthesis, so, i don´t know
upvoted 2 times
...
Mellon
2 years, 2 months ago
C has syntax error, B is missing Cisco-IOS-XE-acl:extended at the top. I will go with B.
upvoted 2 times
...
phc1978
3 years, 4 months ago
Answer :- C ( tested on Postman) { "Cisco-IOS-XE-acl:extended": [ { "name": "BLOCK_BAD", "access-list-seq-rule": [ { "sequence": "10", "ace-rule": { "action": "permit", "protocol": "ip", "any":[ null ], "dst-host": "192.168.20.1" } }, { "sequence": "20", "ace-rule": { "action": "permit", "protocol": "ip", "any": [ null ], "dst-host": [ null ] } }, ] } ] }
upvoted 2 times
...
nityi
3 years, 9 months ago
C is the answer
upvoted 1 times
SbudaGQ
3 years, 6 months ago
but C is closing a round bracket that was never opened. Definitely an error.
upvoted 2 times
...
Nuppi
3 years, 9 months ago
How do u know C is the correct answer? did you take the exam yet?
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago