Huawei H12-821 Practice Test Questions and Exam Dumps Part2 Q21-40

View Full Huawei H12-821 Exam Dumps and Practice Test Dumps.


Question 21. In OSPF, which LSA type is generated by an ABR to advertise inter-area network routes into another area?

  1. Type 1 Router LSA
  2. Type 2 Network LSA
  3. Type 5 AS-External LSA
  4. Type 3 Summary LSA

Correct Answer: 4. Type 3 Summary LSA

Explanation:

An OSPF Type 3 Summary LSA is generated by an Area Border Router to advertise network reachability information from one OSPF area into another. This allows routers in different areas to learn inter-area routes without requiring every router to maintain complete topology information for every area. Type 1 LSAs describe routers within an area, Type 2 LSAs describe broadcast or NBMA network segments containing a DR, and Type 5 LSAs advertise external routes injected into OSPF by an ASBR. Understanding LSA scope and origin is essential for troubleshooting multi-area OSPF routing and route summarization.

Question 22. Which OSPF LSA type is generated by the Designated Router on a broadcast network?

  1. Type 5 AS-External LSA
  2. Type 2 Network LSA
  3. Type 3 Summary LSA
  4. Type 4 ASBR Summary LSA

Correct Answer: 2. Type 2 Network LSA

Explanation:

On a broadcast or suitable multi-access OSPF network, the Designated Router generates a Type 2 Network LSA. This LSA represents the shared network segment and lists the routers attached to that network. The mechanism reduces topology complexity by representing the multi-access segment as a pseudonode in the link-state database. Type 3 LSAs are produced by ABRs for inter-area route advertisement, while Type 5 LSAs carry external routes. When troubleshooting OSPF LSDB content on Ethernet segments, the presence and origin of Type 2 LSAs can help confirm correct DR operation.

Question 23. What must normally match between two OSPF neighbors before they can successfully form an adjacency?

  1. Key OSPF parameters such as area ID, authentication settings, and compatible Hello/Dead timers
  2. Their router IDs must be identical
  3. Their interface IP addresses must be the same
  4. They must both be elected DR

Correct Answer: 1. Key OSPF parameters such as area ID, authentication settings, and compatible Hello/Dead timers

Explanation:

OSPF neighbors must agree on several important parameters before they can establish a stable neighbor relationship. These commonly include area membership, authentication, network characteristics, and Hello/Dead timer values. Router IDs must actually be unique, not identical, and each router requires its own Layer 3 address. Only one DR and one BDR are normally elected on a broadcast segment, so both peers do not need to be DRs. When an OSPF adjacency remains stuck or never forms, comparing Hello packet parameters and checking authentication and area settings should be among the first troubleshooting steps.

Question 24. What is the main function of OSPF Database Description (DD) packets during adjacency establishment?

  1. They carry user traffic between OSPF neighbors
  2. They perform DR election only
  3. They summarize LSDB contents so neighbors can determine which LSAs must be requested
  4. They advertise only external routes

Correct Answer: 3. They summarize LSDB contents so neighbors can determine which LSAs must be requested

Explanation:

Database Description packets are used during OSPF database synchronization. Instead of immediately transmitting every LSA, OSPF neighbors first exchange summaries of their link-state databases. Each router compares the received descriptions with its own LSDB and identifies missing or outdated information. It can then request specific LSAs using Link-State Request packets, and the peer responds using Link-State Update packets. This staged process makes synchronization more efficient and structured. DD packets therefore play a central role in moving OSPF neighbors through the ExStart and Exchange states toward a fully synchronized adjacency.

Question 25. In IS-IS, what does a Level-1 router normally know about destinations outside its own area?

  1. It typically relies on a default route toward the nearest Level-1-2 router
  2. It always maintains the complete Level-2 topology
  3. It runs BGP automatically for external areas
  4. It floods every Level-2 LSP into the Level-1 area

Correct Answer: 1. It typically relies on a default route toward the nearest Level-1-2 router

Explanation:

An IS-IS Level-1 router maintains detailed topology information for its own area but does not normally maintain the complete Level-2 inter-area topology. To reach destinations outside its area, it typically forwards traffic toward a nearby Level-1-2 router, which participates in both the local Level-1 domain and the Level-2 backbone. This hierarchical model improves scalability by limiting how much topology information a pure Level-1 router must process. Huawei describes IS-IS as using separate Level-1 and Level-2 databases and SPF calculations, making the protocol well suited to large-scale networks.

