Which of the following officeholders could a president NOT dismiss?

A.a federal court of appeals judge

B.the Secretary of State

C.the director of the Central Intelligence Agency (CIA)

D.all can be dismissed by the president because all are appointed by him