Pentek interview question

Embedded basic how to handle interrupts and buffer