The first option seems a bit excessive but the second one in its turn seems a bit abrupt. So, we ask users whether they are sure of what they are doing before completing the action.
In our application there're several actions once done that will cause the data loss or won't be able to be undone.