I guess most exchanges use some sort of hierarchical deterministic wallet as defined by BIP0032:
[...]
Well You think they're using a the bitcoin core to generate addresses ?
About replies mentioning APIs, look at binance they've multiple coins so maintaining APIs will be definitely hell.
Still looking for a more accurate answer.