Complete the past-simple question: ___ the alarm ring during the inspection?
Explication
The time frame is past and ring is a lexical verb, so did carries the tense and ring remains bare. Was would require a different construction, and rang after did would mark the past twice.