The one question that you provided was not deleted by a moderator or the community. It was deleted by the user that posted the question.
If you are answering questions that are being deleted by moderators, the community, or automatic deletion criteria then the goal is to discourage you from answering those very low quality questions. We don't want you answering questions that don't belong on the site, and that fall well below the minimum standards of quality. When you answer these questions you encourage people to continue to ask them, and then that means more low quality content that we need to try to get rid of.
You should be spending your time answering quality questions that do meet the site's guidelines. It's a good thing for you to take a short moment to evaluate a given question and ensure that it meets the site's guidelines before beginning to answer it.
I'd also like to note that it is not "beginner" questions or "easy" questions that are a problem. Good questions are questions that are clear, on topic, appropriately scoped, can be objectively answered, have enough information to be answered, are understandable, are well researched, etc. While it is true that many people who ask basic programming questions also haven't developed the skills of how to ask good questions, meeting these criteria, there are plenty of people who ask simple, easy, basic questions, but do so while meeting all of these criteria. These questions are fine. Conversely, some experienced developers ask very complex and difficult questions, but also don't meet the given criteria. Those questions are just as problematic.
When a given question doesn't meet the site's guidelines first focus on *fixing the question by helping the author clarify what they mean, add missing information, improve the grammar/spelling/formatting, include research, etc. Once the question has been improved then you can answer it. This is far more likely to result in high quality answers, which is the goal of the site.