You can remember the meaning of 哎呀 with this easy mnemonic:
Hey (哎)! Why haven't I heard any words expressing surprise, doubt, shock and admiration (呀) from you?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.