Please note it is not attempt which will decide your salary, unless you are talking about campus.
Yes, for campus placement, companies generally preferred first attempt students.But except campus, all CMA students are treated at par.
So, if you clear the final in first attempt it will of course help you. But don't worry all companies do not prefer the first attempt students
Please note: Companies only short list the students on the basic of attempt. But they select the students on the basic of knowledge.
So if you clear the final in firs attempt then you will get shortlisted by all companies coming for campus and once you get short listed every students will be at par. Yes, at the time of interview even ranker get rejected because of poor knowledge.
Now, if we talk about off campus job, then knowledge is given top priority. So dont think much about this all and just concentrate on your cma. Leave rest of the thing on God.
All the best.