Answer:
It's a simile.
Step-by-step explanation:
The author is comparing how "she" is seen beyond her poor attire, just like how the moon shines through the clouds that supposedly cover it. This is not a metaphor because there's a word that indicates comparison, which is "as."