Any firm choosing a CEO faces a double problem: candidate selection and choice of a compensation scheme. We derive sufficient conditions where the unique optimal compensation scheme is a capped-bonus contract in a pure moral-hazard environment, while equity is used when the firm also faces...