CompTIA Network+ Practice Questions Flashcards

1
Q

Which layer of the OSI model is responsible for routing?
A. Data Link
B. Transport
C. Network
D. Physical

A

C. Network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the primary purpose of a subnet mask?
A. Identify the network portion of an IP address
B. Identify the host portion of an IP address
C. Route data between networks
D. Translate IP addresses

A

A. Identify the network portion of an IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which protocol is commonly used for email transmission?
A. FTP
B. SMTP
C. SNMP
D. HTTP

A

B. SMTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the default port for HTTP?
A. 443
B. 110
C. 21
D. 80

A

D. 80

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a MAC address used for?
A. IP configuration
B. Routing on the Internet
C. Layer 2 device addressing
D. Encryption of data

A

C. Layer 2 device addressing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does DHCP stand for?
A. Dynamic Host Control Protocol
B. Domain Host Configuration Protocol
C. Dynamic Host Configuration Protocol
D. Domain Handler Configuration Protocol

A

C. Dynamic Host Configuration Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which protocol is used for secure remote logins?
A. FTP
B. SSH
C. Telnet
D. SMTP

A

B. SSH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which layer of the OSI model does TCP operate on?
A. Network
B. Data Link
C. Transport
D. Application

A

C. Transport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the primary purpose of DNS?
A. Encrypt data transmission
B. Translate IP addresses to domain names
C. Control network access
D. Assign IP addresses

A

B. Translate IP addresses to domain names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which protocol is used for web browsing?
A. SNMP
B. FTP
C. HTTP
D. DHCP

A

C. HTTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which protocol provides IP address configuration to devices on a network?
A. DNS
B. FTP
C. DHCP
D. TCP

A

C. DHCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the primary purpose of the ARP protocol?
A. Translate IP addresses to MAC addresses
B. Encrypt data for secure transmission
C. Convert MAC addresses to IP addresses
D. Determine network speed

A

A. Translate IP addresses to MAC addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which address format is used in IPv6 addressing?
A. Binary
B. Dotted decimal
C. Hexadecimal
D. Octal

A

C. Hexadecimal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of IP address is 192.168.0.1?
A. Public
B. Private
C. Multicast
D. Broadcast

A

B. Private

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following protocols operates at the application layer of the OSI model?
A. HTTP
B. ICMP
C. ARP
D. IP

A

A. HTTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which protocol allows automated IP address allocation and lease renewal?
A. DHCP
B. DNS
C. ICMP
D. TCP

A

A. DHCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What does the DMZ in a network environment provide?
A. Encryption for all internal data
B. An isolated segment accessible from external networks
C. A firewall for internet-bound traffic
D. An extension for local networks

A

B. An isolated segment accessible from external networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What type of device aggregates multiple network connections into a single connection to increase bandwidth?
A. Switch
B. Load balancer
C. Hub
D. Bridge

A

B. Load balancer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What network component is often used to extend Wi-Fi signal coverage?
A. Firewall
B. Router
C. Access point
D. Hub

A

C. Access point

20
Q

Which network topology uses a single central cable to which all devices connect?
A. Star
B. Ring
C. Bus
D. Mesh

21
Q

Which of the following tools would provide details on the latency and path of packets?
A. ipconfig
B. ping
C. netstat
D. tracert

A

D. tracert

22
Q

What is the purpose of using SYSLOG in a network environment?
A. To detect network intrusions
B. To monitor system events and logs
C. To store backups
D. To manage IP leases

A

B. To monitor system events and logs

23
Q

What is SNMP used for in a network?
A. Managing devices
B. Sending files
C. Encrypting data
D. Routing

A

A. Managing devices

24
Q

Which of the following is typically used for device authentication in a network?
A. NAT
B. DNS
C. RADIUS
D. RIP

25
Q

Which command displays active TCP connections and listening ports?
A. ipconfig
B. netstat
C. tracert
D. nslookup

A

B. netstat

26
Q

Which type of malware restricts access to data and demands a ransom?
A. Virus
B. Worm
C. Ransomware
D. Spyware

A

C. Ransomware

27
Q

What is the primary purpose of a VPN?
A. Network speed increase
B. Encrypted communication over a public network
C. Public internet access
D. Antivirus protection

A

B. Encrypted communication over a public network

28
Q

Which protocol provides secure communication over an untrusted network?
A. HTTP
B. SSL/TLS
C. DNS
D. DHCP

A

B. SSL/TLS

29
Q

What does IDS stand for in network security?
A. Intrusion Defense System
B. Internet Detection System
C. Intrusion Detection System
D. Internet Defense System

A

C. Intrusion Detection System

30
Q

What is the primary role of a proxy server?
A. Directly connecting devices to the internet
B. Caching and filtering client requests
C. Encrypting data
D. Managing IP addresses

A

B. Caching and filtering client requests

31
Q

Which command provides details on IP address configuration?
A. ipconfig (Windows) or ifconfig (Linux)
B. ping
C. tracert
D. nslookup

A

A. ipconfig (Windows) or ifconfig (Linux)

32
Q

What tool can be used to identify open ports on a remote system?
A. ping
B. netstat
C. nmap
D. nslookup

33
Q

What tool is commonly used to diagnose DNS issues?
A. ipconfig
B. nslookup
C. tracert
D. ping

A

B. nslookup

34
Q

Which tool displays the MAC address associated with a local IP address?
A. ipconfig
B. tracert
C. ping
D. arp

35
Q

What command can be used to release and renew an IP address in Windows?
A. ping
B. ipconfig /renew
C. nslookup
D. tracert

A

B. ipconfig /renew

36
Q

What kind of network connection uses coaxial cables?
A. DSL
B. Fiber
C. Cable internet
D. Satellite

A

C. Cable internet

37
Q

Which type of cabling is immune to electromagnetic interference?
A. Copper
B. UTP
C. Fiber-optic
D. Coaxial

A

C. Fiber-optic

38
Q

What is the typical use of a punch-down tool?
A. Terminating cables on patch panels
B. Securing network switches
C. Installing Wi-Fi access points
D. Configuring routers

A

A. Terminating cables on patch panels

39
Q

Which technology can provide data and power over Ethernet cabling?
A. Wi-Fi
B. PoE
C. VPN
D. DHCP

40
Q

What kind of antenna provides 360-degree coverage?
A. Parabolic
B. Yagi
C. Omnidirectional
D. Directional

A

C. Omnidirectional

41
Q

What is the primary difference between a router and a switch?
A. Routers operate at Layer 3, and switches operate at Layer 2
B. Switches operate at Layer 3, and routers operate at Layer 2
C. Routers connect devices within a LAN, while switches connect different LANs
D. Routers and switches function at the same OSI layer

A

A. Routers operate at Layer 3, and switches operate at Layer 2

42
Q

Which of the following tools is used to monitor real-time traffic on a network?
A. Traceroute
B. Ping
C. Packet sniffer
D. IP scanner

A

C. Packet sniffer

43
Q

What is the primary function of a firewall?
A. To route packets to external networks
B. To encrypt data sent across a network
C. To filter traffic based on a set of rules
D. To create network backups

A

C. To filter traffic based on a set of rules

44
Q

Which command would you use to test if a local computer can reach a website?
A. tracert
B. ping
C. ipconfig
D. route

45
Q

What is the maximum length of a Category 6 Ethernet cable for it to operate effectively?
A. 100 meters
B. 50 meters
C. 500 meters
D. 1,000 meters

A

A. 100 meters