B. provides opinions on questions of law
In most common law jurisdictions, the Attorney General is the main legal adviser to the government, and in some jurisdictions may in addition have executive responsibility for law enforcement or responsibility for public prosecutions.
In the Federal Government of the United States, the Attorney General is a member of the Cabinet and is the top law enforcement officer and lawyer for the government. The attorney general may need to be distinguished from the Solicitor General, a top lawyer with the responsibility of representing the government in the Supreme Court. In cases of exceptional importance, however, the Attorney General may choose to represent the government himself in the Supreme Court.
The individual U.S. states also have Attorneys General with similar responsibilities.