ExamGecko
Home / LPI / 201-450
Ask Question

LPI 201-450 Practice Test - Questions Answers, Page 12

Question list
Search

Question 111

Report
Export
Collapse

The following is an excerpt from the output of tcpdump -nli eth1:

13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.21: Flags [.], ack 1 (truncated)

13:03:17.598624 IP 192.168.5.112.21 > 192.168.123.5.1065: Flags [P.], seq (truncated)

Which network service or protocol was used?

FTP
FTP
HTTP
HTTP
SSH
SSH
DNS
DNS
DHCP
DHCP
Suggested answer: A
asked 18/09/2024
Quratulain Damani
42 questions

Question 112

Report
Export
Collapse

Which of the following commands can be used to script interactions with various TCP or UDP services?

ftp
ftp
nc
nc
tcpdump
tcpdump
strings
strings
wget
wget
Suggested answer: B
asked 18/09/2024
Inkisar Malik
36 questions

Question 113

Report
Export
Collapse

Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet?

(Choose TWO correct answers.)

sshd : 192.168.1.
sshd : 192.168.1.
sshd : 192.168.1
sshd : 192.168.1
sshd : 192.168.1.0 netmask 255.255.255.0
sshd : 192.168.1.0 netmask 255.255.255.0
sshd : 192.168.1.0/255.255.255.0
sshd : 192.168.1.0/255.255.255.0
sshd : 192.168.1.0
sshd : 192.168.1.0
Suggested answer: A, D
asked 18/09/2024
Oluseyi Tijani
25 questions

Question 114

Report
Export
Collapse

What should be done to ensure a client machine uses the recursive nameserver running on the IP address 192.168.0.1? (Choose TWO correct answers.)

Add nameserver 192.168.0.1 to /etc/resolv.conf.
Add nameserver 192.168.0.1 to /etc/resolv.conf.
Run route add nameserver 192.168.0.1.
Run route add nameserver 192.168.0.1.
Run ifconfig eth0 nameserver 192.168.0.1.
Run ifconfig eth0 nameserver 192.168.0.1.
Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.
Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.
Run bind add nameserver 192.168.0.1.
Run bind add nameserver 192.168.0.1.
Suggested answer: A, D
asked 18/09/2024
Jeonghoon Park
29 questions

Question 115

Report
Export
Collapse

What should be done after updating the configuration file for syslogd in order to make the changes become effective? (Choose TWO correct answers.)

No action is required, syslogd will notice the updated configuration file after a few minutes.
No action is required, syslogd will notice the updated configuration file after a few minutes.
Send the HUP signal to the syslogd process.
Send the HUP signal to the syslogd process.
Restart the syslogd service.
Restart the syslogd service.
Run the command syslogd -u.
Run the command syslogd -u.
Suggested answer: B, C
asked 18/09/2024
Emmanuel Esquivel Guzman
36 questions

Question 116

Report
Export
Collapse

Which of the following filter keywords for tcpdump specify the transfer direction for network packets? (Choose TWO correct answers.)

source
source
src
src
dest
dest
src or dst
src or dst
both
both
Suggested answer: B, D
asked 18/09/2024
Mohammad Wahid
46 questions

Question 117

Report
Export
Collapse

Under which of the following circumstances would the command ping output the string (DUP!)?

When the ICMP packets are send to a broadcast address and multiple hosts respond.
When the ICMP packets are send to a broadcast address and multiple hosts respond.
When the host being sent ICMP packets is on a different network.
When the host being sent ICMP packets is on a different network.
When the router responds to the ICMP packet in addition to the host receiving the ICMP packets.
When the router responds to the ICMP packet in addition to the host receiving the ICMP packets.
When the host sending the ICMP packet is the same host as the one receiving the ICMP packets.
When the host sending the ICMP packet is the same host as the one receiving the ICMP packets.
Suggested answer: A
asked 18/09/2024
Aparna Roy
40 questions

Question 118

Report
Export
Collapse

What does the -p3 option to the patch command do?

It will strip off path information from each file mentioned in the patch file up to and including the third / character.
It will strip off path information from each file mentioned in the patch file up to and including the third / character.
patch continues execution as long as there are three or fewer errors.
patch continues execution as long as there are three or fewer errors.
It instructs patch to look up to three lines of context before or after the declared line in the original file for a match.
It instructs patch to look up to three lines of context before or after the declared line in the original file for a match.
patch will keep three previous versions of each file in the output to prevent loss of change history.
patch will keep three previous versions of each file in the output to prevent loss of change history.
It instructs patch to conform more strictly to the POSIX standard.
It instructs patch to conform more strictly to the POSIX standard.
Suggested answer: A
asked 18/09/2024
Mohamed Isaaq
31 questions

Question 119

Report
Export
Collapse

When a makefile is included in a source code package, what are commonly defined targets in the file?

CFLAGS, CPPFLAGS, LIBS, LDFLAGS
CFLAGS, CPPFLAGS, LIBS, LDFLAGS
clean, install, uninstall
clean, install, uninstall
PATHS, DESTDIR, LIBS, LDFLAGS
PATHS, DESTDIR, LIBS, LDFLAGS
prefix, exec_prefix, bindir, mandir
prefix, exec_prefix, bindir, mandir
Suggested answer: B
asked 18/09/2024
Reginald Curtis Jr
35 questions

Question 120

Report
Export
Collapse

Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?

Become a Premium Member for full access
  Unlock Premium Member
Total 161 questions
Go to page: of 17