Translation:Did you buy insurance?
Just for info on the English grammar. It would only be "the" to refer to insurance previously discussed, so maybe if you had been told it write be a good idea to get insurance. If it's the first time it's being mentioned, "any" would be better.
Missing out either weird, so just "did you buy insurance" can be used in either case.