2. Rub the tenderloin with olive oil and sprinkle it with a generous amount of black pepper. Place the tenderloin on a rack in a shallow roasting pan or baking sheet.
3. Roast the tenderloin for 30 minutes before sprinkling it with a generous amount of salt. Return it to the oven and continue to cook for 10 to 20 minutes more, depending on the exact size and the desired degree of doneness.
4. Remove it from the oven and let rest for at least 10 minutes before slicing. Serve the beef warm, at room temperature or cold.
(If you plan to serve the beef cold, you can prepare it in advance and store it in the refrigerator for up to 3 days.)