No, not at all. It has nothing to do with effort. "A" is used before any word which starts with a consonant sound. "Y" is a consonant sound (of course, it's a consonant) so it is preceded by "a". "An" is used before vowel sounds.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: