Sign In
Home/Huawei/Datacom/Free questions

Huawei Certified ICT Associate - Datacom — Free Practice Questions

10 free sample questions from a bank of 561, with the correct answers and explanations. No signup required — start practising right now.

1During STP calculation, the port cost is associated with the port bandwidth by default. Which of the following statements about the relationship between port cost and port bandwidth is true?
  • A higher port bandwidth indicates a smaller port cost.
  • A higher port bandwidth indicates a larger port cost.
  • The port bandwidth is equal to the port cost.
  • The port cost varies randomly according to port bandwidth.
Answer: A

The short version

A — Higher bandwidth means lower STP cost. STP prefers the fastest path, so cost is inversely proportional to bandwidth.

Key concepts in this question

  • STP path cost: Cumulative cost to root; lower is preferred for root-port and designated-port election.
  • Bandwidth-cost mapping: 10 Mbps = 100, 100 Mbps = 19, 1 Gbps = 4, 10 Gbps = 2 under common revised costs.
  • Root path selection: Equal priorities are broken by lowest RPC, then sender BID, then port ID.

Why A is correct

STP assigns each port a cost derived from its speed so that traffic gravitates to high-capacity links. A 1-Gbps link with cost 4 beats a 100-Mbps link with cost 19, giving a smaller root path cost. The statement in A captures this inverse relationship directly. Huawei VRP follows the same IEEE cost table by default, adjustable with stp cost, but the default logic is unchanged.

Why the others are wrong

  • B. Reverses the relationship; higher bandwidth never raises default cost.
  • C. Cost is a dimensionless metric, not equal to Mbps values.
  • D. Costs are deterministic from bandwidth tables, not random.

HCIA-Datacom exam tip

Remember: speed up, cost down. If two uplinks compete, the faster one becomes root port.

2NAPT and Easy IP translate both IP addresses and port numbers to allow multiple private IP addresses to share multiple public IP addresses.
  • TRUE
  • FALSE
Answer: A

The short version

A — NAPT and Easy IP translate address plus port. This many-to-one mapping lets many private hosts share public addresses.

Key concepts in this question

  • NAPT: Maps private IP + source port to public IP + new source port using a pool.
  • Easy IP: Special NAPT using the outbound interface public IP, no pool needed.
  • PAT principle: Port multiplexing distinguishes return traffic for each inside host.

Why A is correct

Both NAPT and Easy IP are port-address-translation forms. They rewrite source IP and source TCP/UDP port on egress and maintain a session table for reverse translation. That allows dozens of 192.168.x.x hosts to share one or a few public IPs simultaneously. The stem correctly states both address and port are translated and sharing is the goal, so TRUE is the banked key.

Why the others are wrong

  • B. FALSE would mean no port translation or no sharing occurs, contradicting NAPT session-table behavior. Basic NAT is one-to-one, but NAPT/Easy IP are explicitly many-to-one by port multiplexing.

HCIA-Datacom exam tip

Think: NAT = address only; NAPT/Easy IP = address + port. Easy IP borrows the interface IP for small sites.

3If Proto of a route displayed in the routing table is OSPF, the preference of the route must be 10.
  • True
  • False
Answer: A

The short version

A — OSPF routes default to preference 10 on VRP. Proto OSPF therefore displays Pre 10 unless manually changed.

Key concepts in this question

  • Preference: Huawei route-selection priority; smaller value wins over larger.
  • OSPF default: 10 for intra/inter-area OSPF routes on Huawei devices.
  • Proto field: display ip routing-table shows OSPF for native OSPF, O_ASE for external ASE routes.

Why A is correct

On Huawei VRP the default preference table sets OSPF to 10, static to 60, RIP to 100. When a route is learned via OSPF and installed with defaults, display shows Proto OSPF and Pre 10 together. At HCIA scope the question tests this default mapping, so the statement that Proto OSPF implies preference 10 is treated as true. External ASE routes appear separately as O_ASE with preference 150.

Why the others are wrong

  • B. FALSE would deny the standard default mapping that HCIA requires you to memorize. While preference can be tuned, the default and exam-expected value for Proto OSPF is 10.

HCIA-Datacom exam tip

