Pharmacology

A child was admitted to the hospital with H.influenza meningitis .cefotaxime is preferred over ampicillin because?