[Aisshwarya Yadav] Acceptance criteria would be the outcome and DoD would be the exit criteria.
So, as per the requirement and say of a product owner the criteria must be met, how to achieve the outcome would be the responsibility of developer or the scrum team. The validation from product owner is essential.
After completion of the potentially shippable product it should go through review and reterospective post that it must meet the defined DoD criteria upon sign off.