To form questions by inverting in Passé composé when the subject is a noun (Marie, la fille, etc), you follow this order:
Anne est allée au marché. -> Anne est-elle allée au marché ?
Anne went to the market. -> Did Anne go to the market?
Note that when turning the sentence into a question, you still need to include the subject pronoun il, elle, nous, vous, ils or elles that matches the subject noun.
-> If the noun is Anne, you will use elle (feminine singular), but if it's garçon, you will use il (masculine singular).
Here are more examples:
ATTENTION:
See Forming inverted questions with subject pronouns in Le Passé Composé (conversational past)
and Forming inverted questions with reflexive verbs in Le Passé Composé
See also Forming inverted questions in Le Présent (except il, elle, on forms)
Forming inverted questions in Le Présent with il, elle, on
Want to make sure your French sounds confident? We’ll map your knowledge and give you free lessons to focus on your gaps and mistakes. Start your Braimap today »