The aircraft’s transponder fails during flight within Class D airspace.