Question: for how long are most federal judges appointed?
Answer: "Article III federal judges" (as opposed to judges of some courts with special jurisdictions) serve "during good behavior" (often paraphrased as appointed "for life"). Judges hold their seats until they resign, die, or are removed from office.