ExamGecko
Home Home / LPI / 201-450

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

Question list
Search
Search

List of questions

Search

Fill in the blank:

Running tcpdump -nli eth1 'tcp' shows the following output:

14:41:53.694538 IP 10.1.52.145.51738 > 24.215.7.162.143: Flags [.], ack 33051, win 1002, options [nop,nop,TS val 36789130 ecr 1746004159], length 0

What is the source IP address of this packet? (Please specify the answer in digits and dots ONLY.)

A.
10.1.52.145
A.
10.1.52.145
Answers
Suggested answer: A

A correctly formatted entry has been added to /etc/hosts.deny to prevent certain clients from connecting to a service but this is having no effect. What could be the cause of this? (Choose TWO correct answers.)

A.
tcpd needs to be sent the HUP signal.
A.
tcpd needs to be sent the HUP signal.
Answers
B.
The service needs to be restarted.
B.
The service needs to be restarted.
Answers
C.
The machine needs to be restarted.
C.
The machine needs to be restarted.
Answers
D.
There is a conflicting entry in /etc/hosts.allow.
D.
There is a conflicting entry in /etc/hosts.allow.
Answers
E.
The service does not support tcpwrapper.
E.
The service does not support tcpwrapper.
Answers
Suggested answer: D, E

A network client has an ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)

A.
route add default gw 192.168.0.1 eth0
A.
route add default gw 192.168.0.1 eth0
Answers
B.
ifconfig eth0 defaultroute 192.168.0.1
B.
ifconfig eth0 defaultroute 192.168.0.1
Answers
C.
ip route add default via 192.168.0.1 dev eth0
C.
ip route add default via 192.168.0.1 dev eth0
Answers
D.
echo defaultroute 192.168.0.1 >> /etc/resolv.conf
D.
echo defaultroute 192.168.0.1 >> /etc/resolv.conf
Answers
E.
route add defaultgw=192.168.0.1 if=eth0
E.
route add defaultgw=192.168.0.1 if=eth0
Answers
Suggested answer: A, C

The users of the local network complain that name resolution is not fast enough. Enter the command, without the path or any options, that shows the time taken to resolve a DNS query.

A.
dig, time dig, time host, time nslookup
A.
dig, time dig, time host, time nslookup
Answers
Suggested answer: A

Which command can be used to scan a specified network looking for IP addresses that appear to be in use?

A.
nmap
A.
nmap
Answers
B.
tcpdump
B.
tcpdump
Answers
C.
ip
C.
ip
Answers
D.
netscan
D.
netscan
Answers
E.
hostdiscover
E.
hostdiscover
Answers
Suggested answer: A

What is incorrect about these entries in /etc/hosts which could be causing host name lookup problems with host2? host1 192.168.1.12 host2 192.168.1.12

A.
Two host names are using the same IP address.
A.
Two host names are using the same IP address.
Answers
B.
The server doing the query is on a different subnet.
B.
The server doing the query is on a different subnet.
Answers
C.
The fields are out of order.
C.
The fields are out of order.
Answers
D.
host2 is not a fully qualified domain name.
D.
host2 is not a fully qualified domain name.
Answers
Suggested answer: C

Which of the following wireless tools can be used to check the wireless network link quality? (Choose TWO correct answers.)

A.
iwconfig
A.
iwconfig
Answers
B.
iwlink
B.
iwlink
Answers
C.
iwscan
C.
iwscan
Answers
D.
iwifi
D.
iwifi
Answers
E.
iw
E.
iw
Answers
Suggested answer: A, E

Which of the following commands can be used to list IPv4 addresses and MAC addresses for IP devices that the system has seen on the local network?

A.
arp
A.
arp
Answers
B.
ifconfig
B.
ifconfig
Answers
C.
ipadm
C.
ipadm
Answers
D.
iwlist
D.
iwlist
Answers
Suggested answer: A

What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that already has (at least) one IP address in the 192.168.1.0/24 subnet?

A.
ip add addr 192.168.1.2/32 dev eth0
A.
ip add addr 192.168.1.2/32 dev eth0
Answers
B.
ifconfig eth0 192.168.1.2 netmask 255.255.255.255
B.
ifconfig eth0 192.168.1.2 netmask 255.255.255.255
Answers
C.
ip addr add 192.168.1.2/32 dev eth0
C.
ip addr add 192.168.1.2/32 dev eth0
Answers
D.
ipconfig eth0 192.168.1.2
D.
ipconfig eth0 192.168.1.2
Answers
Suggested answer: C

Fill in the blank:

According to the tcpdump output below, what is the IP address of the client host?

02:12:40.511381 IP 192.168.246.11.1045 > 192.168.246.1.22: S 3838532429:3838532429(0) win 5840 <mss 1460,sackOK,timestamp 31325740,nop,wscale 2>

02:12:40.511540 IP 192.168.246.1.22 > 192.168.246.11.1045: S 1209330085:1209330085(0) ack

383853 2430 win 5792 <mss 1460,sackOK,timestamp 11553457 3132574,nop,wscale 0>

02:12:40.511755 IP 192.168.246.11.1045 > 192.168.246.1.22: . ack 1 win 1460 <nop,nop,timestamp 3 132574 11553457>

02:12:40.515122 IP 192.168.246.1.22 > 192.168.246.11.1045: P 1:26(25) ack 1 win 5792

<nop,nop,timestamp 11553460 3132574>

02:12:40.515511 IP 192.168.246.11.1045 > 192.168.246.1.22: . ack 26 win 1460 <nop,nop,timestamp 3132578 11553460>

02:12:40.515952 IP 192.168.246.11.1045 > 192.168.246.1.22: P 1:23(22) ack 26 win 1460

<nop,nop,timestamp 3132578 11553460>

A.
192.168.246.11
A.
192.168.246.11
Answers
Suggested answer: A
Total 161 questions
Go to page: of 17