Вопрос:

The book was written by XXXXX.

Ответ:

The question for this statement is:

Who was the book written by?