exam questions

Exam JN0-102 All Questions

View all questions & answers for the JN0-102 exam

Exam JN0-102 topic 2 question 23 discussion

Actual exam question from Juniper's JN0-102
Question #: 23
Topic #: 2
[All JN0-102 Questions]

-- Exhibit --
firewall {
filter select-telnet {
term 1 {
from {
source-address {
10.0.0.0/8;
}
}
then log;
}
term 2 {
from {
protocoltcp;
port telnet;
}
then {
syslog;
reject;
}
}
term 3 {
from {
source-address {
10.1.1.1/32;
}
protocoltcp;
port telnet;
}
then {
sample;
accept;
}
}
}
}
-- Exhibit --

A Telnet session is initiated from host 10.1.1.1.
What will happen when it is processed by the firewall filter shown in the exhibit?

  • A. The packet will be accepted and logged.
  • B. The packet will be discarded and logged.
  • C. The packet will be rejected and a syslog message generated.
  • D. The packet will be accepted and sampled.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Harish027
4 years, 2 months ago
If an action modifier (e.g. log) does not have an accompanying terminating/flow action then system implies an action of "accept". So specified answer appears to be correct.
upvoted 2 times
...
barthinho
4 years, 7 months ago
It's not about "longest match wins". This specific traffic is taken through first 2 policies.
upvoted 3 times
...
barthinho
4 years, 7 months ago
It's C.
upvoted 3 times
...
Puri232
4 years, 10 months ago
looks answer D, longest match wins
upvoted 1 times
pedronorte
4 years, 9 months ago
If it matches the first term it does not go through the next rules
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