Hui,
Yes, that's usually a more adjectival example.
But if you say :"yes, I was asked to compare and contrast" what you are really saying in passive voice is that your teacher asked you to do this.
eg I was asked (by my teacher) to compare and contrast. . '
Best wishes, Clive