nerdexam
CompTIA

XK0-001 · Question #94

A Linux machine has a local address of 192.168.1.1 with a subnet mask of 255.255.255.0. At this time, all services are denied. Which of the following lines would be appended to the hosts.allow file…

The correct answer is A. httpd: 192.168.1.0/24. CompTIA XK0-001 Exam

Linux Network Security

Question

A Linux machine has a local address of 192.168.1.1 with a subnet mask of 255.255.255.0. At this time, all services are denied. Which of the following lines would be appended to the hosts.allow file to permit access to the Web service on the local subnet?

Options

  • Ahttpd: 192.168.1.0/24
  • BALL: 192.168.1.255/24
  • CALL except httpd: 192.168.1.1/24
  • D192.168.1.255/255.255.255.0:httpd

How the community answered

(32 responses)
  • A
    78% (25)
  • B
    6% (2)
  • C
    3% (1)
  • D
    13% (4)

Explanation

CompTIA XK0-001 Exam

Topics

#hosts.allow#Linux security#subnet access control#TCP wrappers

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice