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
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.