Is a pullup resistor always required for a switch?

Don't know what you mean, digital inputs on a relay.

.