Question: what is the answer of would you mind?
Answer: The response "Yes, certainly", indicates that you would mind, and emphatically so. Hence the response should be used only when you do mind. If you have no objection, the correct response would be "No, I don't mind", or "No, please be my guest"!