A deputy shot and killed the armed man and arrested a suspect in the child porn investigation, according to Cordero-Stutz.