AZ-304 Exam QuestionsBrowse all questions from this exam

AZ-304 Exam - Question 211


You plan to deploy an API by using Azure API Management.

You need to recommend a solution to protect the API from a distributed denial of service (DDoS) attack.

What should you recommend?

Show Answer
Correct Answer: B

To protect an API from a distributed denial of service (DDoS) attack, the best recommendation among the options provided is to enable rate limiting. Rate limiting helps mitigate DDoS attacks by restricting the number of requests a client can make to the server within a certain timeframe. This prevents any single client from overwhelming the system with too many requests, which is a common tactic in DDoS attacks. Other options such as stripping the Powered-By response header, enabling quotas, or creating network security groups (NSGs) do not directly address the mechanism of mitigating high request rates from multiple sources, as rate limiting does.

Discussion

6 comments
Sign in to comment
saptati
Aug 31, 2021

Rate limit should be correct! A rate limiting solution measures the amount of time between each request from each IP address, and also measures the number of requests within a specified timeframe. If there are too many requests from a single IP within the given timeframe, the rate limiting solution will not fulfill the IP address's requests for a certain amount of time. [Copied] Ref: https://www.examtopics.com/discussions/microsoft/view/7189-exam-az-301-topic-6-question-21-discussion/

syu31svc
Sep 28, 2021

A and C are wrong for sure NSG is for allowing and blocking traffic flow so answer is B rate limiting

ziizai
Aug 31, 2021

Correct

Jony2
Sep 1, 2021

Correct - https://docs.microsoft.com/en-us/azure/api-management/api-management-access-restriction-policies

altafpatel1984Option: B
Feb 20, 2022

Based on this: https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling#rate-limits-and-quotas

therealss
Feb 14, 2022

I don't think this is a good question as DDoS is enabled by default. Rate limiting only works by key, so this question is assuming the attackers have limited keys at their disposal....a reasonable assumption, but again, rate limiting isn't meant to protect against DDoS.