Before you go get it replaced what type of knocking noise is it? Heavy light metallic soft
I'm suspect of the diagnosis "knocking noises" are generally not the cat, a rattle yes but not heavy knocking, check anything that could cause issue, exhaust and probably front suspension.
What age is the car?
Has anything been replaced recently?
Does it make a noise stationary when the throttle "blipped"?