So as a DM you could decide on no matter whether you need to roll 5d8+five to make a decision the monsters overall health to add an element of randomness for the creature, or you usually takes 27 as its Hit Points which can be the normal of your rolls in order to be self-confident within the creature getting a fair fight. It’s totally up to you.