Question: who killed azog in the book?
Answer: After nine years of war, before the gates of Moria itself, the climactic Battle of Azanulbizar was fought and Azog emerged from the gate of Moria. In that battle, Azog slew Náin on the stairs, but was beheaded by Dáin, son of Náin when he attempted to retreat.