Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 1
From what range are 16-bit private AS numbers selected?
Đáp án: C
Dải AS private 16 bit là 64512 đến 65534 (RFC 6996). 64496 đến 64511 dành cho tài liệu, 65535 là dành riêng.
Nokia Border Gateway Protocol Fundamentals for Services
Bộ câu luyện Nokia BGP gồm thuộc tính và chọn đường, chính sách, route reflector, confederation, add-paths, advertise-external và BGP IPv6.
Nokia chưa có đề mẫu riêng cho 4A0-114, nên bộ này dùng 40 câu trong đề mẫu chính thức của bài BGP 4A0-102 (cùng mảng kiến thức BGP), giữ nguyên câu hỏi và đáp án, vẽ lại hình và thêm giải thích. Nokia ngừng thi 4A0-114 từ 09/02/2027. Thấy chỗ chưa đúng thì bấm Báo lỗi.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 1
From what range are 16-bit private AS numbers selected?
Đáp án: C
Dải AS private 16 bit là 64512 đến 65534 (RFC 6996). 64496 đến 64511 dành cho tài liệu, 65535 là dành riêng.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 2
Which of the following statements about the connections between eBGP peers is TRUE?
Đáp án: D
Peer eBGP thường nối trực tiếp và dùng địa chỉ interface (TTL 1). Dùng system address là đặc trưng của iBGP. eBGP vẫn quảng bá route học từ iBGP.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 3
Which of the following statements is TRUE about the withdrawal of routes from one BGP speaker to another?
Đáp án: B
BGP không có bản tin withdraw riêng. Route rút đi nằm trong trường Withdrawn Routes của bản tin Update, một bản tin rút được nhiều prefix.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 4
If router A originates an update for prefix 192.168.0.1/27, what will the update contain when it reaches router B?
Đáp án: C
Router A sinh route và gửi cho B qua iBGP: AS path rỗng (chỉ thêm AS khi gửi eBGP) và local preference mặc định 100 được gửi trong iBGP.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 5
Which of the following statements is TRUE about the TTL of a BGP message?
Đáp án: B
Trên 7750 SR, TTL mặc định của eBGP là 1 và của iBGP là 64. Muốn tăng TTL cho eBGP dùng multihop, ttl-security là cơ chế kiểm tra TTL nhận vào. TTL không phải thuộc tính BGP.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 6
What kind of attribute is the aggregator?
Đáp án: C
Aggregator là thuộc tính optional transitive, cho biết AS và router đã tạo route tổng hợp.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 7
Which of the following statements regarding BGP route selection is TRUE?
Đáp án: D
Khi các tiêu chí trước bằng nhau, router ID thấp hơn được ưu tiên. Local preference cao hơn thắng, MED thấp hơn thắng, origin thấp hơn (IGP) thắng.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 8
A router receives two BGP routes. The first route is for 138.1.1.0/24 with an AS Path length of 3, Local Preference of 100, MED of 100, and router ID 10.10.10.10. The second route is for 138.1.0.0/16 with an AS Path length of 3, Local Preference of 100, MED of 100, and router ID 10.1.1.1. Assuming all other attributes are equal, which route would be used to forward an IP packet with destination IP address 138.1.1.1?
Đáp án: A
Đây là hai prefix khác nhau. Chuyển tiếp dùng longest match, nên gói tới 138.1.1.1 đi theo 138.1.1.0/24.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 9
Which of the following is NOT considered an option of import policies?
Đáp án: D
MED được đặt khi gửi route cho AS láng giềng (export policy). Import policy dùng để lọc route vào và đặt local preference.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 10
A BGP router has loopback interfaces 192.168.1.1/27 and 192.168.2.1/27 advertised into BGP using the following export policy. The "aggregate 192.168.0.0/16" command is executed. What is the effect of this configuration? [gl:configure policy-options policy-statement "Export_Loopbacks"] A:admin@R1# info entry 10 { from { protocol { name [direct] } } action { action-type accept } }
Đáp án: C
Export policy chỉ chấp nhận route direct, nên hai loopback /27 được quảng bá. Route aggregate chỉ nằm trong bảng định tuyến dạng blackhole, muốn quảng bá phải thêm entry chấp nhận protocol aggregate.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 11
Which of the following AS Paths will match the regular expression "<65100>"?
Đáp án: B
Trong biểu thức AS path của SR OS, cặp ngoặc nhọn khớp một segment confederation, nên "<65100>" khớp "(65100)".
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 12
A Nokia 7750 SR receives a route from an eBGP peer without a MED. What MED value is sent to iBGP peers?
Đáp án: D
MED là optional non-transitive. Route nhận từ eBGP không có MED thì khi gửi tiếp cho iBGP cũng không có MED.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 13
Which of the following statements about route reflectors is TRUE?
Đáp án: A
Route reflector phản xạ route học từ iBGP cho các client. Client chỉ cần phiên với RR, và RR chỉ nới quy tắc split horizon cho client của nó.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 14
Routers C and E are route reflectors. When the update for prefix 192.168.2.0/24 is received on router C, what will be the Originator_ID attribute?
Đáp án: D
Originator_ID do RR gắn khi phản xạ route. C nhận route trực tiếp từ client B nên lúc nhận chưa có Originator_ID, C sẽ đặt nó (bằng router ID của B) khi phản xạ đi.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 15
What class of attribute is Originator_ID?
Đáp án: D
Originator_ID là thuộc tính optional non-transitive, chỉ dùng trong một AS.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 16
Which of the following is TRUE regarding route reflectors?
Đáp án: A
Cluster ID chỉ cấu hình trên RR. Một cluster có thể có nhiều RR, client không cần full mesh, và có thể có RR phân cấp nhiều tầng.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 17
Assume all router IDs are properly configured. Which of the following configurations is required on the Nokia 7750 SR router A to establish an IPv6 iBGP session to router B?
Phương án A:
group "IPv6_iBGP" {
next-hop-self true
peer-as 65540
family {
ipv6 true
}
}
neighbor "2001:db8:2::2" {
group "IPv6_iBGP"
}
Phương án B:
group "IPv6_iBGP" {
next-hop-self true
type internal
peer-as 65540
}
neighbor "2001:db8:2::2" {
group "IPv6_iBGP"
}
Phương án C:
group "IPv6_iBGP" {
next-hop-self true
type internal
peer-as 65540
}
neighbor "2001:db8:12::21" {
group "IPv6_iBGP"
}
Phương án D:
group "IPv6_iBGP" {
next-hop-self true
type internal
family {
ipv6 true
}
}
neighbor "2001:db8:2::2" {
group "IPv6_iBGP"
}
Đáp án: A
Cần khai family ipv6 cho group, peer-as đúng AS và neighbor là địa chỉ system của B (2001:db8:2::2). B và C thiếu family ipv6, C dùng địa chỉ link, D thiếu peer-as.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 18
Assuming router A is configured with "next-hop-self", what does the BGP update for prefix 192.168.0.1/27 contain when it arrives at router B?
Đáp án: C
A gửi iBGP nên AS path giữ nguyên 65100 (chỉ thêm AS khi gửi eBGP). Với next-hop-self, next hop là router A.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 19
Router R1 is a route reflector with clients R2, R5, and R6. Prefixes advertised by router R5 have a local preference of 200. Router R3 advertises the prefix 192.168.1.0/27 to routers R5 and R6. Assuming none of the routers in AS 65540 are configured with "advertise-external ipv4 true", what is the expected output of "show router bgp routes" on router R5?
Phương án A:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 200 None
10.3.5.3 None -
65541
Phương án B:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 None None
10.3.5.3 None -
65541
i 192.168.1.0/27 200 None
10.10.10.5 None -
65541
i 192.168.1.0/27 100 None
10.10.10.6 None -
65541
Phương án C:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 None None
10.3.5.3 None -
65541
i 192.168.1.0/27 200 None
10.10.10.5 None -
65541
Phương án D:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 200 None
10.10.10.5 None -
65541
i 192.168.1.0/27 100 None
10.10.0.6 None -
65541
Đáp án: C
R5 có route eBGP trực tiếp từ R3 (best, local preference không áp với route eBGP nhận vào). R1 chỉ phản xạ đường tốt nhất là route của R5 (LP 200), còn route của R6 không thắng ở R1 nên không tới R5. Theo đáp án Nokia, R5 thấy route eBGP và route LP 200 từ R1.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 20
Router R6 is a route reflector for clients R1, R2, and R5. Router R3 advertises prefix 192.168.1.0/27 to routers R1, R2, and R5. Router R5 is configured with a local preference of 200. On which router(s) is "advertise-external ipv4 true" needed for router R6 to receive three distinct routes for prefix 192.168.1.0/27?
Nội bộ AS 65540, R5 đặt local preference 200 cho route học từ R3.
Đáp án: D
R1 và R2 đều chọn route iBGP của R5 (LP 200) làm best nên mặc định không quảng bá route eBGP của mình cho R6. Cần advertise-external trên cả R1 và R2 để R6 nhận đủ ba route.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 21
Router R1 is a route reflector with clients R2, R5, and R6. Router R3 advertises the prefix 192.168.1.0/27 to routers R5 and R6. Assuming that routers R1, R2, and R4 are configured with "add-paths ipv4 send 2 receive true", what is the expected output of "show router bgp routes" when executed on router R1?
Phương án A:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.5 1 -
65541
*i 192.168.1.0/27 100 None
10.10.10.6 2 -
65541
Phương án B:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.5 None -
65541
*i 192.168.1.0/27 100 None
10.10.10.6 None -
65541
Phương án C:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.5 1 -
65541
Phương án D:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.6 None -
65541
Đáp án: B
R5 và R6 không bật add-paths nên mỗi bên gửi route cho R1 như bình thường, không có Path-Id. R1 có hai route, best đi qua R5.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 22
AS 65540 routers are iBGP fully meshed. Assume routers R4, R5, and R6 are configured with "add-paths ipv4 send 2 receive true". Which routes to 192.168.0.1/27 is router R6 expected to have in its BGP routing table?
Đáp án: D
R4 và R5 mỗi bên có hai đường tới 192.168.0.1/27 (eBGP từ R1 qua mạng nội bộ và iBGP). Với add-paths send 2, mỗi bên gửi hai đường cho R6, R6 có bốn route.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 23
Which of the following routes is NOT considered an internal route?
Đáp án: C
Route nhận từ member AS khác trong confederation được coi là external (confed-eBGP). Các trường hợp còn lại là internal.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 24
What kind of BGP attribute is the Multi_Exit_Disc?
Đáp án: B
MED (Multi_Exit_Disc) là optional non-transitive.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 25
Router R6 is a route reflector with clients R1, R2, R4, and R5. Add-paths is configured such that router R4 receives three routes for prefix 192.168.1.0/27. Backup path is enabled on router R4. Which of the following is the expected output for "show router bgp routes" when executed on router R4?
Phương án A:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.1 8 -
65541
ub*i 192.168.1.0/27 100 None
10.10.10.2 6 -
65541
*i 192.168.1.0/27 100 None
10.10.10.5 9 -
65541
Phương án B:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.5 8 -
65541
ub*i 192.168.1.0/27 100 None
10.10.10.2 6 -
65541
*i 192.168.1.0/27 100 None
10.10.10.1 9 -
65541
Phương án C:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.2 8 -
65541
ub*i 192.168.1.0/27 100 None
10.10.10.5 6 -
65541
Phương án D:
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
--------------------------------------------------------
u*>i 192.168.1.0/27 100 None
10.10.10.1 8 -
65541
u*>i 192.168.1.0/27 100 None
10.10.10.2 6 -
65541
Đáp án: A
Ba route đều LP 100. Route qua R1 thắng làm best (u*>), route qua R2 làm backup (ub*), route qua R5 chỉ là hợp lệ. Path-Id do R6 gán.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 26
"Router R6 is a route reflector with clients R1, R2, R4, and R5. Router R4 receives three routes from router R6 and is configured with ECMP 3. Given the following BGP configuration on router R4, how many primary and backup paths will be present in router R4's BGP routing table
[gl:/configure router "Base" bgp]
A:admin@R4# info
backup-path {
ipv4 true
}
add-paths {
ipv4 {
send 3
receive true
}
}
multipath {
family ipv4 {
ibgp 2
}
}
group "iBGP" {
peer-as 65540
family {
ipv4 true
}
}
neighbor "10.10.10.6" {
group "iBGP"
}
Đáp án: B
multipath ibgp 2 cho hai đường chính, backup-path bật thêm một đường dự phòng, nên có 2 primary và 1 backup.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 27
Which of the following statements best describes the BGP sessions within the given network?
Đáp án: B
Phiên giữa hai member AS 65204 và 65206 là eBGP trong confederation. AS 65202 không cần phiên trực tiếp với AS 65204, phiên trong member AS là iBGP.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 28
Which of the following statements about BGP confederations is FALSE?
Đáp án: D
Trong member AS có thể dùng route reflector thay cho full mesh, nên vế D sai.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 29
Which of the following is a valid BGP configuration for router R2?
Phương án A:
[gl:/configure router "Base" bgp]
A:admin@R2# info
group "Conf-eBGP" {
peer-as 65541
family {
ipv4 true
}
}
group "Member-AS" {
peer-as 65542
family {
ipv4 true
}
}
neighbor "10.16.10.1" {
group "Conf-eBGP"
}
neighbor "10.16.10.6" {
group "Member-AS"
}
Phương án B: như A nhưng group "Member-AS" dùng peer-as 65540.
Phương án C: như A nhưng group "Conf-eBGP" dùng peer-as 65540.
Phương án D:
[gl:/configure router "Base" bgp]
A:admin@R2# info
group "Conf-BGP" {
peer-as 65540
family {
ipv4 true
}
}
neighbor "10.16.10.1" {
group "Conf-BGP"
}
neighbor "10.16.10.6" {
group "Conf-BGP"
}
Đáp án: A
R2 thuộc member AS 65542. Phiên tới R1 (member AS 65541) dùng peer-as 65541, phiên tới R6 cùng member AS dùng peer-as 65542.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 30
"Given the following configuration of router R1, what can be said about the function of each of AS 65540's routers?
[gl:/configure router "Base" bgp]
A:admin@R1# info
group "AS 65540 iBGP" {
peer-as 65540
family {
ipv4 true
}
}
neighbor "10.16.10.2" {
group "AS 65540 iBGP"
}
neighbor "10.16.10.3" {
group "AS 65540 iBGP"
cluster {
cluster-id 10.16.10.1
}
}
neighbor "10.16.10.4" {
group "AS 65540 iBGP"
cluster {
cluster-id 10.16.10.1
}
}
Đáp án: D
R1 khai cluster cho neighbor R3 và R4 nên đây là client của R1. R2 là phiên iBGP thường (non-client).
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 31
Which of the following is considered a best practice for BGP address planning?
Đáp án: B
iBGP nên chạy giữa các system address (loopback) để phiên không phụ thuộc một interface. Không nên đưa route ngoài vào IGP hay đưa IGP vào BGP.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 32
What is the result of configuring the following policy statement as a BGP import policy on the Nokia 7750 SR?
policy-statement "Policy-1" {
entry 10 {
from {
prefix-list ["List-1" "List-2"]
protocol {
name [bgp]
}
}
action {
action-type accept
}
}
default-action {
action-type reject
}
}
Đáp án: C
Trong một prefix-list có nhiều danh sách thì là phép OR, kết hợp với protocol bgp. Route BGP khớp List-1 hoặc List-2 được chấp nhận, còn lại bị reject.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 33
"Assuming that ""client1"" and ""client2"" are directly connected networks, what is the result of executing the following BGP export policy?
entry 10 {
from {
protocol {
name [direct]
}
}
action {
action-type accept
community {
add ["North"]
}
}
}
entry 20 {
from {
prefix-list ["client1"]
}
action {
action-type accept
community {
add ["West"]
}
}
}
entry 30 {
from {
prefix-list ["client2"]
}
action {
action-type accept
community {
add ["East"]
}
}
}
default-action {
action-type reject
}
Đáp án: A
Entry 10 khớp mọi route direct (client1, client2 đều là mạng nối trực tiếp) và accept, nên chính sách dừng ở entry 10.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 34
AS 65550 owns CIDR block 10.64.0.0/12. Router R3 advertises Client1 and Client2 networks into BGP. Router R6 creates an aggregate using the following configuration under router "Base" : "aggregates aggregate 10.64.0.0/12" and advertises it to AS 65541. Which of the following routes are received by router R7?
Đáp án: A
Lệnh aggregate không có summary-only nên các route cụ thể vẫn được quảng bá cùng route tổng hợp. R7 nhận Client1, Client2 và aggregate.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 35
A Nokia 7750 SR receives two updates for the same route with local preferences 200 and 300, respectively. What local preference is sent to eBGP peers?
Đáp án: D
Local preference không gửi cho peer eBGP.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 36
Router R2 is advertising prefix 192.168.1.0/27 with community "no-advertise". Which routers receive an update for that prefix?
Đáp án: A
Community no-advertise cho phép gửi tới peer trực tiếp nhưng peer đó không quảng bá tiếp cho ai. R2 gửi cho R1 và R3, dừng ở đó.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 37
Which of the following is FALSE about the BGP databases?
Đáp án: B
Loc-RIB chứa route sau khi import policy đã xử lý và quá trình chọn đường đã xong.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 38
Which of the following statements about BGP recursive lookup is FALSE?
Đáp án: A
Tra cứu đệ quy thực hiện trên next hop của route BGP để tìm interface ra, không phải trên địa chỉ đích của gói.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 39
Which of the following is FALSE about IPv6 BGP implementation on a Nokia 7750SR?
Đáp án: A
Router ID BGP chỉ cần là số 32 bit duy nhất, không yêu cầu reachable. Các vế còn lại đúng theo tài liệu Nokia.
Đề mẫu chính thức của Nokia (Practice Exam 4A0-102), câu 40
Assume all router IDs are properly configured, and IPv6 link-local addresses are used to establish all eBGP sessions. Given the following iBGP configuration on router A, what is the Next Hop for prefix 2001:DB8:A:401::1/128 on router B?
group "iBGP" {
peer-as 65540
family {
ipv6 true
}
}
neighbor "2001:db8:2::2" {
group "iBGP"
}
neighbor "2001:db8:3::3" {
group "iBGP"
}
Đáp án: A
Route học qua eBGP có next hop link-local. Khi gửi cho iBGP, 7750 SR thay next hop bằng địa chỉ global của chính nó (router A) vì link-local không dùng được ngoài link.