220-1002 · Question #455
220-1002 Question #455: Real Exam Question with Answer & Explanation
The correct answer is D: Ps and kill. On Linux, the 'ps' command (process status) lists all currently running processes, allowing the administrator to identify whether any instance of the application is already running and find its Process ID (PID). The 'kill' command is then used to terminate that rogue process by i
Question
Options
- APad and chmod
- BNode and vi
- CIs an chown
- DPs and kill
- EOp and rm
Explanation
On Linux, the 'ps' command (process status) lists all currently running processes, allowing the administrator to identify whether any instance of the application is already running and find its Process ID (PID). The 'kill' command is then used to terminate that rogue process by its PID (e.g., 'kill -9 <PID>'). This combination directly addresses the error 'only one instance may run at a time' by confirming and terminating any orphaned or stuck process. The other pairs - chmod (permissions), chown (ownership), vi (text editor), rm (remove files) - are unrelated to process inspection and termination.
Community Discussion
No community discussion yet for this question.