It may seem a bit silly question to ask but I having hard time getting this. By double derivative test, it is easy to see that both $e^x$ and $e^{-x}$ are convex, as in both the cases the derivatives are strictly increasing function of $x.$ But then I found the following link :
math.stackexchange.com/a/532690/512080