Gồm 99 câu của đề JN0-105 cũ (đã bỏ câu trùng, chép lại hình và output, thêm giải thích) và 100 câu bổ sung do RoutingBit viết theo các mảng kiến thức JNCIA-Junos. Câu nào đáp án gốc chưa chuẩn thì RoutingBit chọn theo tài liệu Juniper và ghi chú lại. Thấy chỗ chưa đúng thì bấm Báo lỗi.
You are configuring a firewall filter on a Juniper device. In this scenario, what are two valid terminating actions? (Choose two.)
Đáp án: B, D
accept, discard, reject là hành động kết thúc. count là hành động phụ, next term là điều khiển luồng đánh giá.
Câu 2Firewall filterChọn nhiều
Đề JN0-105, câu 45
Which two statements about firewall filters are correct? (Choose two.)
Đáp án: A, D
Firewall filter trên Junos không giữ trạng thái và so được tới lớp 4 (giao thức, cổng TCP/UDP, cờ TCP). Lọc theo ứng dụng lớp 7 là việc của security policy và AppSecure trên SRX.
Câu 3Firewall filterChọn nhiều
Đề JN0-105, câu 86
Which two statements are correct about firewall filters? (Choose two.)
Đáp án: A, C
Cuối filter có luật ngầm discard. Thiết bị có thể có nhiều filter, áp cho từng interface và từng chiều.
Câu 4Firewall filterChọn một
Đề JN0-105, câu 93
How is traffic, sourced from 10.0.0.0/8, treated by the firewall filter shown in the exhibit?
[edit firewall filter test]
term 1 {
from {
source-address {
10.0.0.0/8;
}
}
then {
log;
next term;
}
}
term 2 {
then {
reject;
}
}
Đáp án: B
Term 1 ghi log rồi next term chuyển sang term 2. Term 2 không có điều kiện nên khớp mọi gói và reject.
Câu 5Firewall filterChọn nhiều
Đề JN0-105, câu 103
Referring to the exhibit, which two actions will occur when a packet matches the firewall filter? (Choose two.)
term limit-icmp {
from {
source-address {
172.25.11.0/24;
}
protocol icmp;
}
then {
count count-icmp;
discard;
}
}
Đáp án: C, D
count tăng bộ đếm count-icmp, discard bỏ gói im lặng, không trả ICMP (khác reject).
Câu 6Firewall filterChọn một
Câu bổ sung của RoutingBit
What happens to a packet that does not match any term in a Junos firewall filter?
Đáp án: B
Cuối mỗi firewall filter có luật ngầm discard. Muốn cho phần còn lại đi qua thì thêm term cuối then accept. Quên điều này khi đặt filter trên lo0 là cách nhanh nhất tự khóa mình khỏi thiết bị.
Câu 7Firewall filterChọn một
Câu bổ sung của RoutingBit
What is the difference between the discard and reject actions in a firewall filter?
Đáp án: A
discard bỏ gói im lặng, reject bỏ gói và mặc định trả ICMP unreachable. Với lưu lượng từ Internet nên dùng discard để không lộ thông tin và không tốn tài nguyên.
Câu 8Firewall filterChọn nhiều
Câu bổ sung của RoutingBit
Which two actions in a firewall filter are non-terminating actions? (Choose two.)
Đáp án: A, B
count, log, syslog, policer là hành động phụ, không quyết định số phận gói. Nếu term chỉ có hành động phụ thì mặc định gói được accept. accept, discard, reject là hành động kết thúc.
Câu 9Firewall filterChọn một
Câu bổ sung của RoutingBit
A firewall filter must protect the Routing Engine from unauthorized SSH and SNMP access. Where should the filter be applied?
Đáp án: B
Mọi gói gửi tới RE (dù đến từ cổng nào) đều đi qua lo0, nên filter input trên lo0 bảo vệ RE cho mọi cổng. Nhớ cho phép cả giao thức định tuyến, NTP, DNS... nếu không sẽ làm rớt neighbor.
Câu 10Firewall filterChọn một
Câu bổ sung của RoutingBit
Which configuration applies the filter PROTECT-RE to traffic entering the Routing Engine?
Đáp án: A
Filter áp theo family dưới logical unit, chiều input hoặc output. Một interface có thể có filter input và output khác nhau.
Câu 11Firewall filterChọn một
Câu bổ sung của RoutingBit
The following filter is applied as an input filter on ge-0/0/0:
term T1 { from { source-address 10.1.1.0/24; } then discard; }
term T2 { from { protocol tcp; destination-port 22; } then accept; }
term T3 { then accept; }
A host 10.1.1.5 sends an SSH packet to the device. What happens?
Đáp án: B
Term duyệt theo thứ tự. 10.1.1.5 khớp T1 nên bị discard ngay, không xét tới T2 dù là SSH. Muốn cho mạng này SSH thì phải đặt term cho phép SSH lên trước T1.
Câu 12Firewall filterChọn một
Câu bổ sung của RoutingBit
Within a single firewall filter term, the from statement contains a source address and a protocol. How are these conditions evaluated?
Đáp án: B
Các loại điều kiện khác nhau trong cùng from là AND: gói phải thỏa cả địa chỉ nguồn lẫn giao thức. Nhiều giá trị cho cùng một loại (ví dụ hai source-address) thì là OR.
Câu 13Firewall filterĐúng hay sai
Câu bổ sung của RoutingBit
A stateless firewall filter keeps track of sessions, so return traffic is automatically permitted.
Đáp án: False
Firewall filter trên Junos là stateless: mỗi gói xét độc lập, không nhớ phiên. Chiều về phải được cho phép bằng term riêng. Lọc có trạng thái là việc của security policy trên SRX.