in theory with beef anything that would make you sick if it was undercooked would be in the outside, this you can cook a steak rare and be okay because the outside is cooked enough. Ground beef risks surface contaminates bedding mixed throughout.
At least that's what I was taught... I still do my burgers at home rare though 😆