Saying "Yes" or "No" is communicating, is it not?
Yes of course, it is communicating.
The examiner/invigilator needs an answer to the question, that's all. However, he never mentioned that he needed that answer within the given time.
However, the invigilator said that you can't communicate with him so
how are you supposed to give him the answer ...