exam questions

Exam LX0-103 All Questions

View all questions & answers for the LX0-103 exam

Exam LX0-103 topic 3 question 42 discussion

Actual exam question from CompTIA's LX0-103
Question #: 42
Topic #: 3
[All LX0-103 Questions]

Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?

  • A. SIGTERM
  • B. SIGINT
  • C. SIGSTOP
  • D. SIGKILL
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
The signal that is sent to a process when the key combination CTRL+C is pressed on the keyboard is B, SIGINT. Here's how it works: When you press the CTRL+C key combination in a terminal, it sends a signal to the foreground process group associated with that terminal. The default signal that is sent is SIGINT, which stands for "signal interrupt". The SIGINT signal is typically used to request that a process terminate gracefully.
upvoted 1 times
linux_admin
2 years, 2 months ago
SIGSTOP (signal stop): This signal is used to stop a process. Its default action is to suspend the process and put it in the background, allowing it to be resumed later using the SIGCONT signal. SIGKILL (signal kill): This signal is used to forcefully terminate a process. Its default action is to terminate the process immediately and unconditionally, without giving the process an opportunity to perform any cleanup. Because of its extreme nature, it should be used with caution, and should only be used as a last resort when other signals or methods have failed to terminate a process. In Unix-like operating systems, SIGTERM (signal termination) is a signal that is typically sent to a process in order to request that it terminate gracefully. Unlike the SIGKILL signal, which forces a process to terminate immediately and unconditionally, the SIGTERM signal allows a process to perform any necessary cleanup or shutdown procedures before terminating.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago