Huawei H12-821_V1.0 Practice Test - Questions Answers, Page 10
List of questions
Question 91

Regarding the route-policy set-cost configuration below, which of the following statements is true?
The route 11.1.0.0/16 is permitted by node 10, and its tost Is set to 300.
The cost of all routes is set to 200.
All the routes that are not permitted by node 10 will be denied.
The route 11.1.0.0/16 will continue to match node 20 after permitted by node 10, and (he final cost is set to 200.
The route-policy configuration specifies that node 10 matches the IP prefix 11.1.0.0/16 and applies a cost of 300 to this route. Once a route matches a node, it is no longer processed by subsequent nodes, making option D incorrect. Option B is also incorrect because only specific matching routes have their costs changed .
Question 92

Which of the following statements regarding an IP prefix are true?
An IP prefix filter is used to filter IP address prefixes and cannot match an IP prefix number and a prefix length at the same time.
An IP prefix filter cannot be used to filter data packets.
An IP prefix filter is used to filter IP address prefixes and can match an IP prefix number and a prefix length at the same time.
An IP prefix filter can be used to filter data packets.
An IP prefix filter is designed to match both the IP address and its prefix length, making it suitable for filtering routing information rather than data packets. Options A and D are incorrect because IP prefix filters do not work directly on data packets, and they can match both prefix numbers and lengths .
Question 93

RSTP provides different functions in different scenarios. Which of the following statements Is false?
After TC-BPDU attack defense function is enabled, you can set the number of times the switch processes TC BPDUs within a certain period
The role of the designated port that is enabled with root protection cannot be changed
If the edge port on the switch enabled with BPDU protection receives RST BPDU, the switch sets the edge port as a non-edge-port and triggers STP calculation
When the designated port enabled with root protection receives optimal RST BPDUs, the port enters the Discarding state and does not forward packets. If the port does not receive optimal RST BPDUs within a certain period of time, the port will automatically restore to the Forwarding state
Root protection ensures that a designated port does not become a root port by discarding superior BPDUs. However, if superior BPDUs are no longer received, the port can return to its original forwarding state, meaning its role can change. This makes option B incorrect, while the other options correctly describe RSTP behavior .
Question 94

Compared with STP, RSTP defines the different port states. Which of the following statements regarding discarding and learning states are true?
The port In discarding or learning state does not forward data frames.
The port in discarding state does not learn MAC addresses table.
The port in discarding or learning state does not learn MAC addresses
The port In learning stole docs not learn MAC addresses table.
In RSTP, a port in the discarding state neither forwards data frames nor learns MAC addresses. A port in the learning state does not forward data frames but starts learning MAC addresses. Therefore, options A and B are correct, while C and D are incorrect due to misunderstandings of these states .
Question 95

As shown in the figure, SWA, SWB, SWC, and SWD run the Rapid Spanning Tree Protocol (RSTP). Which of the following statements are true?
Once receiving OPOUs, the edge port re-partlci pates in the calculation of the spanning tree.
After a port is Configured as an edge port, the port can quickly enter the Forwarding state.
You can enable the edge port on SWD's GEO/0/2 connected to the terminal so that this port can quickly enter the Forwarding state.
You can enable the edge port on SWC's GE0/0/2 connected to the terminal so that this port can quickly enter the forwarding state.
Edge ports are used in RSTP to bypass the spanning tree calculation for ports connected to end devices. By configuring ports like SWD's GE0/0/2 and SWC's GE0/0/2 as edge ports, they transition directly to the Forwarding state upon activation, ensuring faster convergence. Statement A is incorrect because receiving BPDU invalidates the edge port status .
Question 96

A switch runs MSTP. The configuration is shown in the figure. What is the role of this switch in MSTI 1?
Uncertain
Root switch
Non-root switch
Secondary root switch
Based on the MSTP configuration shown, the role of the switch in MSTI 1 cannot be determined without additional details about the topology or priority values of other switches in the instance. The role could be a root switch, secondary root, or non-root, depending on these factors .
Question 97

Which of the following statements regarding IGMPv1 and IGMPv2 are true?
1GMPv2 supports only general query.
1GMPv2 defines the Leave message type.
IGMPv1 does not define the IGMP Leave message type.
IGMPv1 supports general query.
IGMPv1 supports general queries but does not define a Leave message. IGMPv2 introduces the Leave message type, which allows hosts to notify routers when they wish to leave a multicast group, improving efficiency. These distinctions align with the functionality of IGMP versions .
Question 98

IGMPV3 not only supports IGMPv1 General Query and IGMPv2 Group-Specific Query, and also IGMPv3 Source/Group-Specific Query.
TRUE
FALSE
IGMPv3 builds on IGMPv1 and IGMPv2 by supporting all previous query types, including General Query and Group-Specific Query, while introducing Source/Group-Specific Query. This enhancement allows finer control over multicast group membership .
Question 99

Which of the following statements is false, based on the following IGMP information on an interface of RTA?XC
The interval for sending group-specific Query messages is 60s.
The maximum time for response to Query messages is 10s.
The IP address of the interface is 192.168.1.1.
The IGMP version is IGMPV2.
The information provided indicates that the configured query interval is 60 seconds, which applies to general queries. Group-specific queries are sent at a shorter interval, usually derived from the maximum response time. Therefore, the statement about a 60-second interval for group-specific queries is false. Other statements regarding maximum response time (10s), IP address, and IGMP version (V2) are correct .
Question 100

Which of the following PIM protocol packets have unicast destination addresses.
Register Stop
Bootstrap
Graft
Assert
In the PIM protocol, Register Stop and Graft messages are sent with unicast destination addresses, typically to specific neighbors or RP (Rendezvous Point) routers. Other messages like Bootstrap and Assert use multicast addresses for broader dissemination across the network .
Question