Season your tenderloin generously with salt and pepper on all sides. Heat olive oil in a hot skillet and sear the beef for about one to two minutes per side, just until it's browned all over. Remove it from the pan and let it cool slightly before brushing it all over with mustard.
Pulse your mushrooms and garlic in a food processor until finely chopped but not pureed. Cook this mixture in the same skillet over medium heat, stirring often, until all the moisture has cooked off and it turns deep brown. Let the duxelles cool completely before using it, since a warm mixture will make your pastry soggy later.
Lay a sheet of plastic wrap on your counter and arrange the ham slices slightly overlapping. Spread the cooled mushroom duxelles evenly over the ham, then place your seared beef in the center. Use the plastic wrap to roll everything into a tight log around the beef, twisting the ends to seal, then chill it in the fridge for about 20 minutes.
Roll out your puff pastry into a rectangle large enough to fully enclose the beef log. Unwrap the chilled beef and place it in the center of the pastry, then fold the pastry over and seal all the edges tightly. Trim off any excess dough so the final shape stays neat and even.
Place your wrapped Wellington seam-side down on a parchment-lined baking sheet and brush the entire surface with beaten egg yolk. Chill it in the fridge for another 15 to 20 minutes so the pastry firms up before baking. Bake at 400°F for about 35 to 40 minutes, until the pastry is deep golden and the internal temperature reads 125°F for medium-rare.
Once out of the oven, let your Wellington rest for about 10 minutes before slicing into it. This resting time allows the juices to settle back into the meat instead of spilling out onto the cutting board. Slice into thick rounds using a sharp serrated knife for the cleanest cuts.