If it was “ Are you required to file ? “ , then it made sense to answer “yes” but the question is “were you required to file ?” which could imply that I did not file the taxes when I was supposed to file.
IRCC can always check, yes, that’s why they ask for SIN. So, why don’t I just say “ Yes “...