Cement board siding and PVC rails and trim can deter carpenter bees.
A house with Hardiplank siding and PVC trim and porch rails

M. Waldvogel, NCSU-Entomologgy