Question 26. Why is IS-IS considered highly extensible?

  1. It uses only static route attributes
  2. It can operate only with IPv4
  3. It requires a new packet type for every feature
  4. Its TLV-based packet structure allows new information to be added flexibly

Correct Answer: 4. Its TLV-based packet structure allows new information to be added flexibly

Explanation:

IS-IS uses a Type-Length-Value (TLV) structure to carry routing and topology information. New protocol capabilities can often be introduced by defining additional TLVs without redesigning the complete protocol packet structure. This extensibility has helped IS-IS evolve to support IPv6, traffic-engineering information, Segment Routing, and other technologies. Huawei specifically highlights TLV extensibility as one reason IS-IS scales well and is widely used in large service-provider networks. By comparison, OSPF often adds or extends LSA types to support new functions.

Question 27. Which statement BEST describes the way IS-IS divides areas compared with OSPF?

  1. Both protocols assign areas only to physical interfaces
  2. IS-IS does not support areas
  3. IS-IS area membership is associated with the router, whereas OSPF areas are assigned per interface
  4. OSPF area membership is always determined by BGP

Correct Answer: 3. IS-IS area membership is associated with the router, whereas OSPF areas are assigned per interface

Explanation:

Huawei highlights an important design difference between IS-IS and OSPF: OSPF divides areas by interface, while IS-IS divides areas by router. In OSPF, one router can have interfaces in multiple areas and act as an ABR. In IS-IS, an intermediate system belongs to an area based on its NET addressing, and Level-1-2 functionality provides connectivity between the Level-1 area and the Level-2 backbone. Understanding this difference is essential when migrating between the protocols or comparing their hierarchical designs.

Question 28. Which algorithm is used by both OSPF and IS-IS to calculate shortest paths?

  1. Bellman-Ford only
  2. SPF/Dijkstra algorithm
  3. Path-vector algorithm
  4. Flood-and-prune algorithm

Correct Answer: 2. SPF/Dijkstra algorithm

Explanation:

Both OSPF and IS-IS are link-state routing protocols and use the Shortest Path First (SPF), or Dijkstra, algorithm to calculate shortest-path trees from their link-state databases. Each router builds a topology representation based on link-state information and then computes the best paths to reachable destinations. In IS-IS, SPF operates independently for the Level-1 and Level-2 databases. BGP, by contrast, is a path-vector routing protocol, and distance-vector protocols use a different route-computation model. Huawei specifically identifies SPF as a key characteristic of both OSPF and IS-IS.

Question 29. In BGP route selection, which route is normally preferred when all more influential attributes are equal?

  1. The route with the longest AS_Path
  2. The route with the highest MED
  3. The route with the shortest AS_Path
  4. The route received last

Correct Answer: 4. The route with the shortest AS_Path

Explanation:

The AS_Path records the autonomous systems that a BGP route has traversed. When BGP compares paths and earlier, more influential attributes are equal, a route with a shorter AS_Path is generally preferred. This often makes a path that traverses fewer autonomous systems more attractive. Administrators can influence inbound routing by prepending their own AS number multiple times, making a route appear longer and therefore potentially less desirable to external peers. However, BGP path selection considers multiple attributes in a defined order, so AS_Path length is not necessarily the first criterion evaluated.

Question 30. What is the PRIMARY purpose of BGP route aggregation?

  1. To reduce the number of routes advertised and simplify routing information
  2. To increase the number of prefixes in every BGP update
  3. To disable BGP loop prevention
  4. To replace all IGP routes with static routes

Correct Answer: 1. To reduce the number of routes advertised and simplify routing information

Explanation:

BGP aggregation combines multiple more-specific prefixes into a broader summary route. This can reduce BGP table size, lower update processing overhead, and hide some internal routing changes from external neighbors. Aggregation should be used carefully because the summarized prefix must accurately represent reachable address space. If the aggregate covers unreachable subnets, traffic may be attracted toward a router that cannot deliver it. Proper aggregation design therefore improves scalability while avoiding black holes. Route policies are often used alongside aggregation to control which prefixes and attributes are advertised.

