Sometimes used to make a play on "served as an example," "make an example of," and other idiomatic phrases that use the word "example".
guy 1: hey, is your bro's fulltime job still sitting on the coach?
guy2: yea, he's an example alright.
Lunch lady: (To student) Here you go, son. (Loud whispered to other lunch lady) Example, served.
Student: What was that?