There's always another way to solve limits, so try that first. If it fails, use L'Hopital's and you'll probably solve it in 2 seconds. You'll then be awarded full marks and aplauded for your ingenuity.
They are only allowed to deduct marks when they say "hence, solve" and you don't use the hence, or if they say "using method X, solve" and you don't use method X.
If they say "hence or otherwise", you may freely use whatever method you wish.
Conditions: L'Hopital's rule only works if:
a) both the numerator and denominator tend towards the same value when you consider their limits individually.
b) that "same value" must be an indeterminate form: 0, infinity, negative infinity, 0^0, 0*infinity, etc.
c) the derivative of the top and bottom exist.
Sometimes the derivatives just oscillate around a bit (e.g. sometimes with trig and exponentials) and thus the rule isn't useful.
You should really know what continuity is by now:
http://en.wikipedia.org/wiki/Continuous_function