She played the role of a fairy.

Literal

She [topic-は] fairy [possessive-の] role [object-を] performed.

妖精の役を演じた — 妖精 (ようせい, 'fairy') is a Sino-Japanese compound. 役を演じる (やくをえんじる, 'to play a role') is the standard acting expression.