When the outside temperature is above 90° F and the AC is running, a knocking noise from the engine compartment may be heard, especially when the vehicle is stopped or idling. This is commonly caused by a failing AC compressor assembly which will require  replacement.