Unfortunately, professional accreditation fees (such as bar exam fees) are not tax-deductible.
For more information on this, please see IRS Publication 17 (search for "Bar exam fees"):
http://www.irs.gov/publications/p17/ch28.html#en_US_2013_publink1000174152
The same rules apply to bar exam prep course fees. Job-related education expenses that are needed to qualify you for the minimum requirements to do a job are not deductible.