Memorize VRP defaults: Direct 0, OSPF 10, IS-IS 15, Static 60, RIP 100, OSPF ASE 150, BGP 255/EBGP 20.

4When a Huawei device functions as an SSH client to log in to another network device for the first time, the ssh client first-time enable command must be run to enable the first-time login function of the SSH client. Otherwise, the login fails.
  • TRUE
  • FALSE
Answer: B

The short version

B — First-time SSH login does not strictly require that command. The statement overstates a must condition, so it is false.

Key concepts in this question

  • SSH client first-time: Allows connecting when the server RSA key is not yet stored locally.
  • Strict host-key check: Without first-time enable, you can still log in by pre-loading the server public key.
  • VRP behavior: ssh client first-time enable relaxes checking; it is convenience, not the only path.

Why B is correct

Huawei SSH clients verify the server public key. Enabling first-time authentication auto-accepts an unknown key, but an administrator can instead use ssh client assign rsa-key to preconfigure the key and connect without that command. Because an alternative valid method exists, saying the command must be run otherwise login fails is too absolute. The banked key FALSE correctly rejects the must claim.

Why the others are wrong

  • A. TRUE would mean no login is possible without that exact command, ignoring manual RSA-key assignment and already-known host keys on repeat logins.

HCIA-Datacom exam tip

Watch for must/only in VRP questions. If a manual alternative exists, the absolute statement is false.

5Which of the following protocols is not a file transfer protocol?
  • FTP
  • TFTP
  • SFTP
  • HTTP packet
Answer: D

The short version

D — HTTP packet is not a file-transfer protocol. FTP, TFTP, and SFTP exist specifically to move files.

Key concepts in this question

  • FTP: TCP 20/21, reliable file upload/download with control and data connections.
  • TFTP: UDP 69, simple unauthenticated file transfer for boot images.
  • SFTP: SSH-based secure file transfer over TCP 22.

Why D is correct

FTP, TFTP, and SFTP are all designed around file objects: directory listing, get/put, and file attributes. HTTP transfers web objects and can carry files as payloads, but HTTP itself is a web-access protocol, not a file-transfer protocol, and HTTP packet is not even a protocol name. Option D is therefore the only item that is not a file-transfer protocol.

Why the others are wrong

  • A. FTP is the classic file-transfer protocol, so it cannot be the answer.
  • B. TFTP is a lightweight file-transfer protocol for LAN bootstrapping.
  • C. SFTP provides encrypted file transfer over SSH.

HCIA-Datacom exam tip

If you see packet appended to a protocol name, suspect a distractor. FTP/TFTP/SFTP share File in spirit; HTTP does not.

6AAA is short for authentication, authorization, and accounting. The accounting function records only the fees incurred when users use network resources, but not the Internet access traffic or duration.
  • TRUE
  • FALSE
Answer: B

The short version

B — AAA accounting tracks more than fees. Traffic volume and online duration are also recorded, so the claim is false.

Key concepts in this question

  • Authentication: Verifies who the user is via local, RADIUS, or HWTACACS.
  • Authorization: Grants service and privilege rights after login.
  • Accounting: Records usage: start/stop time, duration, bytes, and session status.

Why B is correct

Huawei AAA accounting sends start/stop records to the accounting server including user name, access time, session duration, input/output traffic, and termination cause. Billing can be derived from this, but the function is not limited to fees. Because the stem says accounting records only fees but not traffic or duration, it misstates the mechanism. FALSE is therefore correct.

Why the others are wrong

  • A. TRUE would accept that traffic and duration are excluded, contradicting RADIUS accounting attributes and VRP display accounting records.

HCIA-Datacom exam tip

AAA = who are you, what can you do, what did you use. Accounting always includes duration and bytes.

7When a switch port receives a frame that does not carry a VLAN tag, it must add a PVID to the frame.
  • True
  • False
Answer: A

The short version

A — Untagged ingress frames get classified by PVID. The switch must assign a VLAN before forwarding.

Key concepts in this question

  • PVID: Port default VLAN used to tag untagged inbound frames.
  • Access behavior: Untagged frames are placed into the PVID broadcast domain.
  • Tagged frames: Already carry 802.1Q VID and bypass PVID assignment.

Why A is correct