Question 31. Which BGP attribute is designed to help prevent routing loops between autonomous systems?

  1. Local Preference
  2. AS_Path
  3. MED
  4. Next Hop only

Correct Answer: 2. AS_Path

Explanation:

The AS_Path attribute is a fundamental BGP loop-prevention mechanism. Each autonomous system adds its AS number when advertising a route to an external BGP neighbor. If a BGP speaker later receives a route containing its own AS number in the path, it normally rejects that route because accepting it could create an inter-AS routing loop. AS_Path also influences best-path selection and can be manipulated through AS-path prepending to influence inbound traffic. The attribute therefore contributes both to routing safety and to traffic engineering.

Question 32. What is the PRIMARY purpose of a BGP peer group?

  1. To place all BGP peers into the same AS automatically
  2. To disable route policies
  3. To simplify configuration by applying common BGP settings to multiple peers
  4. To convert BGP into an IGP

Correct Answer: 3. To simplify configuration by applying common BGP settings to multiple peers

Explanation:

A BGP peer group allows administrators to apply common configuration to multiple neighbors that share similar requirements. Instead of repeatedly configuring identical parameters for each peer, settings can be associated with the group and inherited by its members. This reduces configuration duplication and the risk of inconsistent neighbor settings. Peer groups are particularly useful in networks with many BGP sessions, such as route-reflector environments or large edge deployments. Individual peers can still require specific settings depending on the device and platform implementation.

Question 33. What is the PRIMARY purpose of a route-policy node configured with matching conditions and apply clauses?

  1. To identify specific routes and modify or control them according to policy
  2. To elect the OSPF DR
  3. To create VLAN interfaces
  4. To generate DHCP addresses

Correct Answer: 1. To identify specific routes and modify or control them according to policy

Explanation:

Huawei route policies allow administrators to match routing information using defined conditions and then apply actions. A route-policy node can use matching statements to identify routes based on attributes such as prefixes, tags, or protocol characteristics. Apply clauses can then alter attributes or otherwise influence the route. Permit and deny behavior controls whether matching routes continue through the routing process. Route policies are widely used with BGP, redistribution, and traffic engineering because they provide granular control over which routes are accepted, advertised, or modified.

Question 34. What does a traffic classifier do in a QoS policy framework?

  1. It performs NAT translation
  2. It identifies traffic that matches defined conditions so QoS actions can be applied
  3. It creates routing adjacencies
  4. It generates multicast group membership

Correct Answer: 3. It identifies traffic that matches defined conditions so QoS actions can be applied

Explanation:

A traffic classifier identifies packets or flows according to configured matching conditions such as ACL rules, DSCP values, VLAN information, protocol fields, or other supported attributes. After classification, the network can apply a traffic behavior such as marking, policing, shaping, queuing, or another QoS action. Classification is therefore the first step in differentiated traffic treatment. Without identifying which traffic belongs to which service class, the device cannot reliably apply different policies to voice, video, business-critical applications, or best-effort data.

Question 35. What is the PRIMARY difference between traffic policing and traffic shaping?

  1. Policing can drop or remark excess traffic immediately, while shaping buffers excess traffic and sends it later at a controlled rate
  2. Shaping always drops conforming packets
  3. Policing requires STP
  4. There is no operational difference

Correct Answer: 2. Policing can drop or remark excess traffic immediately, while shaping buffers excess traffic and sends it later at a controlled rate

Explanation:

Traffic policing and shaping both enforce rate-related policies but handle excess traffic differently. Policing typically measures traffic against a configured rate and can immediately drop or remark traffic that exceeds the allowed profile. Shaping normally buffers excess packets and schedules them for later transmission so the output rate is smoothed. Shaping therefore introduces additional delay but may avoid packet loss, whereas policing is more abrupt. The correct technique depends on the service objective, device capabilities, and whether buffering delay is acceptable for the application.

Question 36. Which reliability technology is designed to preserve forwarding information temporarily while a routing protocol’s control plane restarts?

  1. STP
  2. DHCP snooping
  3. IGMP snooping
  4. Graceful Restart

Correct Answer: 4. Graceful Restart

Explanation:

