exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 80 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 80
Topic #: 1
[All LFCS 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
rona962
2 months, 3 weeks ago
Selected Answer: B
The key combination CTRL+C sends the SIGINT signal to a process. Explanation: SIGTERM (signal 15) is sent to terminate a process gracefully. SIGINT (signal 2) is sent to interrupt a process. It is typically initiated by the user pressing CTRL+C on the keyboard in the terminal. This signal can be caught by a process, allowing it to perform any necessary cleanup operations before exiting. SIGSTOP (signal 19) is sent to suspend a process temporarily. SIGKILL (signal 9) is sent to force a process to terminate immediately without performing any cleanup operations. Therefore, when a user presses CTRL+C, the operating system sends the SIGINT signal to the process running in the foreground of the terminal, allowing the process to perform any necessary cleanup operations before exiting. If the process does not catch the SIGINT signal, it will terminate immediately.
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