How Are Background Checks for Government Appointees Conducted?

How background checks for government workers and presidential appointees are conducted, and the differences from standard checks done by private investigation agencies.