"According to our expert, this device is faulty and must be exchanged under the warranty."
I have added a comma and "the".
"under warranty" without "the" has a more general meaning that an item is covered by a warranty. Here, you are referring to a specific warranty.