nerdexam
ExamsCAS-001Questions#327
CompTIA

CAS-001 · Question #327

CAS-001 Question #327: Real Exam Question with Answer & Explanation

The correct answer is A: The administrator must use the sudo command in order to restart the service.. The administrator successfully connected via SSH (the non-standard port 2020 worked fine, ruling out Option B), logged in as a regular user ('user'), and reached a command prompt. However, restarting system services like BIND on Linux requires elevated privileges. Running 'servic

Question

After being informed that the company DNS is unresponsive, the system administrator issues the following command from a Linux workstation: - SSH-p 2020 -l user dnsserver.company.com Once at the command prompt, the administrator issues the below command: - Servicebind restart - The system returns the below response: - Unable to restart BIND Which of the following is true about the above situation?

Options

  • AThe administrator must use the sudo command in order to restart the service.
  • BThe administrator used the wrong SSH port to restart the DNS server.
  • CThe service was restarted correctly, but it failed to bind to the network interface.
  • DThe service did not restart because the bind command is privileged.

Explanation

The administrator successfully connected via SSH (the non-standard port 2020 worked fine, ruling out Option B), logged in as a regular user ('user'), and reached a command prompt. However, restarting system services like BIND on Linux requires elevated privileges. Running 'service bind restart' as a non-root user will fail with a permission-denied style message. The solution is to prepend 'sudo' to the command: 'sudo service bind restart'. Option B is incorrect because the connection succeeded. Option C is incorrect because the message says 'Unable to restart BIND,' not that it started but failed to bind to an interface - those are distinct error conditions. Option D rephrases the same concept as A but is less precise; the correct technical resolution is specifically the use of sudo.

Community Discussion

No community discussion yet for this question.

Full CAS-001 Practice