Interview Questions - UNIX Memory Management

What are states that the page can be in, after causing a page fault?
  1. On a swap device and not in memory,
  2. On the free page list in the main memory,
  3. In an executable file,
  4. Marked "demand zero",
  5. Marked "demand fill"

In what way the validity fault handler concludes?
  1. It sets the valid bit of the page by clearing the modify bit.
  2. It recalculates the process priority.

At what mode the fault handler executes?
At the Kernel Mode.

What do you mean by the protection fault?
Protection fault refers to the process accessing the pages, which do not have the access permission. A process also incur the protection fault when it attempts to write a page whose copy on write bit was set during the fork() system call.