nerdexam
LPI

202-450 · Question #216

202-450 Question #216: Real Exam Question with Answer & Explanation

The correct answer is E. hosts allow = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 localhost. See the full explanation below for the reasoning.

Question

The Samba configuration file contains the following lines: hosts allow = 192.168.1.100 192.168.2.0/255.255.255.0 localhost hosts deny = 192.168.2.31 interfaces = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 A workstation is on the wired network with an IP address of 192.168.1.117 but is unable to access the Samba server. A wireless laptop with an IP address of 192.168.2.93 can access the Samba server. Additional troubleshooting shows that almost every machine on the wired network is unable to access the Samba server. Which single choice below will permit wired workstations to connect to the Samba server without denying access to any one else?

Options

  • Ahosts allow = 192.168.1.1-255
  • Bhosts allow = 192.168.1.100 192.168.2.200 localhost
  • Chosts deny = 192.168.1.100/255.255.255.0 192.168.2.31 localhost
  • Dhosts deny = 192.168.2.200/255.255.255.0 192.168.2.31 localhost
  • Ehosts allow = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 localhost

Community Discussion

No community discussion yet for this question.

Full 202-450 Practice