Police say the suspect was fatally shot by a security guard during an exchange of gunfire inside a cafeteria.