L'h˘pital's rule is applicable if direct evaluation results in an indeterminate form, which is the case here.
To apply the rule, differentiate both numerator and denominator to give
X=Lim 1/e^x
x->∞
=0