Using automated Python programs, you can track whether several failed login attempts occurred within a short span of time, whether login attempts occurred outside of normal work hours, and whether login attempts occurred from IP addresses that are not established work zones. In all of these cases, you can obtain the data needed for Python automation.
Python for loops contribute to automation by allowing you to perform the same action a certain number of times based on a sequence.
Knowing how to work with files is important for automation because cybersecurity-related information is often found in log files.
Common file formats for security logs include .txt and .csv. Both file formats are types of text files, meaning they only contain plain text. It is easy to extract data from .txt and .csv files.
The line of code with open("ip_addresses.txt, "r") as file: instructs Python to open the "ip_addresses.txt" file in order to read it ("r"). It also instructs Python to store the file object in the file variable while inside the with statement.
Which of the following potential signs of suspicious activity can you track with automated Python programs? Select all that apply.
How confident are you in this answer?