exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 6 question 21 discussion

Actual exam question from Microsoft's AZ-301
Question #: 21
Topic #: 6
[All AZ-301 Questions]

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?

  • A. Create network security groups (NSGs).
  • B. Enable quotas.
  • C. Enable rate limiting.
  • D. Strip the Powered-By responsible header.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tes
Highly Voted 5 years, 6 months ago
Rate limiting is the only possible option . NSG has nothing to do with DDOS.
upvoted 27 times
...
manhattan
Highly Voted 4 years, 11 months ago
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.
upvoted 9 times
...
glam
Most Recent 4 years, 4 months ago
C. Enable rate limiting.
upvoted 1 times
...
sanketshah
4 years, 5 months ago
given answer is correct.
upvoted 1 times
...
Rooh
4 years, 9 months ago
Rate limiting is the correct answer
upvoted 1 times
...
dev2dev
4 years, 12 months ago
rate limit will not solve the ddos attack because the genuine requests will be lost if rate limit is implemented. it needs to be handled before request reached APIM which is NSG
upvoted 2 times
...
Manmohan
5 years ago
Answer is correct
upvoted 2 times
...
chaudh
5 years ago
https://docs.microsoft.com/en-us/azure/security/fundamentals/ddos-best-practices Defense in depth ... Network security groups (NSGs) are another way to reduce the attack surface. You can use service tags and application security groups to minimize complexity for creating security rules and configuring network security, as a natural extension of an application’s structure.
upvoted 1 times
...
chaudh
5 years ago
I think A. NSGs is the correct answer. It prevents DDoS from the boundary. Enable rate limiting may reject the request but the attack traffic already hit the Azure inside.
upvoted 1 times
...
jcarlos
5 years ago
As of today, the best answer would be “Enable Azure DDoS Protection Standard on the Vnet associated with your API Management deployment to protect from distributed denial of service (DDoS) attacks.” From https://docs.microsoft.com/en-us/azure/api-management/security-baseline. But as this is not in the answers, I guess rate limit is the best choice. It has more options to control DDoS attacks in a world open scenario where legitimate requests can come from everywhere https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling
upvoted 4 times
...
Happiman
5 years, 2 months ago
NSG is correct even though it is basic. http://work.haufegroup.io/securing-backends-azure-apim/
upvoted 1 times
...
eng_inside2007
5 years, 2 months ago
NSG is the correct answer and it's do DDOS. https://hub.packtpub.com/secure-azure-virtual-network/
upvoted 3 times
jack25
5 years, 2 months ago
The DDOS protection is in the Vnet "DDOS Protection" with 2 options. NSG doesn't protect against DDOS : https://docs.microsoft.com/en-us/azure/virtual-network/ddos-protection-overview
upvoted 2 times
...
...
rafapaz09
5 years, 4 months ago
Answer is correct, on the azure documentation says about rate limit "you may want to limit a number of calls the API is called so it is not overused by developers"
upvoted 5 times
...
moglie
5 years, 5 months ago
answer is correct. https://docs.microsoft.com/en-us/azure/api-management/transform-api
upvoted 8 times
...
ShaileshV
5 years, 7 months ago
https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling
upvoted 2 times
...
powertechnet
5 years, 7 months ago
agree with A answer You can reduce the surface area by using whitelisting to close down the exposed IP address space and listening ports that are not needed on the load balancers (Azure Load Balancer and Azure Application Gateway). Network security groups (NSGs) are another way to reduce the attack surface.
upvoted 1 times
Ekramy_Elnaggar
5 years, 5 months ago
there is no VNET with API management
upvoted 12 times
...
...
teresam
5 years, 8 months ago
I think that the correct answer is A. BTW, DDOS protection is available by default for any Vnet. as for: https://docs.microsoft.com/en-us/azure/virtual-network/manage-ddos-protection#enable-ddos-for-a-new-virtual-network
upvoted 2 times
Ekramy_Elnaggar
5 years, 5 months ago
the question mentioned "API management" , there is no VNET there
upvoted 16 times
tartar
4 years, 9 months ago
C is ok
upvoted 1 times
...
...
tundervirld
5 years ago
The A say NSG., NSG it isn't Vnet. The answer makes sense https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...