Graceful Restart (GR) is designed to reduce traffic disruption when a routing protocol’s control plane restarts. A GR-capable restarting device can signal its capability, and helper neighbors can temporarily retain relevant forwarding or route information while the control plane recovers. Huawei documents GR support for protocols including BGP, OSPF, IS-IS, LDP, and others. The helper uses a GR timer to determine how long stale routing information can be retained. GR does not eliminate every failure scenario, but it helps separate control-plane restart events from immediate data-plane disruption.

Question 37. What is the role of a GR helper during a routing-protocol Graceful Restart?

  1. It deletes all routes immediately
  2. It becomes the only router allowed to forward traffic
  3. It temporarily retains relevant routes or topology information while the restarting neighbor recovers
  4. It disables the routing protocol permanently

Correct Answer: 3. It temporarily retains relevant routes or topology information while the restarting neighbor recovers

Explanation:

During Graceful Restart, the GR helper recognizes that its neighbor supports the GR capability and can retain routing or topology information while the restarting device’s control plane returns to service. Huawei describes the helper as starting a GR timer and maintaining the information learned from the restarting router until recovery succeeds or the timer expires. This helps reduce unnecessary route withdrawal and forwarding interruption during a planned or recoverable control-plane restart. GR behavior must be supported and negotiated appropriately by the participating protocols.

Question 38. What is the PRIMARY purpose of link aggregation on Ethernet switches?

  1. To combine multiple physical links into one logical link for increased bandwidth and redundancy
  2. To replace VLANs
  3. To create OSPF LSAs
  4. To assign IPv6 addresses

Correct Answer: 1. To combine multiple physical links into one logical link for increased bandwidth and redundancy

Explanation:

Link aggregation combines multiple Ethernet interfaces into a single logical connection. This can increase available bandwidth and provide redundancy because traffic can continue over remaining member links if one physical interface fails. The technology also helps avoid some limitations of using parallel independent Layer 2 links, which could otherwise be blocked by spanning tree. For successful aggregation, member links generally need compatible interface characteristics and configuration. Load balancing is performed across members according to supported hashing methods rather than by splitting every individual frame evenly across all links.

Question 39. What is the PRIMARY benefit of configuring BFD with a routing protocol?

  1. It replaces all routing-protocol Hello packets permanently
  2. It increases the routing protocol’s administrative distance
  3. It disables redundant paths
  4. It provides fast failure detection so routing protocols can react more quickly to path failures

Correct Answer: 4. It provides fast failure detection so routing protocols can react more quickly to path failures

Explanation:

Bidirectional Forwarding Detection (BFD) is designed to detect forwarding-path failures quickly, often faster than normal routing-protocol timers. Routing protocols can then react to the BFD state and reconverge sooner when a link or neighbor becomes unavailable. BFD does not replace the routing protocol itself; it complements protocols such as OSPF, IS-IS, or BGP by providing rapid liveliness detection. This makes BFD useful in networks with stringent convergence requirements, particularly where waiting for standard Hello, Dead, or hold timers would produce unacceptable traffic interruption.

Question 40. An enterprise wants fewer routing updates between OSPF areas, policy-controlled Internet routing, fast failure detection, and predictable treatment of voice traffic during congestion. Which design BEST addresses these requirements?

  1. Use STP for routing, IGMP for QoS, and DHCP for BGP
  2. Use OSPF summarization between areas, BGP route policies at the Internet edge, BFD for rapid failure detection, and QoS classification/queuing for voice
  3. Replace all dynamic routing with one static default route
  4. Use only ACLs for every requirement

Correct Answer: 2. Use OSPF summarization between areas, BGP route policies at the Internet edge, BFD for rapid failure detection, and QoS classification/queuing for voice

Explanation:

Each requirement calls for a different core networking capability. OSPF summarization can reduce inter-area route detail and control-plane churn. BGP route policies let administrators influence Internet route acceptance and advertisement according to business requirements. BFD provides fast failure detection so routing protocols can converge more quickly. QoS classifiers and queuing mechanisms identify voice traffic and provide preferential treatment during congestion. Huawei’s H12-821 HCIP-Datacom-Core Technology scope includes OSPF, IS-IS, BGP, routing and traffic control, Ethernet, multicast, IPv6, security, reliability, network services, WLAN, and network solutions.