Ali has ____?
Ali has ____?
Explanation
"An" is used before a noun that starts with a vowel sound.
Since "apple" starts with a vowel sound ("a" sound), the indefinite article "an" is used instead of "a".
So, the correct sentence is: "Ali has an apple".