Hi Guys!
In my opinion, "yes" to both questions in EE profile are correct even visitor / student visa etc. got rejected.
However, if you look the same questions in Schedule A which first question is similar but second is slightly difference then in schedule A, answer to first question should be...