An action in a sentence can be represented in two ways, namely active and passive voice.
The passive voice always uses the past participle form of the main verb irrespective of any tense. Only the auxiliary verbs depend upon the sentence given in active voice.
The given sentence is in the active voice.
The correct answer is A )By whom was this book written?
Option A) is correct as the object of the given sentence(book) comes in the place of the subject (who). Also, the main verb (write) is used in the third form (written ).
Options B, C, and D cannot be used here as 'is' represents the present tense, being cannot be used here.