In the early 2000s, the interest rate of Japanese Yen was almost zero. That's why many Japanese businesses started to borrow Japanese Yen and started investing in the US treasury bills. In that time, the interest of the US treasury bill was 3-4%. Because of this reason, Yen Carry trade worked in the early 2000s.
The answer that best applies to both the Tang and Song dynasties would be C. A Reliable food production and distribution system. This gave both dynasties the ability to thrive.