What kind of exam must the lawyers pass the state bar or the federal bar?

Admission to the bar is a state exam. There is not a Federal exam for normal practice, but there are some specialties, such as patent law that requires another exam.