My oldest daughter (six years old) does that sort of thing. She can somewhat answer questions, but really is still sleeping. I find that if I make her go to the bathroom before she goes to bed then she doesn't wake up in a fog/sleep walk. My DD started doing it around age 4 1/2. It is like she is still dreaming or something -- it's weird!