If I post those types of questions, they are closed as "seeking recommendations".
Protecting Azure consumption plan from DDoS attacks
update The close reason of the above question was changed.
If I post those types of questions, they are closed as "seeking recommendations".
Protecting Azure consumption plan from DDoS attacks
update The close reason of the above question was changed.
They are allowed under the assumption that "Is there a way to do..." generally covers…
Above bullets are from What topics can I ask about here?
Your specific question is asking about how you can protect a service offered on the web can be protected from DDoS attacks. You linked your question specific to the hosted service of Azure and their "consumption plan".
Please read Why can't I ask customer service-related questions? to understand why your question is already borderline. It is unlikely we can answer all ins and outs for the plans offered by Microsoft. Nor will an answer have long lasting value.
Hardening servers and services is a system management task, not a programming task. As such the question is off-topic here. It might fly on maybe Super User, Dev Ops or even Server Fault but check their helpcenters first.
Your question was closed correctly on Stack Overflow, despite that the title by itself is allowed.