The typical VFD (not the regenerating type) has a transistor that switches the braking resistor on when the DC bus voltage rises from energy coming back from the motor during deceleration. It is only switched on for a fraction of a second to keep the DC bus voltage below some preset threshold. So, the braking resistor will not be dissipating power until it is needed.
Regenerating type VFDs would not have a braking resistor.
Jon