Amazon Interview Question
Software Engineer / DevelopersCountry: United States
Interview Type: Phone Interview
The receiving of such amount of email can be due to following reasons .
1)Either It may be denial-of-service (DDoS) attack
2)Some important event has occured at that particular interval of time.
The situation can be handled in the following way.
1. There should be intelligence to identify if it is a denail of service attack.If it is denail of service attack request from that particular client should be blocked.
DOS attack can be confirmed based upon the source ip, mail content etc.
2. Request are legitimate and are from different sources (i.e Wishing New year)
Data analytic tools can be run as a background service to check the content of mail and count the particular phrase or word to find the cause of such huge amount of mail.
There should be a threshold value defined for the mail server.
Once the threshold is reached the mail has to be added to a secondary storage and should be dispatched in batch wise manner without affecting online flow.
The receiving of such amount of email can be due to following reasons .
- sumit January 29, 20151)Either It may be denial-of-service (DDoS) attack
2)Some important event has occured at that particular interval of time.
The situation can be handled in the following way.
1. There should be intelligence to identify if it is a denail of service attack.If it is denail of service attack request from that particular client should be blocked.
DOS attack can be confirmed based upon the source ip, mail content etc.
2. Request are legitimate and are from different sources (i.e Wishing New year)
Data analytic tools can be run as a background service to check the content of mail and count the particular phrase or word to find the cause of such huge amount of mail.
There should be a threshold value defined for the mail server.
Once the threshold is reached the mail has to be added to a secondary storage and should be dispatched in batch wise manner without affecting online flow.