All HPE exams
Free HPE6-A86 practice test: 30 questions with answers
30 original questions for HPE Network Switching Associate Exam, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 112 questions
- Real exam
- 60 questions, 90 min
- Passing score
- 73%
All 30 HPE6-A86 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Foundational networking architectures and technologies (6 questions)
Question 1
A network designer must link two wiring closets that are about 2 km apart with a switch-to-switch connection. Which media should be selected?
- ACategory 6 twisted-pair copper with RJ-45 connectors
- BShielded coaxial cable with BNC connectors
- CMultimode fiber for the full distance through the building
- DSingle-mode fiber optic cable with matching optics
Show answer and explanationHide answer
Correct answer: DSingle-mode fiber is built for long runs such as 2 km, while Category 6 copper is limited to about 100 meters per Ethernet segment. Multimode fiber is normally used for shorter building runs, and BNC coaxial cabling is not a standard switch uplink medium.
Question 2
Which statement describes a broadcast domain?
- AA collision domain in which devices share bandwidth and contend for access to a shared hub
- BA block of IPv4 addresses assigned to one DHCP scope on a single switch
- CDevices that receive each other's Layer 2 broadcast frames without crossing a router
- DA group of switch ports that all learn the same MAC address in one table entry
Show answer and explanationHide answer
Correct answer: CA broadcast domain is the set of devices that receive each other's Layer 2 broadcast frames, and routers or other Layer 3 boundaries end it. A collision domain is a different concept tied to shared-media contention, and the other options describe address pools or MAC learning rather than broadcast reach.
Question 3
Which two statements about ARP are correct? (Choose two.)
- AARP maps an IPv4 address to a MAC address on the same local network segment
- BRouters forward ARP requests between subnets so remote hosts can be resolved directly
- CA host sends an ARP request as a broadcast asking which device owns a target IPv4 address
- DARP translates MAC addresses back into IPv4 addresses so routing tables can be updated
Show answer and explanationHide answer
Correct answer: A, CARP resolves an IPv4 address to a MAC address on the local segment by broadcasting a request. Routers do not forward ARP broadcasts between subnets, and ARP does not populate routing tables.
Question 4
A campus team needs one subnet for a department with 50 hosts that must all share a single broadcast domain. Which prefix length gives enough usable addresses with the least waste?
- AA /27 prefix, giving 30 usable host addresses
- BA /25 prefix, giving 126 usable host addresses
- CA /26 prefix, giving 62 usable host addresses
- DA /28 prefix, giving 14 usable host addresses
Show answer and explanationHide answer
Correct answer: CA /26 prefix provides 64 addresses, and two are reserved for the network and broadcast addresses, leaving 62 usable hosts. A /27 gives only 30 usable hosts, while /25 wastes addresses and /28 is too small.
Question 5
An application team reports that a file transfer must arrive complete and in order, with lost segments retransmitted automatically. Which Layer 4 protocol provides that behaviour?
- AUDP, which sends datagrams with no sequencing or retransmission
- BTCP, which uses acknowledgments and retransmission to deliver data reliably
- CICMP, which carries error and control messages between hosts and routers
- DARP, which resolves IPv4 addresses to MAC addresses on a local segment
Show answer and explanationHide answer
Correct answer: BTCP uses sequence numbers, acknowledgments and retransmission, so lost segments are resent and data is reassembled in order. UDP has none of these guarantees, ICMP is a Layer 3 control protocol, and ARP is not a transport protocol.
Question 6
An administrator must copy a switch configuration file to a server while protecting the login credentials and the file contents from eavesdropping. Which protocol meets this requirement?
- ATFTP, which runs over UDP port 69 and offers no authentication
- BSNMPv2c, which sends community strings in clear text
- CHTTP, which transfers pages and files without encryption
- DSFTP, which runs over an encrypted SSH session
Show answer and explanationHide answer
Correct answer: DSFTP runs inside an SSH session, so both the credentials and the file contents are encrypted. TFTP has no authentication or encryption, SNMPv2c sends community strings in clear text, and plain HTTP is unencrypted.
Install, configure, set up and validate wired solutions (6 questions)
Question 7
A newly installed switch must be managed from the network. The administrator wants encrypted remote logins and no clear-text access. Which setup is best?
- AEnable Telnet with one shared password so that every technician can log in from any subnet
- BAssign a management IP on a dedicated management VLAN, enable SSH, disable Telnet
- CLeave the switch on the default VLAN with no password so that the network team can reach it
- DEnable the web interface over plain HTTP and keep Telnet enabled for scripts
Show answer and explanationHide answer
Correct answer: BA dedicated management VLAN with an IP address, SSH for encrypted sessions, and Telnet disabled gives secure management. Shared Telnet, default-VLAN access without a password, and plain HTTP all expose credentials or the device to unauthorized access.
Question 8
Two switches are connected by a single link that must carry VLAN 10 and VLAN 20 traffic. Which port membership setting on both ends of that link is required?
- ATagged membership in both VLANs so frames keep their 802.1Q VLAN IDs
- BUntagged membership in VLAN 10 only, so VLAN 20 uses a separate cable
- CPort security enabled with a sticky MAC limit of one address per port
- DMembership in a single VLAN, with the same subnet mask configured on each switch
Show answer and explanationHide answer
Correct answer: ABoth ends of a link carrying several VLANs must be tagged members so each frame keeps its 802.1Q VLAN ID. An untagged single-VLAN setting cannot carry VLAN 20 across the link, and port security and matching subnet masks do not carry VLAN traffic.
Question 9
Four ports on one switch are being bundled with four ports on another switch as a dynamically negotiated LACP link. Which requirement must both ends meet?
- AEach member port must belong to a different VLAN to avoid duplicate frames
- BBoth ends must run LACP, and member ports must share speed and duplex settings
- COnly one end must run LACP, and the other end can be configured as a static port
- DEvery member port must have its own unique IP address for routing purposes
Show answer and explanationHide answer
Correct answer: BLACP needs both ends to run the protocol, and member ports must match in speed and duplex so the bundle can form. Different VLANs per member, a static port on one end, or unique IP addresses on member ports are not requirements.
Question 10
An administrator creates VLAN 30 on an access switch and assigns a host port to it. The host cannot obtain an address from the DHCP server located on another switch. Which step is most likely missing?
- AReducing the lease time on the server scope and restarting the DHCP service on the server
- BChanging the host port to use the default VLAN 1 for DHCP discovery only
- CAdding VLAN 30 as a tagged member on the trunk ports between the two switches
- DAssigning the host a static MAC address that matches the DHCP server's MAC address
Show answer and explanationHide answer
Correct answer: CVLAN 30 must be carried as a tagged VLAN on the trunk between the switches, or the DHCP request never reaches the server's VLAN. Lease time, default VLAN discovery and MAC matching do not decide whether the VLAN crosses between switches.
Question 11
An engineer wants each switch to advertise its name and port identifier to directly connected devices, and to learn the same details from its neighbors. Which protocol provides this?
- AARP, which maps IPv4 addresses to MAC addresses on the local segment
- BSpanning tree, which elects a root bridge and blocks redundant paths
- CLLDP, the IEEE 802.1AB link-layer discovery protocol
- DSNMP traps, which report device alarms to a management station
Show answer and explanationHide answer
Correct answer: CLLDP is the IEEE 802.1AB protocol that lets directly connected devices advertise identity and port details. ARP, spanning tree and SNMP traps serve different purposes.
Question 12
After configuring VLANs and a LAG, an engineer must confirm that the uplink works as designed before handing the site over. Which action best validates the configuration?
- AUse show commands to check interface, VLAN, and LAG status against the design
- BReboot the switch and assume the saved configuration is correct
- CReplace the uplink cable with a new one, then test connectivity from a single host on one VLAN
- DDisable spanning tree on the uplinks so that they stay forwarding
Show answer and explanationHide answer
Correct answer: AChecking interface, VLAN and LAG status with show commands confirms the live state against the design. Rebooting verifies nothing, swapping a cable without checking configuration is guesswork, and disabling spanning tree removes loop protection.
HPE Aruba Networking products and solutions functions and features (6 questions)
Question 13
A company manages switches at twelve branch offices and wants one cloud-hosted console for monitoring, configuration and firmware updates across all sites. Which HPE Aruba Networking tool fits this need?
- AAruba Central, the cloud-based platform for managing HPE Aruba Networking devices
- BA serial console cable and terminal session on each switch in turn
- CA TFTP server that stores a copy of each startup configuration file
- DA local SNMPv2c community on each switch that polls interface counters at a single site
Show answer and explanationHide answer
Correct answer: AAruba Central is the cloud-based platform for monitoring, configuration and firmware management across many sites. A console session or local SNMP community works one device at a time, and a TFTP server only stores files.
Question 14
An engineer needs to set a switch feature that does not appear in the web management interface. Which tool gives the most complete access to switch configuration commands?
- AThe command-line interface, which accepts the full set of configuration commands
- BA syslog server that stores event messages sent by the switch
- CThe web interface, which exposes only the configuration features that appear in its menus
- DAn SNMP trap receiver that displays alarms as they occur from the device
Show answer and explanationHide answer
Correct answer: AThe command-line interface gives access to the complete set of configuration commands, including features not shown in the web interface. The web interface shows only its menu options, while syslog and SNMP traps are for event reporting rather than configuration.
Question 15
A DevOps team wants a script to read switch interface status and push VLAN changes on a schedule, without anyone logging in to a console. Which HPE Aruba Networking tool set is designed for this?
- ASyslog forwarding, which only sends event messages to a remote collector
- BThe web management interface, which requires an administrator to click through pages
- CConsole sessions over a serial cable, which need physical access to each device
- DThe REST API, which lets scripts read and change switch configuration over HTTPS
Show answer and explanationHide answer
Correct answer: DThe REST API lets scripts read and change configuration over HTTPS, which suits scheduled automation. The web interface needs manual interaction, console access requires physical presence, and syslog only forwards event messages.
Question 16
A site must power wireless access points and IP cameras directly from the switch ports, so that no local power outlet is needed at each device. Which switch capability is required?
- AStacking or virtual switching ports that join two switches into one unit
- BSFP+ uplink modules that provide higher-speed fiber connections
- CRedundant fan trays that keep the chassis within its temperature range
- DPower over Ethernet on the access ports
Show answer and explanationHide answer
Correct answer: DPower over Ethernet delivers power on the same cable as data, so access points and cameras need no local outlet. Stacking, fan redundancy and SFP+ uplinks do not supply power to downstream devices.
Question 17
A university wants a switch to require each user to authenticate against a central RADIUS server before the port forwards any traffic. Which switching software feature provides this?
- APort mirroring, which copies traffic from one port to a monitoring port
- BPort-based network access control using 802.1X authentication
- CLink aggregation, which bundles several physical links into one logical link
- DSpanning tree, which blocks redundant paths to prevent Layer 2 loops
Show answer and explanationHide answer
Correct answer: B802.1X is port-based network access control, in which the switch holds the port closed until the client authenticates, typically through a RADIUS server. Mirroring, link aggregation and spanning tree do not authenticate users.
Question 18
Which two options let a network team monitor switch health and status remotely? (Choose two.)
- APolling switch MIB objects with SNMP from a network management station
- BViewing device health and alerts in the Aruba Central cloud dashboard
- CEditing the startup configuration file in a text editor on a laptop
- DReplacing the power supply with a unit of higher wattage
Show answer and explanationHide answer
Correct answer: A, BSNMP polling and the Aruba Central cloud dashboard both let staff monitor device health remotely. Editing a startup file on a laptop does not show live status, and a higher-wattage power supply is a hardware change rather than a monitoring method.
Troubleshoot, operate and maintain (6 questions)
Question 19
Users on one VLAN report slow and intermittent service. The MAC address table shows the same host MAC address moving between two access-facing ports every few seconds. Which problem is most likely?
- AAn expired DHCP lease on the host, which forces it to request a new address
- BA misconfigured default gateway that sends host traffic to an unreachable router
- CA Layer 2 loop in which a redundant path is not blocked by spanning tree
- DA printer with a subnet mask that does not match the VLAN's subnet mask
Show answer and explanationHide answer
Correct answer: CA Layer 2 loop with an unblocked redundant path makes the same MAC address appear on two ports as frames circulate. A wrong gateway, an expired lease or a mismatched printer mask would not move a MAC address between ports.
Question 20
A host can reach devices on its own subnet but not devices on remote subnets. Its IP address and subnet mask are correct, but its default gateway is set to an address outside its subnet. What is the cause?
- AThe trunk to the core router is set to half duplex, which drops only remote traffic
- BThe access switch was made the spanning tree root, which blocks every user port automatically
- CThe DHCP server's lease time is set too long, so the host keeps an outdated address
- DThe host has no valid next hop for traffic destined to remote subnets
Show answer and explanationHide answer
Correct answer: DThe host cannot reach a gateway outside its subnet, so it has no next hop for traffic leaving the subnet, even though local traffic works. The other options either misdescribe spanning tree and duplex behaviour or describe DHCP settings that do not affect routing.
Question 21
An uplink shows rising CRC errors and late collisions, and throughput is poor. What is the most likely cause?
- AA duplex mismatch, with one end full duplex and the other half duplex
- BA DHCP scope that is running out of addresses for the uplink ports
- CA router with the wrong spanning tree priority configured on its VLAN interface
- DA VLAN name that does not match the name configured on the other switch
Show answer and explanationHide answer
Correct answer: ARising CRC errors and late collisions usually point to a duplex mismatch, where one end is full duplex and the other is half duplex. A DHCP scope, a spanning tree priority or a VLAN name does not produce these counters.
Question 22
A technician wants to see each router a packet crosses on the way to a remote server, in order to find the hop where traffic stops. Which tool is designed for this?
- APing, which reports only whether the destination responds and the round-trip time
- BTraceroute, which reports each hop along the path toward the destination
- CNslookup, which queries DNS servers to resolve names to IP addresses
- DA cable tester, which checks the physical continuity of the copper pairs
Show answer and explanationHide answer
Correct answer: BTraceroute sends probes with increasing TTL values so each router along the path reports itself, showing where traffic stops. Ping only confirms reachability, nslookup queries DNS, and a cable tester checks the physical link.
Question 23
A host with a static IP address cannot reach its default gateway. Which two causes should the technician check first? (Choose two.)
- AThe access port is placed in a different VLAN from the gateway interface
- BThe host has a subnet mask that places the gateway in a different subnet
- CThe SNMP community string on the switch does not match the monitoring server
- DThe NTP server is configured with a different time zone than the switch
Show answer and explanationHide answer
Correct answer: A, BA host reaches its gateway only if it is in the same VLAN and its subnet mask places the gateway in the same subnet. SNMP community strings and NTP time zones do not affect IP reachability to the gateway.
Question 24
Devices in VLAN 10 on one switch can reach devices that are supposed to be isolated in VLAN 20 on the other switch. The trunk between the switches carries both VLANs. What is the most likely cause?
- AA spanning tree root bridge that is set to a higher priority on the access switch
- BA duplicate IP address on a server in VLAN 20 that is answering for VLAN 10
- CA native VLAN mismatch on the trunk, so untagged frames land in different VLANs
- DAn MTU on the trunk that is larger than the standard Ethernet frame size
Show answer and explanationHide answer
Correct answer: CWhen the two ends of a trunk disagree on the native VLAN, untagged frames from one side are placed into a different VLAN on the other side, which breaks VLAN separation. A duplicate IP address, spanning tree priority or a larger MTU would not move frames between VLANs.
Manage and monitor (6 questions)
Question 25
A network team wants to restore a failed switch to its last known good configuration within minutes. Which practice best supports this goal?
- ARely on factory default settings and rebuild each configuration manually after a failure
- BBack up saved configuration files to an off-device server on a regular schedule
- CKeep only the running configuration in memory and never save it to a file
- DStore one copy of the configuration on the same switch's flash and never copy it elsewhere
Show answer and explanationHide answer
Correct answer: BSaving configurations to an off-device backup server on a schedule lets a failed switch be restored quickly. Relying on factory defaults, keeping only running memory, or storing a single copy on the same device risks losing the configuration with the hardware.
Question 26
A security audit finds that all switch administrators log in with one shared account whose password has not changed in years. Which change best addresses the finding?
- ARotate the shared account password once a year and store the new password in a shared document
- BAllow administrator logins from any subnet so that no one is ever locked out
- CEnable Telnet so that the audit tool can log each shared login attempt
- DCreate individual administrator accounts and authenticate them through a central AAA server
Show answer and explanationHide answer
Correct answer: DIndividual accounts authenticated through a central AAA server, such as RADIUS or TACACS+, give accountability and central control. A shared account, Telnet access and open subnet logins all weaken security.
Question 27
Which monitoring method sends device event messages to a central collector, so that an operator can review events from many switches in one place?
- ASyslog, which forwards device event messages to a remote logging server
- BA TFTP transfer that copies the startup configuration to a file server
- CA static ARP entry on each host that maps the switch address to its MAC address
- DPort security with sticky MAC learning, which limits the number of hosts per port
Show answer and explanationHide answer
Correct answer: ASyslog forwards device event messages to a central logging server, so events from many switches can be reviewed together. A TFTP configuration copy, static ARP entries and port security are unrelated to centralized event collection.
Question 28
Which two practices improve the reliability of network monitoring? (Choose two.)
- ATurn off event logging on access switches to save storage space
- BSynchronize device clocks with NTP so that log timestamps can be correlated
- CUse one SNMP community string shared by every device, with no access limits
- DUse SNMPv3 with authentication and encryption instead of SNMPv2c community strings
Show answer and explanationHide answer
Correct answer: B, DNTP keeps timestamps consistent so events from different devices can be correlated, and SNMPv3 adds authentication and encryption to monitoring traffic. Disabling logs or sharing an unrestricted community string reduces visibility and security.
Question 29
A help-desk group needs to check interface status and view logs on the switches, but must not be able to change any configuration. Which approach meets this requirement?
- AGive each help-desk member the full administrator account so they can use the same tools
- BAssign a read-only or monitor role through the AAA or local user settings
- CShare a single operator account that is used only for viewing status
- DAllow help-desk staff to use Telnet from any subnet so they can view logs
Show answer and explanationHide answer
Correct answer: BA read-only or monitor role limits help-desk staff to viewing status and logs while blocking configuration changes. Full administrator access and shared accounts give too much access and remove accountability, and open Telnet does not limit privileges.
Question 30
Which two practices are part of a sound change-control process on a production switch? (Choose two.)
- ARecord the planned change and a rollback plan before starting the work
- BVerify the result with show commands and a connectivity test after the change
- CMake the change during peak business hours so that problems are found quickly
- DSkip the configuration backup when the change looks small and low risk
Show answer and explanationHide answer
Correct answer: A, BA recorded plan with rollback steps and a post-change verification both reduce risk and make failures easier to recover from. Peak-hour changes and skipped backups increase the impact of a mistake.