Which of the following central bank functions are performed by the Hong Kong Monetary Authority?
(1) managing the foreign exchange reserves
(2) determining the deposit interest rates of banks
(3) acting as the lender of last resort
A. (1) and (2) only
B. (1) and (3) only
C. (2) and (3) only
D. (1), (2) and (3)