exam questions

Exam 350-501 All Questions

View all questions & answers for the 350-501 exam

Exam 350-501 topic 1 question 66 discussion

Actual exam question from Cisco's 350-501
Question #: 66
Topic #: 1
[All 350-501 Questions]

You are writing an RPL script to accept routes only from certain autonomous systems. Consider this code:
RP/0/RP0/CPU0:router(config-rpl)# if as-path in (ios-regex '.*77$')
RP/0/RP0/CPU0:router(config-rpl-if)# pass
RP/0/RP0/CPU0:router(config-rpl-if)# endif
If you apply this code to BGP filters, which effect does the code have on your router?

  • A. denies routes from AS 7070
  • B. allows routes from AS 7077
  • C. denies routes from AS 7007
  • D. allows routes from AS 770
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
rans3001
10 months ago
I see funny characters in that regexp. Based on other dump, it is the following: if as-path in (ios-regex '.*77$') Correct answer B (the as-path must end with 77)
upvoted 3 times
...
Jjsa1994
1 year, 5 months ago
comments here the funniest! lmao
upvoted 1 times
...
costascarramanlis
1 year, 5 months ago
Agree with EdgardoAC. It should have been "if as-path in (ios-regex '˜.*77$') then", but focus on that part and you are golden.
upvoted 1 times
...
EdgardoAC
1 year, 6 months ago
If you only consider the portion 77$, which means the string has to end on 77, the other options are discarded.
upvoted 2 times
...
[Removed]
1 year, 6 months ago
I think it's meant to be (ios-regex "^.*77$")
upvoted 3 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