What are the main risks faced by banks and how does a bank attempt to manage these risks?