You've already seen how to form inverted questions in Le Présent. Let's see how to form inverted question in Le passé Composé when the subject is a noun.
Inverted questions with nouns in Le Passé Composé (Indicatif) in French
To form questions by inverting in Le Passé Composé (Indicatif) 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:
See Inverted questions in the compound past (Le Passé Composé) in French - with subject pronouns
and Inverted questions with reflexive verbs in the compound past (Le Passé Composé) in French
See also Inverted questions in the present tense (Le Présent) in French - regular forms (except il/elle/on forms)
Inverted questions in the present tense (Le Présent) in French - il/elle/on forms
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 »