Câu hỏi lấy từ 4 đề mock HCIP Advanced R&S, giữ nguyên tiếng Anh, giải thích tiếng Việt. Chỗ đáp án gốc của mock còn tranh cãi được ghi chú trong phần giải thích. Thấy đáp án chưa đúng thì bấm Báo lỗi.
OSPF supports multi-process, and OSPF multi-process is typically used in VPN scenarios. Which of the following statements about OSPF multi-process are correct?
Đáp án: A, B, D
Mỗi OSPF process gắn với tối đa một VPN instance (nên C sai). Một VPN instance có thể chạy nhiều OSPF process. Các process độc lập nhau, mỗi process có LSDB riêng.
Câu 2MPLS & VPNĐúng hay sai
Mock 3, câu 1
MPLS determines the upstream and downstream relationships based on the data forwarding direction. MPLS labeled packets are sent from upstream LSRs and received and processed by downstream LSRs. Similarly, MPLS labels are distributed from upstream LSRs to downstream LSRs one by one.
Đáp án: False
Upstream/downstream xác định theo chiều dữ liệu, và gói có nhãn đi từ upstream sang downstream. Nhưng nhãn thì được phân phối ngược lại, từ downstream lên upstream, nên vế cuối sai.
Câu 3MPLS & VPNĐúng hay sai
Mock 3, câu 4
On an MPLS network, an LSR ID uniquely identifies an LSR. An LSR ID defaults to the IP address of a physical interface on a device and can be manually set to a loopback interface address.
Đáp án: False
LSR ID không có giá trị mặc định lấy từ interface vật lý. Phải cấu hình bằng lệnh mpls lsr-id trước khi bật MPLS, và khuyến nghị dùng địa chỉ loopback.
Câu 4MPLS & VPNĐúng hay sai
Mock 3, câu 5
MP-BGP uses the new path attribute MP_REACH_NLRI to advertise VPNv4 routes or withdraw unreachable routes on a BGP/MPLS IP VPN network.
Đáp án: False
MP_REACH_NLRI dùng để quảng bá route reachable. Việc thu hồi route dùng thuộc tính MP_UNREACH_NLRI.
Câu 5MPLS & VPNĐúng hay sai
Mock 3, câu 6
An LDP session has been established between two devices. If the administrator changes the transport address of one device, the LDP session is interrupted, causing service interruption.
Đáp án: True
LDP session chạy trên TCP giữa hai transport address. Đổi transport address thì TCP connection phải lập lại, nên session bị gián đoạn.
Câu 6MPLS & VPNĐúng hay sai
Mock 3, câu 8
When an IP packet enters an MPLS domain, the ingress node checks the tunnel ID corresponding to the source IP address of the packet. If the tunnel ID is not 0x0, the ingress node forwards the packet based on MPLS.
Đáp án: False
Ingress tra FIB theo địa chỉ IP đích (không phải nguồn). Nếu tunnel ID khác 0x0 thì forward theo MPLS (xem câu 29 của Mock 3).
Câu 7MPLS & VPNĐúng hay sai
Mock 3, câu 9
If end-to-end QoS is configured on an MPLS network, the penultimate hop device on the MPLS network can pop MPLS labels from packets based on penultimate hop popping (PHP), so that the egress node can process packets based on the QoS priority in inner packets.
Đáp án: False
Nếu PHP pop nhãn thì thông tin EXP bị mất trước khi tới egress. Để giữ QoS end-to-end, egress phải quảng bá explicit null (label 0), để gói tới egress vẫn còn nhãn mang EXP.
Câu 8MPLS & VPNĐúng hay sai
Mock 3, câu 10
On a BGP/MPLS IP VPN network, PEs can use BGP-4 to advertise VPNv4 routes to each other.
Đáp án: False
BGP-4 thuần chỉ mang IPv4 unicast. VPNv4 phải dùng MP-BGP (mở rộng đa giao thức của BGP).
Câu 9MPLS & VPNĐúng hay sai
Mock 3, câu 11
Two label switching routers (LSRs) exchange Hello messages to trigger the establishment of a Label Distribution Protocol (LDP) session. Hello messages carry transport addresses. The LSR with a smaller transport address initiates the establishment of a TCP connection.
Đáp án: False
LSR có transport address LỚN hơn là bên active, chủ động lập TCP. Bên nhỏ hơn là passive (xem câu 39, 50).
Câu 10MPLS & VPNĐúng hay sai
Mock 3, câu 12
To change the RD of a VPN instance on a BGP/MPLS IP VPN network, you must disable the address family of the VPN instance or delete the VPN instance.
Đáp án: True
Trên Huawei, RD đã cấu hình thì không sửa trực tiếp được. Phải xóa address family của VPN instance (hoặc xóa VPN instance) rồi cấu hình lại.
Câu 11MPLS & VPNĐúng hay sai
Mock 3, câu 15
The path that IP packets pass through on an MPLS network is called a label switched path (LSP). An LSP is a bidirectional path that specifies the transmission direction of data flows.
Đáp án: False
LSP là đường một chiều. Muốn traffic hai chiều thì cần hai LSP.
Câu 12MPLS & VPNĐúng hay sai
Mock 3, câu 16
On a BGP/MPLS IP VPN network, PEs and Ps run MP-BGP to exchange public network labels so that Ps can forward data based on labels.
Đáp án: False
Nhãn public (outer) được phân phối bằng LDP (hoặc RSVP-TE) giữa PE và P. MP-BGP chỉ chạy giữa các PE để trao đổi VPNv4 route và nhãn private. P không chạy MP-BGP.
Câu 13MPLS & VPNChọn một
Mock 3, câu 18
On an MPLS network where LDP is used to establish LSPs, a transit node does not need to receive a label request message from an upstream ingress node, and it distributes a label to the upstream ingress node only after receiving a label mapping message from a downstream egress node. In this case, which of the following is the correct combination of the label advertisement mode and label distribution control mode?
Đáp án: B
Không cần upstream gửi request mà vẫn tự gửi nhãn, đó là DU. Chỉ gửi nhãn lên khi đã nhận mapping từ downstream, đó là ordered. Kết hợp lại là DU + ordered (mặc định của Huawei).
Câu 14MPLS & VPNChọn một
Mock 3, câu 20
In the figure, an administrator needs to enable MPLS LDP on R1 to R4. Which of the following configurations of R1 is correct?
Đáp án: B
Đủ các bước là: mpls lsr-id, rồi mpls toàn cục, rồi mpls ldp toàn cục, rồi trên interface bật mpls và mpls ldp. A thiếu mpls ldp trên interface. C thiếu lsr-id. D thiếu mpls ldp toàn cục.
Câu 15MPLS & VPNChọn một
Mock 3, câu 22
On an MPLS network where LDP is used to establish LSPs, a transit node directly connected to the ingress node that sends a label request distributes labels to the ingress node only after receiving a label mapping message from the egress node. In this case, which of the following is the correct combination of the label advertisement mode and label distribution control mode?
Đáp án: C
Ingress gửi label request, đó là DoD. Transit chỉ trả nhãn sau khi nhận mapping từ egress, đó là ordered. Kết hợp lại là DoD + ordered.
Câu 16MPLS & VPNChọn một
Mock 3, câu 25
On the network shown in the figure, an administrator first completes the routing configuration, and then enables MPLS and LDP on R1, R2, and R3 and their interconnected interfaces. In this manner, traffic from PC1 to PC2 can be forwarded based on MPLS. Which of the following routing configurations can implement this function?
Đáp án: A
Mặc định Huawei LDP chỉ cấp nhãn cho route host /32 (lsp-trigger host), nên ở B route /24 của PC chỉ forward IP. C không có route tới PC. D không có IGP, nên loopback không reachable và không có LSP. A dùng BGP route có next hop là loopback /32 (có LSP) cộng với recursive-lookup tunnel, nên traffic PC1 → PC2 đi bằng MPLS.
Câu 17MPLS & VPNChọn một
Mock 3, câu 26
On an MPLS network, data is forwarded based on FIB entries, NHLFEs, and ILM entries. Which of the following is used by a device to match these types of information for data forwarding?
Đáp án: D
FIB entry có Tunnel ID khác 0 thì trỏ tới NHLFE tương ứng. ILM cũng liên kết với NHLFE qua Tunnel ID. Tunnel ID là khóa nối các bảng này lại với nhau.
Câu 18MPLS & VPNChọn một
Mock 3, câu 27
On an MPLS network, when a transit device receives an MPLS packet and is ready to swap labels, it finds that the label value after swapping is 0. In this case, which of the following operations will the device perform?
Đáp án: D
Label 0 (explicit null) được swap như nhãn thường, rồi egress mới pop. Chỉ label 3 (implicit null) mới khiến router áp chót pop nhãn (PHP).
Câu 19MPLS & VPNChọn một
Mock 3, câu 29
When an IP packet enters an MPLS domain, the ingress node checks the tunnel ID corresponding to the destination IP address. Which of the following is the tunnel ID when the ingress node forwards the packet over an IP route?
Đáp án: A
Tunnel ID = 0x0 thì forward IP thông thường. Khác 0x0 thì forward theo MPLS.
Câu 20MPLS & VPNChọn một
Mock 3, câu 31
In the figure, packets are forwarded based on MPLS on the network. When PE2 receives a packet from P2, what is the label value carried in the packet?
Đáp án: D
Out label của P2 là 3 (implicit null), nên P2 thực hiện PHP, pop nhãn 1033 và gửi gói IP không nhãn tới PE2. (Trong hình chỉ có một lớp nhãn.)
Câu 21MPLS & VPNChọn một
Mock 3, câu 32
The MPLS architecture consists of the control plane and forwarding plane, each of which contains multiple protocols and entries. Which of the following tables is used to forward MPLS labeled packets?
Đáp án: B
LFIB (Label Forwarding Information Base) thuộc forwarding plane, dùng để chuyển gói có nhãn. FIB chuyển gói IP. RIB và LIB thuộc control plane.
Câu 22MPLS & VPNChọn một
Mock 3, câu 33
When an administrator runs the label advertise explicit-null command on the egress node of an MPLS network, which of the following labels is distributed to the penultimate hop device?
Đáp án: C
Explicit null là label 0 (IPv4). Mặc định là implicit-null, label 3.
Câu 23MPLS & VPNChọn một
Mock 3, câu 34
The figure shows an MPLS packet with multiple labels. Which of the following values for the S field is correct?
Đáp án: C
S là trường 1 bit (Bottom of Stack). Chỉ nhãn ở đáy stack, sát IP header (S3), có S = 1. Các nhãn phía trên có S = 0.
Câu 24MPLS & VPNChọn một
Mock 3, câu 36
When an IP packet passes through an MPLS network, an MPLS device processes the TTL value in the packet. If the pipe mode is used in the topology shown in the figure, which of the following is the TTL value in the IP packet?
Đáp án: A
Ở pipe mode, IP TTL chỉ giảm tại ingress và egress, các hop trong MPLS chỉ giảm MPLS TTL. Tại ① (PE1 ingress): 255 − 1 = 254. Tại ② (P): IP TTL giữ nguyên 254. Tại ③ (sau PE2 egress): 254 − 1 = 253.
Câu 25MPLS & VPNChọn nhiều
Mock 3, câu 37
In the figure, MPLS runs on R1, R2, and R3, and an administrator configures a static LSP from network segment 1.1.1.0/24 to network segment 3.3.3.0/24. Given this, which of the following statements are true?
Đáp án: A, C
Static LSP chỉ có một chiều R1 → R3 (đích 3.3.3.0/24). Chiều PC1 → PC2, R1 push nhãn 200 và forward MPLS (C). Chiều về PC2 → PC1 không có LSP nên đi IP route (B sai), và vẫn thông vì có route IP (A đúng, D sai).
Câu 26MPLS & VPNChọn nhiều
Mock 3, câu 39
LSRs use the LDP discovery mechanism to discover LDP peers and establish LDP sessions. Which of the following statements are true about LDP sessions?
Đáp án: A, B, C, D
Basic discovery gửi Hello multicast 224.0.0.2 cho local session. Extended discovery gửi Hello unicast cho remote session. Hello đi trên UDP 646, session đi trên TCP 646. Bên có transport address lớn hơn chủ động lập TCP.
Câu 27MPLS & VPNChọn nhiều
Mock 3, câu 42
An administrator runs the display mpls lsp command to view LSPs on a device. The command output is shown in the figure. Which of the following statements are true?
Đáp án: B, C
Thiết bị là 2.2.2.2 (3/NULL, egress cho chính nó). Với 1.1.1.1 và 3.3.3.3, out label đều là 3, nên gói gửi đi không có nhãn (PHP). Nhãn 1026/1027 là nhãn vào (in label). Vì vậy A sai và B đúng. Với 3.3.3.3, entry 1027/3 cho thấy thiết bị là transit áp chót (C). Với 1.1.1.1 thiết bị cũng là áp chót, không phải egress (D sai).
Câu 28MPLS & VPNChọn nhiều
Mock 3, câu 43
On the BGP/MPLS IP VPN network shown in the figure, which of the following RT settings can enable Site1 and Site2 to communicate with Site3?
Đáp án: A, B, D
Hai site thông nhau khi ERT của bên này nằm trong IRT của bên kia, theo cả hai chiều. A: PE3 import và export cả 100:1, 200:1, nên khớp với cả PE1 và PE2. B: mô hình hub-spoke, spoke export 200:1 vào hub, hub export 100:1 về spoke. C: PE1 export 200:1 mà PE3 chỉ import 100:1, nên hỏng. D: tất cả dùng 100:1, full mesh.
Câu 29MPLS & VPNChọn nhiều
Mock 3, câu 45
R1 forwards the packet with the destination IP address of 4.4.4.4 on an MPLS network. Some LSP information of R3 is shown in the figure. During packet transmission, which of the following devices perform MPLS label operations?
Đáp án: A, C, D
R1 push nhãn 1025, R2 swap 1025 thành 1026. R3 có out label 3 nên thực hiện PHP (pop). R4 nhận gói IP thuần nên không thao tác nhãn.
Câu 30MPLS & VPNChọn nhiều
Mock 3, câu 46
An MPLS label is a 20-bit local identifier. Its label space is divided into special label space, static label space, and dynamic label space for signaling protocols. Which of the following are dynamic labels for signaling protocols?
Đáp án: B, C
0-15 là nhãn đặc biệt, 16-1023 là nhãn static, từ 1024 trở lên là nhãn dynamic. Vì vậy 1024 và 1025 là nhãn dynamic.
Câu 31MPLS & VPNChọn nhiều
Mock 3, câu 47
On a BGP/MPLS IP VPN network, which of the following are carried when a PE advertises VPNv4 routes?
Đáp án: A, B, D
VPNv4 route gồm RD + IPv4 prefix, mang theo Export RT (dạng extended community) và nhãn private. Import RT chỉ là cấu hình local để lọc, không được gửi đi.
Câu 32MPLS & VPNChọn nhiều
Mock 3, câu 48
An MPLS label is a 20-bit local identifier. Its label space is divided into special label space, static label space, and dynamic label space for signaling protocols. Which of the following are special labels?
Đáp án: A, D
Nhãn đặc biệt nằm trong dải 0-15, nên 2 và 14 là nhãn đặc biệt. 1022 thuộc dải static, 1025 thuộc dải dynamic.
Câu 33MPLS & VPNChọn nhiều
Mock 3, câu 49
In the figure, a network administrator configures a static LSP to implement MPLS data forwarding. The lower part of the topology shows the packet header information obtained from a device. Which of the following statements are true?
Đáp án: A, B, C, D
Gói Echo request (1.1.1.1 → 3.3.3.3) mang nhãn 300 với S = 1, nên chiều PC1 → PC2 đi bằng MPLS (A) và đây là PC1 ping PC2 (D). Gói Echo reply không có nhãn, nên chiều về đi bằng IP (B). R3 là egress, pop nhãn rồi forward bằng IP route (C).
Câu 34MPLS & VPNChọn nhiều
Mock 3, câu 50
An administrator runs the display mpls ldp session command to check the state of the LDP session between R1 and R2. The command output is shown in the figure. Which of the following statements are true?
Đáp án: B, D
SsnRole của R1 là Passive, tức transport address của R1 nhỏ hơn (A sai). LAM là DU (B). Status là Operational, không phải Initialized (C sai). KASent/Rcv là 133/133 (D).
Câu 35MPLS & VPNChọn nhiều
Mock 3, câu 51
Which of the following commands must be configured when an administrator enables MPLS LDP on GE0/0/1 of a device?
Đáp án: A, B, C, D
Phải bật mpls và mpls ldp ở cả hai mức: toàn cục và interface (cùng với mpls lsr-id). Xem câu 20.
Câu 36MPLS & VPNChọn nhiều
Mock 3, câu 53
On the BGP/MPLS IP VPN network shown in the figure, which of the following RT settings can enable Site1 and Site2 to communicate with Site3 but prevent Site1 and Site2 from communicating with each other?
Đáp án: A, B
A: PE1 dùng 100:1, PE2 dùng 200:1, không import của nhau, nên Site1 và Site2 cách ly, còn PE3 thông với cả hai. B: hub-spoke, hai spoke chỉ import 100:1 do hub export, mà spoke lại export 200:1, nên không thông nhau. C: Site1 không thông được Site3. D: full mesh, Site1 thông Site2.
Câu 37MPLS & VPNChọn nhiều
Mock 3, câu 54
As shown in the figure, an administrator configures a static LSP between R1 and R4. Which of the following configurations are correct?
Đáp án: A, C
Transit bắt buộc có in-label và out-label (incoming-interface là tùy chọn), nên A đúng, còn B thiếu in-label. Egress cần in-label, nên C đúng. Ingress không có tham số incoming-interface, nên D sai.
Câu 38MPLS & VPNĐiền vào
Mock 3, câu 56
On an MPLS network, if the value of the S field in an MPLS packet received by the egress node is _____, the label is at the bottom of the stack and the egress node forwards the packet over an IP route. (Enter only digits.)
Đáp án: 1
S = 1 nghĩa là nhãn ở đáy stack. Pop xong thì bên dưới là gói IP, nên egress forward bằng IP route.
Câu 39MPLS & VPNĐiền vào
Mock 3, câu 57
On a BGP/MPLS IP VPN network, _____ is used to distinguish IPv4 prefixes with the same address space. In this case, IPv4 addresses are called VPNv4 addresses. (Enter the acronym in uppercase.)
Đáp án: RD
RD (Route Distinguisher, 8 byte) ghép với IPv4 prefix (4 byte) tạo thành địa chỉ VPNv4 (12 byte), giúp phân biệt các VPN dùng trùng dải địa chỉ.
Câu 40MPLS & VPNĐúng hay sai
Mock 4, câu 9
An MPLS header is added between the data link layer and the network layer to implement fast data forwarding. MPLS can support multi-layer MPLS label nesting.
Đáp án: True
MPLS header (shim) nằm giữa lớp 2 và lớp 3, và hỗ trợ label stack nhiều lớp (ví dụ trong VPN, TE, FRR).
Câu 41MPLS & VPNĐúng hay sai
Mock 4, câu 10
In CE multi-homing scenarios, if BGP AS number substitution is enabled on PEs, you can run the peer soo command on the EBGP peers of the PEs and CE to configure the Site of Origin (SoO) attribute to prevent loops.
Đáp án: True
Khi dùng substitute-as, AS của site bị thay nên cơ chế chống loop bằng AS_Path mất tác dụng. Lệnh peer soo gắn SoO để PE không quảng bá route trở lại site gốc.
Câu 42MPLS & VPNĐúng hay sai
Mock 4, câu 14
MPLS supports nesting of multiple labels. After receiving an MPLS packet, a device first processes the label next to the Layer 2 header, that is, the top MPLS label.
Đáp án: True
Thiết bị luôn xử lý nhãn trên cùng (top label, sát header lớp 2) trước.
Câu 43MPLS & VPNChọn một
Mock 4, câu 20
The figure shows the LSP information of R1 and R3 on an MPLS network. An administrator runs the ping -a 1.1.1.1 3.3.3.3 command on R1. Given this, which of the following statements is true?
Đáp án: A
Trên R1, FEC 3.3.3.3/32 có entry ingress NULL/1025, nên request tới R2 mang nhãn 1025. Trên R3, FEC 1.1.1.1/32 có NULL/1024, nên reply (đích 1.1.1.1) tới R2 mang nhãn 1024.
Câu 44MPLS & VPNChọn một
Mock 4, câu 28
The following figure shows the MPLS VPN topology in Hub&Spoke networking mode. Sites 1 and 3 are spokes, and site 2 is a hub. Spokes communicate with each other through the hub. Which of the following should be set for X and Y in the figure?
Đáp án: C
VPN_in trên Hub-PE phải import mọi route spoke export ra: Spoke-PE1 export 100:1, Spoke-PE2 export 200:1, nên X = 100:1, 200:1. VPN_out phải export đúng RT mà các spoke import (100:1), nên Y = 100:1.
Câu 45MPLS & VPNChọn một
Mock 4, câu 29
By default, which of the following routes triggers the establishment of LDP LSPs?
Đáp án: A
Mặc định Huawei dùng lsp-trigger host, nên chỉ route host /32 mới kích hoạt tạo LDP LSP.
Câu 46MPLS & VPNChọn một
Mock 4, câu 31
The figure shows the LSP information of R1 and R3 on an MPLS network. An administrator runs the ping -a 10.1.12.1 3.3.3.3 command on R1. Given this, which of the following statements is true?
Đáp án: B
Request có đích 3.3.3.3, nên vẫn đi LSP với nhãn 1025. Reply có đích 10.1.12.1, mà R3 không có LSP cho 10.1.12.0/24 (LDP chỉ cho /32), nên reply đi IP không nhãn.
Câu 47MPLS & VPNChọn một
Mock 4, câu 32
When LDP is deployed to distribute labels on an MPLS network, to establish LSPs on demand and save label space as much as possible, which of the following should be the combination of label distribution control mode and label retention mode?
Đáp án: A
DoD chỉ cấp nhãn khi có yêu cầu, tức LSP được lập theo nhu cầu. Conservative chỉ giữ nhãn từ next hop hiện tại, nên tiết kiệm nhãn. Kết hợp lại là DoD + Conservative.
Câu 48MPLS & VPNChọn một
Mock 4, câu 33
Which of the following commands must be configured before an administrator enables MPLS LDP on a device?
Đáp án: A
mpls lsr-id phải cấu hình đầu tiên, trước cả lệnh mpls toàn cục. Các lệnh còn lại đều là bước bật MPLS/LDP sau đó.
Câu 49MPLS & VPNChọn một
Mock 4, câu 34
Which of the following statements about BGP/MPLS IP VPN is incorrect?
Đáp án: A
Nhãn public (outer) do LDP (hoặc RSVP-TE) cấp, còn nhãn private (inner, VPN) do MP-BGP cấp. Nói tất cả nhãn đều do LDP cấp là sai.
Câu 50MPLS & VPNChọn nhiều
Mock 4, câu 40
When MPLS VPN is deployed, PEs and CEs can exchange routing information through static routes, IGP, or BGP. Which of the following operations can be used to prevent routing loops when PEs and CEs exchange routing information through OSPF?
Đáp án: A, C, D
DN bit, VPN route tag và lọc route bằng routing policy đều là các cơ chế chống loop khi PE-CE chạy OSPF. Sham link được lập giữa hai PE (không phải giữa PE và CE), dùng để xử lý backdoor link chứ không phải để chống loop.
Câu 51MPLS & VPNChọn nhiều
Mock 4, câu 43
The figure shows information about VPN1 on a PE on a BGP/MPLS IP VPN network. When the VPNv4 route corresponding to VPN1 is advertised to the remote PE, which VPNs of the remote PE will accept the route?
Đáp án: B, C, D
Route mang Export RT 100:1, 200:1 và 300:1. VPN nào ở PE đầu xa có Import RT trùng ít nhất một giá trị thì nhận route: VPN3 (100:1, 300:1), VPN2 (200:1), VPN1 (100:1). VPN4 (500:1) không trùng.
Câu 52MPLS & VPNChọn nhiều
Mock 4, câu 47
LDP sessions have been established between three devices on an MPLS network. Which of the following operations will cause the local LDP session to be re-established?
Đáp án: B, C
Label advertisement mode (DU/DoD) được thương lượng khi lập session, và transport address là địa chỉ TCP của session, nên thay đổi một trong hai thì session phải lập lại. Cấu hình PHP và TTL mode không reset session.
Câu 53MPLS & VPNChọn nhiều
Mock 4, câu 55
When a static LSP is configured, which of the following labels can be used as the incoming label of a transit LSR?
Đáp án: A, D
Nhãn static nằm trong dải 16-1023, nên 1000 và 343 dùng được. 0 và 3 là nhãn đặc biệt.