exam questions

Exam 202-450 All Questions

View all questions & answers for the 202-450 exam

Exam 202-450 topic 1 question 67 discussion

Actual exam question from LPI's 202-450
Question #: 67
Topic #: 1
[All 202-450 Questions]

The Samba configuration file contains the following lines:

A workstation is on the wired network with an IP address of 192.168.1.177 but is unable to access the Samba server. A wireless laptop with an IP address
192.168.2.93 can access the Samba server. Additional trouble shooting shows that almost every machine on the wired network is unable to access the Samba server.
Which alternate host allow declaration will permit wired workstations to connect to the Samba server without denying access to anyone else?

  • A. host allow = 192.168.1.1-255
  • B. host allow = 192.168.1.100 192.168.2.200 localhost
  • C. host deny = 192.168.1.100/255.255.255.0 192.168.2.31 localhost
  • D. host deny = 192.168.2.200/255.255.255.0 192.168.2.31 localhost
  • E. host allow = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 localhost
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
FabelhaftZuverlaessigerGorilla
Highly Voted 2 years, 11 months ago
Should be E only.
upvoted 14 times
...
shawarov
Most Recent 3 months, 3 weeks ago
A is correct answer according to ChatGPT
upvoted 1 times
Mariobruhn
3 months, 3 weeks ago
if you explain to chatgpt that with option A it would deny access to the wireless network, then chatgpt also said could only be answer E
upvoted 2 times
...
...
serlan
7 months, 2 weeks ago
Selected Answer: E
E - ok
upvoted 1 times
...
Armina
1 year, 5 months ago
Selected Answer: E
E is correct
upvoted 1 times
...
tcaseit
2 years, 7 months ago
I don't think any of these are right. E would allow all of the 192.168.2.0/24 and 192.168.2.0/24 network which would include the host that is in the deny statement (192.168.2.31). According to the manpage any conflicts in allow/deny and the allow wins. https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#HOSTSDENY
upvoted 2 times
exco
1 year, 10 months ago
The question is "... without denying access to anyone else?" So the only E is correct. P.S. In the question also not mentioned that there are two or more answers to chose.
upvoted 3 times
...
...
chavezdf
2 years, 11 months ago
I agree, should be ony E
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago