The correct answer is:
D) power to confirm appointments of federal judges.
The Senate has the authority to confirm or reject presidential nominations for federal judges, including Supreme Court justices. The House of Representatives has the power to file articles of impeachment (A), and the president appoints ambassadors (C), while state judges are typically confirmed by state legislatures or governors, not the Senate (B).