A Layer 2 switch forwards based on VLAN tables. A frame arriving without an 802.1Q tag has no VLAN identity, so the ingress port stamps it with its PVID for lookup and flooding decisions. Huawei access, trunk PVID, and hybrid ports all follow this rule. The statement describes exactly that mandatory classification, so True is correct.

Why the others are wrong

  • B. FALSE would leave untagged frames without a VLAN, making MAC learning and broadcast containment impossible. Every untagged frame must belong somewhere.

HCIA-Datacom exam tip

No tag, use PVID. Has tag, keep VID if allowed. PVID is the untagged home VLAN.

8Which of the following advantages is/are inter-VLAN route interworking in one-arm routing mode?
  • Reduced the number of links
  • Reduced the use of IP addresses
  • Reduced the number of devices
  • Reduced the number of entries in the routing table
Answer: A

The short version

A — One-arm routing saves physical links. One trunk to the router replaces one link per VLAN.

Key concepts in this question

  • One-arm: Router sub-interfaces on a single trunk, each with dot1q termination per VLAN.
  • Legacy inter-VLAN: One physical router interface and cable per VLAN gateway.
  • Benefit focus: Link and interface savings, not address or table savings.

Why A is correct

Without one-arm routing, each VLAN needs a dedicated router port and cable to its gateway. Router-on-a-stick multiplexes all VLAN gateways over one trunk link using sub-interfaces, sharply cutting link count and router port usage. IP addressing per host and routing entries per subnet remain the same. Option A isolates the true physical-link benefit tested at HCIA level.

Why the others are wrong

  • B. Each VLAN still needs its own subnet and gateway addresses.
  • C. The router is still required; device count is unchanged.
  • D. Connected and static routes per VLAN still appear in the table.

HCIA-Datacom exam tip

One arm = one cable, many gateways. Think link saving first when you see sub-interfaces.

9Trunk interfaces can send both tagged and untagged frames.
  • True
  • False
Answer: A

The short version

A — Trunks carry tagged VLANs plus one native untagged VLAN. Both frame types can egress a trunk.

Key concepts in this question

  • Tagged frames: Carry 802.1Q headers for allowed VLANs across switches.
  • PVID/native VLAN: Sent untagged on a trunk, typically VLAN 1 by default.
  • VRP trunk: port trunk allow-pass vlan plus port trunk pvid vlan control behavior.

Why A is correct

A Huawei trunk by default permits VLAN 1 untagged and other allowed VLANs tagged. Frames in the PVID are stripped on egress, while other permitted VLANs keep tags so the peer can demultiplex. Because both formats legitimately leave a trunk port, the statement that trunks can send tagged and untagged frames is true.

Why the others are wrong

  • B. FALSE assumes trunks are tagged-only, ignoring native-VLAN untagged forwarding that every trunk performs for its PVID.

HCIA-Datacom exam tip

Trunk = tagged many, untagged one. The untagged one is the PVID/native VLAN.

10IEEE 802.11ac supports only the 5 GHz frequency band.
  • True
  • False
Answer: A

The short version

A — 802.11ac is 5 GHz only. Unlike 802.11n/ax, it does not operate in 2.4 GHz.

Key concepts in this question

  • 802.11ac (Wi-Fi 5): 5 GHz, wider channels to 160 MHz, 256-QAM, MU-MIMO downlink.
  • 802.11n: Dual-band 2.4/5 GHz predecessor with 40 MHz and MIMO.
  • 802.11ax: Dual-band successor operating in both bands.

Why A is correct

IEEE 802.11ac was specified exclusively for the 5 GHz ISM band to exploit cleaner spectrum and wide channels for gigabit rates. It cannot use 2.4 GHz radios, so dual-band APs pair ac with 802.11n/g for 2.4 GHz coverage. The stem states exactly this 5-GHz-only restriction, making True the banked key.

Why the others are wrong

  • B. FALSE would imply ac supports 2.4 GHz, confusing it with 802.11n or 802.11ax which are dual-band capable.

HCIA-Datacom exam tip

ac = 5 only, b/g = 2.4 only, n/ax = both. Map each WLAN standard to its band.

Want the full bank of 561 questions for Huawei Certified ICT Associate - Datacom? See all practice exams.