exam questions

Exam PCNSE All Questions

View all questions & answers for the PCNSE exam

Exam PCNSE topic 1 question 206 discussion

Actual exam question from Palo Alto Networks's PCNSE
Question #: 206
Topic #: 1
[All PCNSE Questions]

Given the following configuration, which route is used for destination 10.10.0.4? set network virtual-router 2 routing-table ip static-route "Route 1" nexthop ip-address 192.168.1.2 set network virtual-router 2 routing-table ip static-route "Route 1" metric 30 set network virtual-router 2 routing-table ip static-route "Route 1" destination 10.10.0.0/24 set network virtual-router 2 routing-table ip static-route "Route 1" re route-table unicast set network virtual-router 2 routing-table ip static-route "Route 2" nexthop ip-address 192.168.1.2 set network virtual-router 2 routing-table ip static-route "Route 2" metric 20 set network virtual-router 2 routing-table ip static-route "Route 2" destination 10.10.0.0/24 set network virtual-router 2 routing-table ip static-route "Route 2" route-table unicast set network virtual-router 2 routing-table ip static-route "Route 3" nexthop ip-address 10.10.20.1 set network virtual-router 2 routing-table ip static-route "Route 3" metric 5 set network virtual-router 2 routing-table ip static-route "Route 3" destination 0.0.0.0/0 set network virtual-router 2 routing-table ip static-route "Route 3" route-table unicast set network virtual-router 2 routing-table ip static-route "Route 4" nexthop ip-address 192.168.1.2 set network virtual-router 2 routing-table ip static-route "Route 4" metric 10 set network virtual-router 2 routing-table ip static-route "Route 4" destination 10.10.1.0/25 set network virtual-router 2 routing-table ip static-route "Route 4" route-table unicast

  • A. Route 1
  • B. Route 3
  • C. Route 2
  • D. Route 4
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Whizdhum
1 year, 4 months ago
Answer is C. It would be easier to format the configuration line-by-line, so that the four options are shown clearly. Nevertheless, I was able to sift through the jumbled configuration and find the answer.
upvoted 1 times
...
Knowledge33
1 year, 11 months ago
Selected Answer: C
Longuest mask first, then lowest metric is longuest mask is concurrent.
upvoted 1 times
...
mbhuyan
2 years, 2 months ago
Selected Answer: C
Opps my bed..the answer is C... longest has the different destination which is 10.10.1.0/25 I thought its 10.10.0.0/25.
upvoted 1 times
...
mbhuyan
2 years, 2 months ago
Selected Answer: D
Longest match is 10.10.0.4 /25 which has the higher priority than /24. So the answer is D, not C
upvoted 1 times
hcir
10 months, 2 weeks ago
mate, 10.10.1.0/25 matches 10.10.1.(0-127)
upvoted 4 times
...
...
djedeen
2 years, 5 months ago
Route 3 has the lowest metric, but 1 & 2 are longer match than its 0.0.0.0/0 destination.
upvoted 1 times
...
Pakawat
2 years, 10 months ago
Prefer route 2 with lowest metric
upvoted 2 times
secdaddy
2 years, 9 months ago
longest match. lowest metric only comes into play if there is more than one route with the same length match.
upvoted 3 times
...
...
Jheax
3 years ago
Selected Answer: C
This is the line that you want to pay attention to answer this question: set network virtual-router 2 routing-table ip static-route "Route 2" destination 10.10.0.0/24
upvoted 2 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