How do bacteria like klebsiella pneumoniae aquire resistant genes?

Plasmid/selection. Bacterial resistance is either transmitted between members by something called a plasmid, a small circle of dna that carries the resistance genes. This, coupled with selection from exposure to antibiotics, breeds populations of resistant bacteria.