Historically compliance has been viewed as the "business prevention unit", and amongst longer-standing members of the finance community, this may still be the case.
However, with events such as N2, 9/11, MIFID, the compliance department is now seen as helping business rather than being a hindrance.
The principal function is to interpret regulatory and legal requirements and work with the business to ensure conformity.
A good compliance officer works with the business to find solutions, rather than saying "no" automatically.
This means that compliance officers have to be able to understand legal and regulatory requirements and how these can work in practice, acting as a consultant to the business.
As well as understanding internal policy and process, this requires a knowledge of domestic and international rules and regulations that affect business and its operations.
There are in fact many roles in compliance.
There is business-facing compliance (e.g. equities, private banking) who provide specific advice to the business on their activities.
There are other general compliance functions such as the money laundering reporting officer, control room compliance etc.
Most people have fallen into compliance (ex regulators, lawyers, accountants) but it is now seen as a career in itself.
There are specific business school courses dedicated to compliance, providing recognised qualifications.
Graduates now leave university wanting to be compliance officers, however, most people will have prior experience, e.g. legal.
It provides a diverse role that is never the same each day, access to the most senior people in the organisation, and good visibility.
Whilst the salaries will never rival those of investment bankers they are very good and with a shortage of good officers in the marketplace, they continue to be driven up.