Both can be used.
This simply means: Yuki to angry when her father scolded her and so she left the room.
#2 Because Yuki was scolded by her father she got angry and went out of the room.-- this sentence answers the question "why did Yuki leave the room?"
#3 When Yuki was scolded by her father she got angry and went out of the room.-- This sentence answers the question-- When did YUki leave the room?
Hope this clarifies.
- For Teachers