It’s one of the most commonly asked Appium interview questions. You’ve to be a little logical and practical while answering it. Don’t just simply answer “It would depend on what you need.”, because it would be a layman answer which interviewer won’t expect from you. Rather you should explain it by an example. You can answer by saying that it’s always best to test on real devices. As it would allow you to catch errors that you may not detect otherwise, but, you have to configure the device smartly with the Appium server so that it can detect the device. Sometimes the ADB(Android Debug Bridge) may disconnect from the device even if it remains plugged in, and it can cause your tests to fail. To handle such issues, you can write a module which resets the ADB after some time to re-connect to the devices.