(1) Providing loans to distressed financial institutions is called: Lender of last resort
A lender of last resort is a lender that provides loans (usually short‑term) to banks in times of financial distress or crisis.
(2) Role of central bank in ensuring people can retrieve money from bankrupt bank is called: Deposit Insurance
Deposit insurance is an insurance system that protects depositors so that they do not lose their money if a bank fails.