Huawei H12-821 HCIP-Datacom-Core Practice Questions with Explanations
Free Huawei H12-821 HCIP-Datacom-Core practice questions. 85 of them, each with the correct answer, a full explanation, and the reason every other option is wrong.
H12-821 practice questions
Question 1
To prevent inter-area routing loops, OSPF does not allow advertising routing information between two non-backbone areas and allows advertising routing information only within an area or between the backbone area and a non-backbone area. Therefore, each ABR must be connected to the backbone area.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
OSPF routes between areas only through the backbone, area 0. An area border router therefore has to attach to the backbone so that routes can pass between its areas.
Why the other options are wrong:
- B. The statement is correct: inter-area routes only flow via area 0, so every ABR needs a connection to it.
Question 2
Which of the following statements regarding OSPF packets is false?
- A. DD packets contain all LSA information and can be used to periodically synchronize LSOB information between neighbors.
- B. Hello packets are used to discover and maintain OSPF neighbor relationships and also can be used to elect DR and BDR on broadcast and NBMA networks.
- C. Two routers must send Hello packets at the same interval. Otherwise, they cannot establish an OSPF neighbor relationship.
- D. DD packets carry LSA header information to describe link state summary information.
Show answer and explanation ▾
Correct answer: A
DD packets carry only LSA headers, a summary of the link state database, and they are exchanged when an adjacency is formed. Full LSAs travel in LSU packets, so option A is the false statement.
Why the other options are wrong:
- B. This is true: Hello packets discover and maintain neighbors and take part in the DR and BDR election.
- C. This is true: the Hello interval has to match for a neighbor relationship to form.
- D. This is true: DD packets list LSA headers as a summary of the database.
Question 3
Which of the following statements regarding OSPF neighbor relationship and adjacency is true?
- A. Not all neighbors can establish adjacencies.
- B. Neighbor relationships are selected from adjacencies to exchange routing information.
- C. OSPF routers must establish an adjacency before exchanging information.
- D. Adjacencies are maintained using OSPF DD packet
Show answer and explanation ▾
Correct answer: A
Routers become neighbors when they see each other's Hellos, but only some neighbors go on to form adjacencies. On broadcast networks, for example, two non-DR routers stay as neighbors without an adjacency.
Why the other options are wrong:
- B. It is the other way round: adjacencies are chosen from among the neighbors.
- C. Routers exchange Hello packets as neighbors before any adjacency exists, so OSPF routers do exchange information before an adjacency is formed.
- D. Hello packets maintain the relationship; DD packets are used while the database is first exchanged.
Question 4
Which of the following statements regarding different LSA types is false?
- A. LS Update packets contain complete LSA information.
- B. LS Ack packets contain complete LSA information.
- C. LS Request packets contain only LS Type, LS ID, and Advertising Rooter.
- D. DD packets contain only LSA summary information, including LS Type, LS ID, Advertising Router, and LS Sequence Number.
Show answer and explanation ▾
Correct answer: B
LS Ack packets only confirm receipt of LSAs, so they carry LSA headers rather than the complete LSAs. Complete LSAs are sent in LS Update packets.
Why the other options are wrong:
- A. This is true: LS Update packets carry the full LSAs.
- C. This is true: an LS Request names the LSAs wanted by type, ID and advertising router.
- D. This is true: DD packets list LSA header summaries.
Question 5
Which of the following statements about IS-IS Hello packets are true? (Choose all that apply.)
- A. Level-1 LAN IIH packets do not contain the System ID field.
- B. P2P IIH packets and LAN IIH packets are exactly the same.
- C. P2P IIH packets do not contain the Priority field.
- D. Level-1 LAN IIH packets are sent in multicast mode.
Show answer and explanation ▾
Correct answer: C, D
P2P IIH packets have no Priority field because a point-to-point link elects no DIS; they carry a Local Circuit ID instead. Level-1 LAN IIH packets are sent to a Level-1 multicast MAC address on broadcast links.
Why the other options are wrong:
- A. LAN IIH packets carry the sender's system ID in the Source ID field.
- B. The two formats differ: LAN IIHs carry Priority and LAN ID fields, while P2P IIHs carry a Local Circuit ID.
Question 6
Which cost types are supported in IS-IS? (Choose all that apply.)
- A. default
- B. wide
- C. ToS
- D. Narrow
Show answer and explanation ▾
Correct answer: A, B, C, D
IS-IS defines a default metric alongside optional type-of-service metrics, and it supports both the narrow and the wide cost styles, so all four listed cost types are supported.
Question 7
Two Level-1 routers in different areas can establish a neighbor relationship.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
A Level-1 adjacency forms only between routers that share the same area address. Two Level-1 routers in different areas cannot become neighbors.
Why the other options are wrong:
- A. Level-1 neighbors must be in the same area; only Level-2 adjacencies can cross area boundaries.
Question 8
Which of the following attributes must be carried in an Update message?
- A. local-Pref
- B. MED
- C. AS_Path
- D. PrefVal
Show answer and explanation ▾
Correct answer: C
AS_Path is a well-known mandatory attribute, together with Origin and Next_Hop, so every Update message that advertises routes must carry it.
Why the other options are wrong:
- A. Local_Pref is well-known discretionary and is only carried between IBGP peers.
- B. MED is an optional non-transitive attribute and does not have to be present.
- D. PrefVal is a Huawei-specific local value that is never carried in Update messages.
Question 9
Which of the following routing policy tools can be used to add or delete an AS path?
- A. filter-policy
- B. community-filter
- C. ip-prefix
- D. ip as-path-filter
Show answer and explanation ▾
Correct answer: D
Of the tools listed, only the AS path filter works on the AS_Path attribute of BGP routes. It uses regular expressions to match the AS numbers a route carries, so it is the tool used when a policy acts on AS paths.
Why the other options are wrong:
- A. A filter-policy filters routes that a routing protocol receives or advertises and does not work on the AS_Path attribute.
- B. This filter matches a different BGP attribute, not the AS_Path.
- C. An IP prefix list matches route prefixes and mask lengths, not AS paths.
Question 10
BGP routers establish peer relationships using UDP.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
BGP runs over TCP, using port 179. Peers must complete a TCP connection before they exchange Open messages, so UDP is not involved.
Why the other options are wrong:
- A. BGP relies on TCP port 179 for reliable transport, not UDP.
Question 11
The Hold time in the Open message sent by BGP Peer A is 90s, while that in the Open message sent by Peer B is 30s.
What is the interval for sending Keepalive messages after the two peers establish a connection?
- A. No Keepalive messages will be sent
- B. 90s
- C. 10s
- D. 30s
Show answer and explanation ▾
Correct answer: C
Peers use the smaller of the two Hold time values, here 30 seconds. The Keepalive interval is one third of the negotiated Hold time, which gives 10 seconds.
Why the other options are wrong:
- A. Keepalives stop only when the negotiated Hold time is 0, and here it is 30 seconds.
- B. 90 seconds is the larger Hold time, which is not used after negotiation.
- D. 30 seconds is the negotiated Hold time, not the Keepalive interval.
Question 12
According to BGP route selection rules, the route with the largest MED value is preferred.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
MED works like a metric: when routes come from the same neighboring AS and earlier attributes tie, BGP prefers the route with the smallest MED value.
Why the other options are wrong:
- A. A larger MED makes a route less preferred, because the smallest MED wins.
Question 13
Which of the following statements regarding authentication in BGP configuration is true?
- A. A pair of BGP peers must use the same plaintext password.
- B. All BGP peers of a router must use the same password.
- C. All the routers in the same AS must use the same password.
- D. A pair of BGP peers must use the same MD5 password.
Show answer and explanation ▾
Correct answer: D
BGP authentication is configured per peer and uses MD5 on the TCP session. The two ends of a peer relationship must use the same MD5 password, or the TCP connection cannot be set up.
Why the other options are wrong:
- A. Peer authentication relies on an MD5 digest of the password, not on a plaintext password check.
- B. Passwords are set per peer, so one router can use a different password with each of its peers.
- C. There is no AS-wide password; only the two ends of each peer relationship have to match.
Question 14
Preferences of routing protocols determine the sequence in which a router selects a route among routes to the same destination learned through different routing protocols.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
When several protocols offer a route to the same destination, the router compares their preference values and installs the route from the protocol with the smallest value, which is the highest preference.
Why the other options are wrong:
- B. Protocol preference is exactly what ranks routes to the same destination learned from different protocols.
Question 15
Which of the following attributes cannot be directly referenced in an apply clause of a route-policy?
- A. IP-prefix
- B. origin
- C. tag
- D. community
Show answer and explanation ▾
Correct answer: A
An IP prefix list is a matching tool: it is referenced in an if-match clause to select routes. It is not a route attribute, so an apply clause cannot set it.
Why the other options are wrong:
- B. The origin attribute can be set directly with an apply clause.
- C. A route tag can be set directly with an apply clause.
- D. This BGP attribute can be set directly with an apply clause.
Question 16
To filter traffic, you can use the traffic-filter or MQC. The MQC can be applied in more views than the traffic-filter.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
MQC builds a traffic policy from a classifier and a behavior, and the policy can be applied in several views, such as on an interface, on a VLAN, or globally. The simplified traffic-filter command has a narrower scope of application.
Why the other options are wrong:
- B. A traffic policy built with MQC can be applied in more places than the traffic-filter command.
Question 17
Which of the following route selection tools can be used by other routing protocols in addition to BGP? (Choose two.)
- A. community-filter
- B. ACL
- C. IP-prefix
- D. as-path-filter
Show answer and explanation ▾
Correct answer: B, C
ACLs and IP prefix lists match the destination prefix of a route, which every routing protocol has, so OSPF, IS-IS and other protocols can use them as well as BGP.
Why the other options are wrong:
- A. This filter matches an attribute that only BGP routes carry, so only BGP can use it.
- D. The AS path filter matches the AS_Path attribute, which only BGP routes carry.
Question 18
The following is part of configuration on the router.
Which of the following statements regarding the configuration is true?
[HUAWEI]ip ip-prefix pl permit 10.0.192.0 8 greater-equal 17 less-equal 18
- A. In the 10.0.192.0/8 network segment, a route with a mask length of 18 matches the prefix list, and behavior for the matching routes is permit.
- B. In the 10.0.192.0/8 network segment, a route with a mask length of 20 matches the prefix list, and behavior for the matching routes is permit.
- C. In the 10.0.192.0/8 network segment, a route with a mask length of 19 matches the prefix list, and behavior for the matching routes is permit.
- D. In the 10.0.192.0/8 network segment, a route with a mask length of 21 matches the prefix list, and behavior for the matching routes is permit.
Show answer and explanation ▾
Correct answer: A
The entry matches routes whose first 8 bits equal those of 10.0.192.0 and whose mask length is between 17 and 18. A route with a mask length of 18 falls in that range and is permitted.
Why the other options are wrong:
- B. A mask length of 20 is above the less-equal value of 18.
- C. A mask length of 19 is above the less-equal value of 18.
- D. A mask length of 21 is above the less-equal value of 18.
Question 19
The Rapid Spanning Tree Protocol (RSTP) defines four port roles. The Flags fields indicating the alternative and backup port roles in RST BPDUs are the same, that is, 01.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
RSTP defines the root, designated, alternate and backup port roles. The two port role bits in the Flags field of an RST BPDU use the same value, 01, for both the alternate and the backup role.
Why the other options are wrong:
- B. Alternate and backup ports share the value 01 in the port role bits; root ports use 10 and designated ports use 11.
Question 20
A source tree is the shortest path from a multicast source to receiver hosts, it is also called a shortest path tree (SPT).
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
A source tree is rooted at the multicast source and follows the shortest path to each receiver, which is why it is also called a shortest path tree (SPT).
Why the other options are wrong:
- B. The source tree and the shortest path tree are the same thing.
Question 21
When 0SPFv3 runs on a Huawei router, the router automatically selects an interface address as the Router ID of the OSPFv3 process.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
An OSPFv3 router ID is a 32-bit value written like an IPv4 address, and it has to be configured manually in the OSPFv3 process. The router does not pick one automatically from an interface address.
Why the other options are wrong:
- A. OSPFv3 does not select a router ID from interface addresses; it must be set with the router-id command.
Question 22
Which of the following statements regarding Network Address and Port Translation (NAPT) and No Port Translation (No-PAT) is true? (Choose two.)
- A. In NAPT mode, only the network layer protocol address can be converted.
- B. After NAPT translation, all packets are from the same IP address for external users.
- C. In No-PAT mode, only the transport layer protocol port number can be converted.
- D. In No-PAT mode, the network layer protocol address can be converted.
Show answer and explanation ▾
Correct answer: B, D
NAPT translates both the IP address and the port, so many internal hosts share one public address and external users see all packets coming from that address. No-PAT translates only the network layer address and leaves ports unchanged.
Why the other options are wrong:
- A. NAPT translates the transport layer port as well as the IP address.
- C. No-PAT does not translate port numbers at all; it translates the IP address.
Question 23
Which of the following parameters are used in a firewall security policy to match traffic? (Choose all that apply.)
- A. Application
- B. Source security zone
- C. Source IP address
- D. Packet size
Show answer and explanation ▾
Correct answer: A, B, C
A firewall security policy matches traffic on conditions such as source and destination security zones, source and destination addresses, users, services and applications, then applies a permit or deny action.
Why the other options are wrong:
- D. Packet size is not one of the matching conditions of a security policy.
Question 24
The stateful inspection firewall uses the session table to trace activated TCP and UDP sessions, firewall security policies determine which sessions are established, and only the packets associated with sessions are forwarded.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
A stateful inspection firewall checks the first packet of a flow against its security policies and creates a session entry when the flow is allowed. Later packets are forwarded only when they match an existing session.
Why the other options are wrong:
- B. The statement describes how session-based stateful inspection works.
Question 25
Which command is used to enable association between BFD and VRRP?
- A. vrrp vrid 1 track bfd-session session-name 1 reduced 100
- B. vrrp vrid 1 track bfd-session-name 1 reduced 100
- C. bfd-session vrrp vrid 1 track session-name 1 reduced 100
- D. track vrrp vrid 1 bfd-session session-name 1 reduced 100
Show answer and explanation ▾
Correct answer: A
On a Huawei device the association is configured in the interface view with vrrp vrid, followed by track bfd-session and the session name, and then reduced with the priority value to subtract when the BFD session goes down.
Why the other options are wrong:
- B. bfd-session-name is not a valid parameter; the command uses track bfd-session followed by session-name.
- C. The command starts with vrrp vrid, not with bfd-session.
- D. The command starts with vrrp vrid, and track comes after the VRID.
Question 26
BFD control packets are encapsulated in UDP packets for transmission.
What is the destination port number of multi-hop BFD control packets?
- A. 4784
- B. 2784
- C. 5784
- D. 3784
Show answer and explanation ▾
Correct answer: A
Multi-hop BFD control packets use UDP destination port 4784. Single-hop BFD control packets use port 3784.
Why the other options are wrong:
- B. 2784 is not a BFD control packet port.
- C. 5784 is not a BFD control packet port.
- D. 3784 is the destination port of single-hop BFD control packets.
Question 27
One VRRP virtual router can only have the virtual IP address.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
A VRRP virtual router is identified by its VRID and can be configured with more than one virtual IP address, so it is not limited to a single address.
Why the other options are wrong:
- A. Several virtual IP addresses can be assigned to the same virtual router.
Question 28
The interface IP address and VRRP virtual IP address can be the same
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
The virtual IP address can be the real IP address of an interface in the VRRP group. That device is then the IP address owner, takes priority 255 and becomes the master whenever it is working.
Why the other options are wrong:
- B. Using an interface address as the virtual IP address is allowed and makes that device the IP address owner.
Question 29
Which of the following statements about a DHCP server on a large-scale Layer 3 WLAN are false? (Choose all that apply.)
- A. APs can obtain the AC’s IP address from a DHCP server using Option 43.
- B. APs can obtain the AC’s IP address from a DHCP server using Option 60.
- C. An independent DHCP server is recommended.
- D. The AC is recommended as a DHCP server.
Show answer and explanation ▾
Correct answer: B, D
On a Layer 3 network APs learn the AC address from DHCP Option 43, not Option 60, which carries the vendor class identifier. On a large-scale WLAN an independent DHCP server is recommended, so making the AC the DHCP server is not the recommended design.
Why the other options are wrong:
- A. This statement is accurate: Option 43 is the option that delivers the AC address to APs.
- C. This statement is accurate: an independent DHCP server is the recommended design on a large network.
Question 30
MAC address-prioritized Portal authentication allows disconnected users who have completed Portal authentication to directly access the network again within a certain period of time after the disconnection without having to perform Portal authentication again.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
With MAC address-prioritized Portal authentication, the server remembers the MAC address of a terminal that passed Portal authentication. For a set period the terminal can reconnect and is authenticated by its MAC address, with no Portal page shown.
Why the other options are wrong:
- B. The statement describes this feature correctly.
Question 31
Which of the following statements about the AC's mobility group are false? (Choose all that apply.)
- A. STAs can roam only between ACs in the same mobility group.
- B. The mobility server must be an AC in the local mobility group.
- C. A mobility server needs to be specified for member ACs in a mobility group.
- D. ACs in the same mobility group encapsulate and transmit roaming information over the DTLS extended tunnel.
Show answer and explanation ▾
Correct answer: A, B
Roaming is not limited to ACs in a mobility group, because a STA also roams between APs managed by one AC, which needs no mobility group. The mobility server does not have to belong to the local mobility group: it can be an AC outside it.
Why the other options are wrong:
- C. This statement is accurate: member ACs can be pointed at a mobility server that maintains the group membership for them.
- D. This statement is accurate: ACs in a mobility group exchange roaming information over a tunnel set up between them.
Question 32
Which of the following IEEE 802.11 standards is also known as Wi-Fi 6?
- A. 802.11n
- B. 802.11b
- C. 802.11ac
- D. 802.11ax
Show answer and explanation ▾
Correct answer: D
Wi-Fi 6 is the Wi-Fi Alliance name for IEEE 802.11ax.
Why the other options are wrong:
- A. 802.11n is Wi-Fi 4.
- B. 802.11b is an early 2.4 GHz standard, not Wi-Fi 6.
- C. 802.11ac is Wi-Fi 5.
Question 33
Which of the following statements about the forwarding plane of a switch is false?
- A. Provides high-speed and non-blocking data channels.
- B. Can collect packet statistics.
- C. Can encapsulate and decapsulate packets.
- D. Consists of main control boards and interface boards.
Show answer and explanation ▾
Correct answer: D
Main control boards belong to the control and management planes, where protocols run and the device is managed. The forwarding plane is made up of the forwarding hardware on the interface boards and the switching fabric.
Why the other options are wrong:
- A. This statement is accurate: the forwarding plane provides high-speed, non-blocking data channels.
- B. This statement is accurate: packet statistics are collected in the forwarding plane.
- C. This statement is accurate: encapsulation and decapsulation are forwarding plane tasks.
Question 34
Which of the following statements regarding DR/BDR are false? (Choose all that apply.)
- A. In a broadcast network, DR and BDR must be elected. A broadcast network without a DR or BDR cannot operate normally.
- B. All DR others establish neighbor relationships with DR and BDR only.
- C. DR others listen on the multicast address 224.0.0.5.
- D. DR others listen on the network address 224.0.0.6.
Show answer and explanation ▾
Correct answer: A, D
A broadcast network works with a DR and no BDR, so having both is not a condition for normal operation. DR others listen on 224.0.0.5 (all OSPF routers); 224.0.0.6 is the address that the DR and BDR listen on.
Why the other options are wrong:
- B. DR others exchange LSAs and reach the Full state only with the DR and the BDR.
- C. This statement is accurate: every OSPF router, including DR others, listens on 224.0.0.5.
Question 35
Which of the following statements regarding router ID in dynamic routing protocols is false?
- A. After a router ID changes, router ID of each protocol will change without requiring additional operations.
- B. If no router ID is manually configured and loopback interface addresses are configured, the largest loopback interface address is used as the router ID.
- C. If a router ID is manually configured using the router-id command, this router ID will be used.
- D. If no router ID and no loopback interface address are configured, the largest physical interface IP address is used as the router ID.
Show answer and explanation ▾
Correct answer: A
A routing protocol keeps the router ID it started with. After the router ID changes, each protocol process must be reset before it uses the new router ID, so the change does not take effect on its own.
Why the other options are wrong:
- B. This statement is accurate: without a manual router ID, the largest loopback address is chosen.
- C. This statement is accurate: a manually configured router ID always takes priority.
- D. This statement is accurate: with no loopback address, the largest physical interface address is chosen.
Question 36
Which of the following statements regarding OSPF AS-External-LSA are true? (Choose all that apply.)
- A. Net mask is set to all 0s.
- B. Advertising Router is set as the router ID of an ASBR.
- C. Link State ID and Advertising Router can uniquely identify an AS-External-LSA.
- D. Link State ID is set as an address on the destination network segment.
Show answer and explanation ▾
Correct answer: B, C, D
An AS-External-LSA is originated by an ASBR, so its Advertising Router field holds the router ID of that ASBR. Its Link State ID is the IP address of the destination network, and the Link State ID together with the Advertising Router tells one AS-External-LSA from another.
Why the other options are wrong:
- A. The network mask field carries the mask of the advertised external destination; it is all 0s only for a default route.
Question 37
Which of the following statements regarding BGP message types and characteristics is false?
- A. Hello messages are periodically sent between BGP peers to maintain their connection.
- B. Update messages are used to exchange routing information between BGP peers.
- C. Open messages are used to establish a peer relationship between two neighbors.
- D. Notification messages are used to transmit error information between BGP Speakers.
Show answer and explanation ▾
Correct answer: A
BGP has no Hello message. Peers send Keepalive messages periodically to keep the connection alive; the BGP message types are Open, Update, Notification, Keepalive and Route-refresh.
Why the other options are wrong:
- B. This statement is accurate: Update messages carry advertised and withdrawn routes.
- C. This statement is accurate: Open messages negotiate parameters to set up the peer relationship.
- D. This statement is accurate: Notification messages report errors and close the connection.
Question 38
Which of the following statements about multi-active detection (MAD) in a stack is false?
- A. Two stacks can use the same domain ID when they function as MAD relay agents of each other.
- B. MAD relay detection requires that all stack members be connected to the MAD relay agent and the connected links be added to the same Eth-Trunk.
- C. MAD in direct mode can be implemented through intermediate devices or in full-mesh mode.
- D. MAD can be implemented in direct or relay mode.
Show answer and explanation ▾
Correct answer: A
When two stacks act as MAD relay agents for each other, they must be configured with different MAD domain IDs. With the same domain ID each stack would treat the other's MAD packets as its own.
Why the other options are wrong:
- B. This statement is accurate: in relay mode every member links to the relay agent and the links are bundled in one Eth-Trunk.
- C. This statement is accurate: direct mode detection can run through an intermediate device or over full-mesh links.
- D. This statement is accurate: direct mode and relay mode are the two MAD implementations.
Question 39
Which of the following values can be used to set security levels of user-defined zones of USG series firewalls? (Choose all that apply.)
- A. 40
- B. 80
- C. 100
- D. 150
Show answer and explanation ▾
Correct answer: A, B, C
The security level of a zone on a USG firewall is a number from 1 to 100, with a larger number meaning a more trusted zone. The values 40, 80 and 100 are inside that range.
Why the other options are wrong:
- D. 150 is above the maximum security level of 100.
Question 40
Which of the following is correct procedure for a DHCP client to apply for an IP address from a DHCP server?
1. The host sends a DHCP Request message to request an IP address.
2. The DHCP server responds with a DHCP Offer packet.
3. The host sends a DHCP Discover packet to search for the DHCP server.
4. After receiving the request, the server returns an ACK message.
- A. 1-4-3-2
- B. 3-4-1-2
- C. 1-2-3-4
- D. 3-2-1-4
Show answer and explanation ▾
Correct answer: D
A client first broadcasts a DHCP Discover, the server answers with a DHCP Offer, the client then sends a DHCP Request for the offered address, and the server confirms with a DHCP ACK. That is the order 3-2-1-4.
Why the other options are wrong:
- A. The exchange cannot begin with a Request, because the client has not found a server yet.
- B. An ACK cannot follow the Discover directly; the server first sends an Offer.
- C. The exchange begins with the Discover packet, not the Request.
Question 41
Which of the following LSAs can carry tag information of external routes?
- A. Type 2 LSA
- B. Type 5 LSA
- C. Type 4 LSA
- D. Type 3 LSA
Show answer and explanation ▾
Correct answer: B
A Type 5 AS-External-LSA contains an External Route Tag field, which carries tag information attached to an external route when it is imported into OSPF.
Why the other options are wrong:
- A. A Type 2 Network-LSA describes the routers on a multi-access segment and has no tag field.
- C. A Type 4 LSA describes the route to an ASBR and has no tag field.
- D. A Type 3 LSA describes an inter-area network and has no tag field.
Question 42
Which of the following statements regarding the OSPF protocol are true? (Choose all that apply.)
- A. An AS-External-LSA does not belong to any area.
- B. An AS-External-LSA describes a route from a router to an ASBR.
- C. The cost of a Type 2 external route is only the AS external cost value, ignore AS internal cost value.
- D. An AS-External-LSA describes an AS external route and is flooded outside an AS.
Show answer and explanation ▾
Correct answer: A, C
An AS-External-LSA has AS flooding scope and is not tied to any one area. For a Type 2 external route the cost is only the external cost set at the ASBR; the internal cost to reach the ASBR is not added.
Why the other options are wrong:
- B. The route to an ASBR is described by a Type 4 ASBR-Summary-LSA.
- D. The LSA describes a route to a destination outside the AS, but it is flooded inside the OSPF AS, not outside it.
Question 43
When the MTUs of two interfaces connecting two routers in a broadcast network do not match, which of the following statements of two routers regarding OSPF neighbor state change is true?
- A. The OSPF neighbor state remains Init.
- B. The OSPF neighbor state remains Exstart.
- C. The OSPF neighbor state can be Full.
- D. The OSPF neighbor state remains 2-way.
Show answer and explanation ▾
Correct answer: B
The interface MTU is carried in Database Description packets. When the two values differ, the routers reject each other's DD packets, so the master and slave negotiation never completes and the neighbor state stays at ExStart.
Why the other options are wrong:
- A. Hello packets do not carry the MTU, so the neighbors get past Init.
- C. Full cannot be reached because the DD exchange fails.
- D. The routers move beyond 2-way to start the DD exchange, where the mismatch is detected.
Question 44
Which of the following methods is usually used by a network administrator to configure a newly purchased device for the first time?
- A. Telnet
- B. SNMP
- C. Login through the Console port
- D. FTP
Show answer and explanation ▾
Correct answer: C
A new device has no IP address or remote login configuration, so the administrator connects a terminal to the Console port for the first configuration.
Why the other options are wrong:
- A. Telnet needs an IP address and VTY settings that a new device does not have yet.
- B. SNMP is used to monitor and manage a device that is already reachable on the network.
- D. FTP transfers files and is not a way to log in and configure a device.
Question 45
A forwarding information database (FIB) can directly guide packet forwarding on a router.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
The router selects the best routes in its routing table and downloads them to the FIB. The forwarding plane looks up the FIB for each packet to find the outbound interface and next hop.
Why the other options are wrong:
- B. The FIB is the table the forwarding plane uses directly to forward packets.
Question 46
Which of the following LSAs are advertised only within a single area? (Choose two.)
- A. Network LSA
- B. Router LSA
- C. Summary LSA
- D. AS External LSA
Show answer and explanation ▾
Correct answer: A, B
Router-LSAs (Type 1) and Network-LSAs (Type 2) describe the topology of one area and are flooded only inside the area where they originate.
Why the other options are wrong:
- C. Summary LSAs are generated by ABRs to carry routing information from one area into other areas.
- D. AS External LSAs are flooded throughout the OSPF AS, except into stub areas and NSSAs.
Question 47
Which of the following statements regarding OSPF is true?
- A. OSPF does not have an acknowledgement mechanism. Therefore, OSPF relies on the upper-layer protocol, TCP, for acknowledgement.
- B. OSPF performs LSDB update every 30 minutes.
- C. OSPF uses the Bellman-Ford algorithm, and each router independently runs this algorithm.
- D. OSPF floods an LSU packet at an interval of 5s.
Show answer and explanation ▾
Correct answer: B
Each router re-originates its own LSAs every 30 minutes, the LSRefreshTime defined for OSPF, so the LSDB is refreshed on that cycle even when the network is stable.
Why the other options are wrong:
- A. OSPF runs directly over IP as protocol 89 and acknowledges LSAs itself, without TCP.
- C. OSPF builds its shortest path tree with the Dijkstra algorithm, not Bellman-Ford.
- D. LSU packets are sent when LSAs need to be flooded, not on a 5 second cycle; 5 seconds is the retransmission interval.
Question 48
In the OSPF protocol, intra-area route calculation involves only Router LSA, Network LSA, and Summary LSA.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
Intra-area routes are calculated from Router LSAs (Type 1) and Network LSAs (Type 2) only. Summary LSAs (Type 3) describe routes to other areas and are used for inter-area route calculation.
Why the other options are wrong:
- A. Summary LSAs are used for inter-area routes, not intra-area route calculation.
Question 49
Which of the following statements regarding OSPF multi-instance is false?
- A. Route exchange between different OSPF processes is similar to route exchange between different routing protocols.
- B. An interface of a router belongs to only a certain OSPF process.
- C. The OSPF process IDs must be the same when OSPF neighbor relationships are established between different routers.
- D. Multiple OSPF processes can run on the same router, and they are independent of each other.
Show answer and explanation ▾
Correct answer: C
An OSPF process ID is only locally significant. Two routers can become neighbors even when their OSPF process IDs differ, so the statement that the process IDs must match is the false one.
Why the other options are wrong:
- A. This is accurate: routes pass between OSPF processes by import, as between different routing protocols.
- B. This is accurate: an interface belongs to only one OSPF process.
- D. This is accurate: several independent OSPF processes can run on one router.
Question 50
In an OSPF routing domain, two routers must be specified as one DR and one BDR in a broadcast or NBMA network with at least two routers.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
On broadcast and NBMA networks OSPF elects a DR and a BDR. The other routers form full adjacencies only with these two, which cuts the number of adjacencies and the amount of LSA flooding on the segment.
Why the other options are wrong:
- B. Broadcast and NBMA segments do use a DR and a BDR, so the statement is not false.
Question 51
Multiple BGP processes cannot be configured on the same router.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
VRP supports BGP multi-instance, where an additional BGP instance runs on the same router alongside the base BGP instance. The statement that this cannot be configured is therefore false.
Why the other options are wrong:
- A. A router is not limited to a single BGP instance, so the statement is not true.
Question 52
Which of the following parameters are not mandatory during the configuration of a BGP peer? (Choose all that apply.)
- A. password
- B. Peer IP address
- C. as-number
- D. description
Show answer and explanation ▾
Correct answer: A, D
A BGP peer is created with the peer's IP address and its AS number. The authentication password and the description are optional additions to that peer.
Why the other options are wrong:
- B. The peer IP address is required to identify the peer.
- C. The AS number is required when the peer is created.
Question 53
Which of the following statements regarding the MED value in BGP are true? (Choose all that apply.)
- A. According to BGP route selection rules, the MED value has a lower priority than AS Path, Preferred-Value, Local-Preference, and Origin.
- B. The default MED value of BGP routes is 0.
- C. By default, BGP can compare the MED values of routes from different ASs.
- D. By default, if there is no MED value in routes, the value 0 is used. If the bestroute med-none-as-maximum command is configured, the maximum MED value 4294967295 is used.
Show answer and explanation ▾
Correct answer: A, B, D
In BGP route selection MED is compared after Preferred-Value, Local-Preference, AS_Path and Origin. A route without a MED is treated as MED 0 by default, and the bestroute med-none-as-maximum command makes the router treat it as 4294967295 instead.
Why the other options are wrong:
- C. By default MED is compared only between routes from the same neighboring AS.
Question 54
Which of the following statements regarding the summary automatic command and BGP route summarization is false?
- A. This command is used to implement automatic summarization. Automatic summarization takes precedence over manual summarization
- B. After this command is configured, BGP sends only the summarized routes to peers
- C. This command enables automatic summarization for the locally imported routes
- D. After this command is configured, BGP summarizes routes based on natural network segments
Show answer and explanation ▾
Correct answer: A
The summary automatic command does enable automatic summarization, but manual summarization configured with the aggregate command takes precedence over it. The claim that automatic summarization wins is the false statement.
Why the other options are wrong:
- B. This is accurate: after automatic summarization only the summarized routes are sent to peers.
- C. This is accurate: the command summarizes locally imported routes.
- D. This is accurate: routes are summarized on natural network segment boundaries.
Question 55
When two BGP peers support different Hold Time, they will negotiate to support the shortest Hold Time interval they can support.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
Each peer sends its Hold Time in the Open message. When the two values differ, both peers use the smaller one for the session.
Why the other options are wrong:
- B. The peers do negotiate to the smaller Hold Time, so the statement is not false.
Question 56
In the VRP, by default, the routes imported by BGP will be automatically summarized.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
Automatic summarization of imported routes is disabled by default in BGP on VRP. It takes effect only after the summary automatic command is configured.
Why the other options are wrong:
- A. Imported routes are not summarized automatically unless summary automatic is configured.
Question 57
Which of the following statements regarding Local-Preference in BGP is true?
- A. Local-Preference affects traffic that enters an AS
- B. Local-Preference can be transmitted between ASs
- C. The default Local-Preference value is 100
- D. Local-Preference is a well-known mandatory attribute
Show answer and explanation ▾
Correct answer: C
Local-Preference has a default value of 100. It is exchanged only between IBGP peers and is used to choose the path for traffic leaving the AS.
Why the other options are wrong:
- A. Local-Preference influences traffic that leaves an AS, not traffic that enters it.
- B. Local-Preference is carried only inside an AS and is not sent to EBGP peers.
- D. Local-Preference is a well-known discretionary attribute, not a mandatory one.
Question 58
Which of the following statements regarding characteristics of IP prefixes is false?
- A. An IP prefix filter provides more powerful route prefix matching function than an ACL.
- B. An IP prefix filter can be used to filter data packets.
- C. An IP prefix filter can match an IP prefix number and a prefix length.
- D. An IP prefix filter is used to filter IP address prefixes.
Show answer and explanation ▾
Correct answer: B
An IP prefix list matches routes by prefix and mask length and is used only to filter routing information. It cannot be used to filter data packets, so that statement is the false one.
Why the other options are wrong:
- A. This is accurate: a prefix list can match the mask length range, which a basic ACL cannot do for routes.
- C. This is accurate: it matches both the prefix and the prefix length.
- D. This is accurate: it filters IP address prefixes.
Question 59
Which of the following statements regarding routing policy and policy-based routing are true? (Choose all that apply.)
- A. A routing policy is used to control import, advertisement, and receiving of routing information.
- B. Policy-based routing is used to control import, advertisement, and receiving of routing information.
- C. Policy-based routing is used to control packet forwarding without following routes in the routing table.
- D. A routing policy is used to control packet forwarding without following routes in the routing table.
Show answer and explanation ▾
Correct answer: A, C
A routing policy works on routing information: it controls which routes are imported, advertised and received and can change their attributes. Policy-based routing works on packets: it forwards matching packets according to the policy instead of the routing table.
Why the other options are wrong:
- B. Policy-based routing acts on packet forwarding, not on routing information.
- D. A routing policy acts on routes, not on how individual packets are forwarded.
Question 60
Access control lists can be classified into which types as follows? (Choose all that apply.)
- A. Basic ACL
- B. User-defined ACL
- C. Advanced ACL
- D. Layer 2 ACL
Show answer and explanation ▾
Correct answer: A, C, D
ACLs are classified by how their rules are defined: basic ACLs (2000 to 2999) match the source address, advanced ACLs (3000 to 3999) match source, destination, protocol and ports, and Layer 2 ACLs (4000 to 4999) match Ethernet frame header fields.
Why the other options are wrong:
- B. It is not one of the basic, advanced and Layer 2 types that this classification names.
Question 61
Which of the following statements about stack split is false?
- A. After a stack splits, the MAC addresses of the two stacks change immediately.
- B. If the master and standby switches are still in the same stack after the stack splits, the slave switches separated from the original master and standby switches re-elect the master and standby switches due to protocol packet timeout.
- C. If the master and standby switches are in two stacks after the split, the stack where the original master switch resides updates the topology and selects a new standby switch. The original standby switch becomes the master switch in the new stack and a new standby switch is elected.
- D. After a stack splits, multiple stacks have the same IP address and MAC address. To prevent network faults, the stacks perform MAD detection. The stack that fails the MAD detection shuts down all physical ports except reserved ports.
Show answer and explanation ▾
Correct answer: A
After a stack splits, the stack MAC address does not change at once. The resulting stacks keep the same MAC and IP addresses for a period, which is why MAD is needed to detect the conflict.
Why the other options are wrong:
- B. This is accurate: the separated slave switches elect a new master and standby after protocol packets time out.
- C. This is accurate: the original master elects a new standby and the original standby becomes master of the other stack.
- D. This is accurate: MAD detects the duplicate addresses and the losing stack shuts down its ports except the reserved ones.
Question 62
In PIM-DM, which of the following processes are involved in SPT establishment? (Choose all that apply.)
- A. Prune
- B. Graft
- C. Flooding
- D. State-refresh
Show answer and explanation ▾
Correct answer: A, B, C
PIM-DM builds the SPT by first flooding multicast data to the whole network, then pruning branches that have no receivers. A pruned branch that later gets a receiver is restored with a Graft.
Why the other options are wrong:
- D. State refresh keeps existing prune state from timing out; it is not a step in building the SPT.
Question 63
Which of the following PIM protocol packets have unicast destination addresses? (Choose all that apply.)
- A. Graft
- B. Bootstrap
- C. Assert
- D. Register Stop
Show answer and explanation ▾
Correct answer: A, D
A Graft message is sent in unicast to the upstream neighbor, and a Register-Stop message is sent in unicast from the RP to the source DR.
Why the other options are wrong:
- B. Bootstrap messages are sent to the multicast address used by all PIM routers.
- C. Assert messages are sent to the multicast address used by all PIM routers on the segment.
Question 64
Which of the following statements regarding multicast MAC addresses are false? (Choose all that apply.)
- A. One multicast MAC address maps to 32 multicast IP addresses.
- B. One multicast MAC address maps to only one multicast IP address.
- C. The high 24 bits of the multicast MAC address are 0x01005f, the 25th bit is fixed to 1, and the lower 23 bits of the MAC address map to the lower 23 bits of the multicast IP address.
- D. A multicast MAC address identifies receivers of a multicast group on the data link layer.
Show answer and explanation ▾
Correct answer: B, C
An IPv4 multicast MAC address starts with 01-00-5E, its 25th bit is 0, and its low 23 bits copy the low 23 bits of the group address. Five bits of the group address are not mapped, so 32 group addresses share each MAC address.
Why the other options are wrong:
- A. This is accurate: 32 multicast IP addresses map to the same multicast MAC address.
- D. This is accurate: a multicast MAC address identifies the group's receivers at the data link layer.
Question 65
ICMPv6 messages are classified as error or informational messages.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
ICMPv6 messages fall into two classes: error messages such as Destination Unreachable and Time Exceeded, and informational messages such as Echo Request and Echo Reply.
Why the other options are wrong:
- B. ICMPv6 does divide its messages into error and informational messages, so the statement is not false.
Question 66
ASPF enables the firewall to support multi-channel protocols such as FTP and to define security policies for complex applications.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
ASPF inspects the application-layer negotiation of multi-channel protocols such as FTP and creates server-map entries for the dynamically negotiated data channels, so their traffic passes without wide-open security policies.
Why the other options are wrong:
- B. ASPF is the firewall function that handles multi-channel protocols such as FTP, so the statement is not false.
Question 67
Which of the following statements about BFD operating modes are true? (Choose all that apply.)
- A. In demand mode, once a BFD session is set up, the system no longer periodically sends BFD Control packets.
- B. Asynchronous mode does not support the Echo function.
- C. In asynchronous mode, two systems periodically exchange BFD Control packets at the negotiated interval. If one system does not receive any BFD Control packets from the other within the detection time, the BFD session is declared down.
- D. Asynchronous mode is the primary BFD operating mode.
Show answer and explanation ▾
Correct answer: A, C, D
Asynchronous mode is the main BFD mode: both systems send Control packets at the negotiated interval and declare the session down when none arrive within the detection time. In demand mode the periodic Control packets stop once the session is up.
Why the other options are wrong:
- B. The Echo function can be used together with asynchronous mode.
Question 68
Which command is used to configure the VRRP preemption delay?
- A. vrrp vrid 1 timer delay 20
- B. vrrp vrid 1 preempt-delay 20
- C. vrrp vrid 1 preempt-mode timer delay 20
- D. vrrp vrid 1 preempt-timer 20
Show answer and explanation ▾
Correct answer: C
On VRP the preemption delay is set in the interface view with vrrp vrid virtual-router-id preempt-mode timer delay delay-value, so vrrp vrid 1 preempt-mode timer delay 20 sets a 20 second delay for group 1.
Why the other options are wrong:
- A. This is not the VRP command that sets the VRRP preemption delay.
- B. This is not the VRP command that sets the VRRP preemption delay.
- D. This is not the VRP command that sets the VRRP preemption delay.
Question 69
The VRID of the VRRP virtual router is 3 and the virtual IP address is 100.1.1.10.
What is the virtual MAC address?
- A. 01-00-5E-00-01-64
- B. 01-00-5E-00-01-03
- C. 00-00-5E-00-01-64
- D. 00-00-5E-00-01-03
Show answer and explanation ▾
Correct answer: D
The virtual MAC address of an IPv4 VRRP router is 00-00-5E-00-01 followed by the VRID in hexadecimal. With VRID 3 it is 00-00-5E-00-01-03, and the virtual IP address plays no part in it.
Why the other options are wrong:
- A. The address does not begin with the multicast prefix 01-00-5E, and its last byte is the VRID, not 0x64.
- B. The VRRP virtual MAC address begins with 00-00-5E, not the multicast prefix 01-00-5E.
- C. The last byte is the VRID 3, not 0x64 taken from the virtual IP address.
Question 70
During the DHCP interaction process, the DHCP server and client exchange various types of packets.
Which of the following packets is not sent from the client to the server?
- A. DHCP Release
- B. DHCP NAK
- C. DHCP Request
- D. DHCP Discover
Show answer and explanation ▾
Correct answer: B
DHCP NAK is sent by the server to tell the client that the requested address cannot be assigned. Discover, Request and Release all travel from the client to the server.
Why the other options are wrong:
- A. DHCP Release is sent by the client to give its address back.
- C. DHCP Request is sent by the client to request or renew an address.
- D. DHCP Discover is sent by the client to find DHCP servers.
Question 71
After HSB is configured, the HSB channel fails to be established and cannot back up information on the active device to the standby device.
What are the possible causes for this HSB function failure? (Choose all that apply.)
- A. The TCP channel is not established.
- B. The retransmission count and interval for HSB service packets are different on the two devices.
- C. The two ACs have the same priority.
- D. The source IP address and port number of the local end are different from the destination IP address and port number of the remote end.
Show answer and explanation ▾
Correct answer: A, B, D
The HSB channel runs over TCP, so it fails when the TCP connection cannot be set up or when the local source IP address and port do not mirror the peer's destination IP address and port. The retransmission count and interval for HSB packets must also be the same on both devices.
Why the other options are wrong:
- C. Device priority is not a parameter of the HSB channel and does not stop it from being established.
Question 72
At which layer does a packet filtering firewall check data packets?
- A. Data link layer
- B. Network layer
- C. Application layer
- D. Physical layer
Show answer and explanation ▾
Correct answer: B
A packet filtering firewall checks each packet against ACL rules built on fields such as the source and destination IP addresses, protocol and ports. This inspection is done at the network layer.
Why the other options are wrong:
- A. Packet filtering is not based on data link layer frame inspection.
- C. Application layer inspection is the job of proxy firewalls, not packet filtering firewalls.
- D. The physical layer carries bits and offers nothing for a firewall to filter on.
Question 73
The native AC function allows an agile switch to integrate AC capabilities, achieving wired and wireless convergence. The agile switch centrally manages wired and wireless service traffic.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
An agile switch with the native AC function works as the AC itself, so it manages APs and processes wireless traffic alongside wired traffic. Wired and wireless services are managed and forwarded in one place.
Why the other options are wrong:
- B. The native AC function does integrate AC capabilities into the agile switch, so the statement is not false.
Question 74
On an OSPF network, routers learn routing information on the entire network by exchanging LSAs.
Which of the following values is the LS Age in the LSA header when an LSA is deleted?
- A. 3600s
- B. 1800s
- C. 1200s
- D. 600s
Show answer and explanation ▾
Correct answer: A
The maximum LS Age of an LSA is 3600 seconds. To delete an LSA, the router floods it with LS Age set to 3600 seconds, and every router removes it from its LSDB.
Why the other options are wrong:
- B. 1800 seconds is the interval at which a router refreshes its own LSAs, not the age used for deletion.
- C. 1200 seconds is not the maximum LS Age used to delete an LSA.
- D. 600 seconds is not the maximum LS Age used to delete an LSA.
Question 75
OSPF has various several areas, such as stub areas and NSSAs. Such areas can be configured to reduce the number of LSAs.
Which of the following statements are true about a stub area? (Choose all that apply.)
- A. Virtual links cannot traverse a stub area.
- B. The backbone area can be configured as a stub area.
- C. All routers in a stub area must be configured with stub attributes.
- D. A stub area cannot receive AS external routes.
Show answer and explanation ▾
Correct answer: A, C, D
A stub area does not accept AS external routes (Type 5 LSAs), every router in the area must be configured with the stub attribute for neighbors to form, and a virtual link cannot pass through a stub area.
Why the other options are wrong:
- B. The backbone area, area 0, cannot be configured as a stub area.
Question 76
On an IS-IS network, each router can generate LSPs.
Which of the following events trigger the generation of a new LSP? (Choose all that apply.)
- A. Related IS-IS interfaces go up or down.
- B. Periodic updates occur.
- C. Inter-area IP routes change.
- D. The IS-IS interface cost is increased.
Show answer and explanation ▾
Correct answer: A, B, C, D
A router generates a new LSP when its link state information changes: a related IS-IS interface goes up or down, inter-area IP routes change, or an interface is assigned a new cost. A new LSP is also generated at each periodic update.
Question 77
On an IS-IS network, each router has at least one NET. If a router is configured with multiple NETs, ensure that these NETs have the same system ID.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
A NET is made up of the area address, the system ID and a selector of 00. A router can have several NETs with different area addresses, but the system ID identifies the router and must be the same in all of them.
Why the other options are wrong:
- B. The system ID must be identical across all NETs on one router, so the statement is not false.
Question 78
Which of the following statements is false about BGP?
- A. PrefVal is Huawei-specific and is valid only on the device where it is configured.
- B. BGP does not periodically advertises routing information.
- C. If a router ID is configured in both the system view and BGP view, the router ID configured in the BGP view is preferred.
- D. Load balancing cannot be implemented because BGP selects only the optimal route.
Show answer and explanation ▾
Correct answer: D
BGP selects one optimal route by default, but load balancing can be enabled with the maximum load-balancing command when several routes are equal through the main selection rules. The claim that load balancing cannot be implemented is false.
Why the other options are wrong:
- A. This is accurate: PrefVal is Huawei-specific and is valid only on the local device.
- B. This is accurate: BGP sends triggered, incremental updates rather than periodic ones.
- C. This is accurate: the router ID configured in the BGP view is preferred over the one in the system view.
Question 79
On a BGP network, which of the following configurations must be performed to establish indirectly connected EBGP peer relationships? (Choose all that apply.)
- A. peer connect-interface
- B. peer as-number
- C. peer ignore
- D. peer ebgp-max-hop
Show answer and explanation ▾
Correct answer: B, D
Any BGP peer must be created with peer as-number. By default EBGP peers must be directly connected, so peer ebgp-max-hop is needed to let the session form across more than one hop.
Why the other options are wrong:
- A. peer connect-interface selects the source interface of the session and is not what permits a multihop EBGP session.
- C. peer ignore shuts down the session with a peer; it is not used to establish one.
Question 80
Route attributes are specific descriptions of routes. BGP route attributes can be classified into four types.
Which of the following are well-known discretionary attributes? (Choose all that apply.)
- A. Community
- B. MED
- C. Local_Preference
- D. Atomic_Aggregate
Show answer and explanation ▾
Correct answer: C, D
Local_Preference and Atomic_Aggregate are well-known discretionary attributes: every BGP router recognizes them, but they do not have to be carried in every Update message. Local_Pref is used only between IBGP peers, and Atomic_Aggregate marks a summary route that has lost path detail.
Why the other options are wrong:
- A. This attribute is optional transitive, so it is not a well-known attribute.
- B. MED is an optional non-transitive attribute.
Question 81
The apply as-path command can be configured for a route-policy to change the AS_Path attribute of BGP routes. To overwrite the original AS_Path with a specified AS number, which of the following parameters can be used?
- A. overwrite
- B. limit
- C. additive
- D. none
Show answer and explanation ▾
Correct answer: A
In a route-policy, apply as-path with the overwrite parameter replaces the original AS_Path of matching routes with the AS numbers specified in the command.
Why the other options are wrong:
- B. limit is not the parameter that replaces the AS_Path with a specified AS number.
- C. additive adds the specified AS number to the existing AS_Path and leaves the original AS numbers in place.
- D. none clears the AS_Path and does not write a specified AS number into it.
Question 82
Which of the following messages are sent when BGP establishes peer relationships? (Choose all that apply.)
- A. Open
- B. Hello
- C. Update
- D. Keepalive
Show answer and explanation ▾
Correct answer: A, D
After the TCP connection is up, the peers exchange Open messages to negotiate parameters, then each confirms with a Keepalive message. Once both Keepalive messages are received, the peer relationship is Established.
Why the other options are wrong:
- B. BGP has no Hello message; neighbor discovery by Hello packets belongs to IGPs such as OSPF and IS-IS.
- C. Update messages carry routes and are exchanged only after the peer relationship is established.
Question 83
When a BGP device sends an Open message to establish a peer connection, which of the following information is carried? (Choose all that apply.)
- A. Local AS number
- B. NLRI
- C. Router ID
- D. Hold time
Show answer and explanation ▾
Correct answer: A, C, D
An Open message carries the BGP version, the sender's AS number, the proposed hold time, the BGP identifier (router ID) and optional parameters used for capability negotiation.
Why the other options are wrong:
- B. NLRI is the prefix information carried in Update messages, not in Open messages.
Question 84
When a router running BGP is in the Connect state, BGP starts the ConnectRetry timer and waits for a TCP connection to be established. If BGP does not receive any response from a BGP peer throughout the ConnectRetry timer, BGP attempts to establish TCP connections with other BGP peers and remains in the Connect state.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: B
When the ConnectRetry timer expires in the Connect state, BGP restarts the timer and starts a new TCP connection attempt to the same configured peer, and it stays in the Connect state. The retry is not redirected to other BGP peers.
Why the other options are wrong:
- A. The retry after the ConnectRetry timer expires targets the same peer, not other BGP peers.
Question 85
Bidirectional route re-advertisement enables a border router to import routes between two routing domains. However, this may cause sub-optimal routes and routing loops.
- A. TRUE
- B. FALSE
Show answer and explanation ▾
Correct answer: A
When two border routers import routes in both directions between two routing domains, a route can be fed back into the domain it came from. Because the original metric is lost on import, routers may prefer the re-imported route, which produces sub-optimal paths or routing loops.
Why the other options are wrong:
- B. Mutual import on multiple border routers is a well-known cause of sub-optimal routing and loops, which is why route filtering or tagging is used with it.
That was 85 of 464.
The full Huawei H12-821 HCIP-Datacom-Core pack has all 464 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. $39.00 USD, paid once, with free monthly updates and a pass-or-your-money-back guarantee.
Get the full packNot ready yet? Get the first 102 free as one PDF by email. Get the Half Pack →
About the H12-821 exam
These 85 Huawei H12-821 HCIP-Datacom-Core questions are free here. The free PDF has 102, free by email.
They are drawn from the same bank as the full H12-821 pack, which has 464 questions in total.