Quite literally, taking an exam means being scrutinised or judged by other people. It implies a sense of insecurity. Maybe you feel insufficient, unable to meet other people's (or maybe your own) expectations. Maybe you feel unprepared for a new job or task and/or are afraid to fail in said job or task.
You can find more details here in the dreammoods dictionary.