nerdexam
CompTIA

XK0-006 · Question #54

A systems administrator needs to open the DNS TCP port on a Linux system from network 10.0.0.0/24. Which of the following commands should the administrator use for this task?

The correct answer is C. ufw allow 53/tcp from 10.0.0.0/24. The ufw allow 53/tcp from 10.0.0.0/24 command explicitly opens TCP port 53 (DNS) for connections coming from the 10.0.0.0/24 network, which is the correct way to configure this

Security

Question

A systems administrator needs to open the DNS TCP port on a Linux system from network 10.0.0.0/24. Which of the following commands should the administrator use for this task?

Options

  • Aufw allow dns/tcp to 10.0.0.0/24
  • Bufw enable 53/tcp from 10.0.0.0/24
  • Cufw allow 53/tcp from 10.0.0.0/24
  • Dufw disable from 10.0.0.0/24

How the community answered

(70 responses)
  • A
    1% (1)
  • B
    7% (5)
  • C
    89% (62)
  • D
    3% (2)

Explanation

The ufw allow 53/tcp from 10.0.0.0/24 command explicitly opens TCP port 53 (DNS) for connections coming from the 10.0.0.0/24 network, which is the correct way to configure this

Topics

#ufw#firewall rules#DNS#port management

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice