Inspirational journeys

Follow the stories of academics and their research expeditions

Comptia Linux + 2023 Questions and answer - Part 4

Mary Smith

Sat, 24 May 2025

Comptia Linux + 2023 Questions and answer - Part 4

1. In order to discover the link layer address of the device that owns a specific IPv4 or IPv6 address, which mechanism is used?

A) A. Both IPv4 and IPv6 use ARP.
B) B. Both IPv4 and IPv6 use Neighbor Discovery.
C) C. IPv4 uses ARP while IPv6 uses Neighbor Discovery.
D) D. IPv4 uses Neighbor Discovery while IPv6 uses ARP.
E) E. Both IPv4 and IPv6 can use either ARP or Neighbor Discovery depending on the network.


2. Which of the following are valid IPv4 network masks? (Choose TWO correct answers.)(Select 2answers)

A) A. 255.255.0.0
B) B. 255.255.255.65
C) C. 255.255.0.255
D) D. 0.0.0.1
E) E. 255.255.255.248


3. How does the ping command work by default?

A) A. It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return.
B) B. It sends an ARP request to a remote host and waits to receive an ARP response in return.
C) C. It sends a TCP SYN packet to a remote host and waits to receive an TCP ACK response in return.
D) D. It sends a broadcast packet to all hosts on the net and waits to receive, among others, a response from the target system.
E) E. It sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return.


4. Which of the following statements is valid in the file /etc/nsswitch.conf?

A) A. multi on
B) B. 192.168.168.4 dns-server
C) C. hosts: files dns
D) D. include /etc/nsswitch.d/



5. Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)(Select 3answers)

A) A. 127.0.0.0/8
B) B. 10.0.0.0/8
C) C. 169.255.0.0/16
D) D. 172.16.0.0/12
E) E. 192.168.0.0/16


1. Right Answer: C
Explanation:

2. Right Answer: A,E
Explanation:

3. Right Answer: E
Explanation:

4. Right Answer: C
Explanation:

5. Right Answer: B,D,E
Explanation:

0 Comments

Leave a comment