You want to check for unusual login activity. Specifically, you want to check if there were more than three failed login attempts in the last 10 minutes by the last user who logged in. If you want to automate this through Python, what would be part of your code? Select three answers.

Automate Cybersecurity Tasks with Python | Weekly challenge 4 Quiz | 

You want to check for unusual login activity. Specifically, you want to check if there were more than three failed login attempts in the last 10 minutes by the last user who logged in. If you want to automate this through Python, what would be part of your code? Select three answers.

  • A for loop that iterates through the list of logins
  • A line of code that reassigns a counter variable to 0 if there is a failed login attempt
  • A counter variable that increments when a failed login is detected
  • An if statement that checks if there were more than three failed login attempts

 

Leave a Comment