What Can Go Wrong if You Try to Remove a Car Stereo?

Problem scenario
You want to remove a car stereo. Can something go wrong if so what should you look out for?

Solution
Yes. The airbags could be triggered. The car alarm could go off. Some anti-theft devices sound an alarm if the car stereo is tampered with.

You do not want the airbags to potentially inflate suddenly causing injury to you.

Security Quiz

1. Most security vulnerabilities are from new or previously unknown problems. True or False?

2. What is one of the protocols IPsec uses to secure IP layer communications?

_________________________________________

3. What is defense in depth (or DiD)?

a. A type of highly-secure cryptography for data at rest.
b. A type of highly-secure cryptography for data in transit.
c. Both of the above.
d. The implementation of a combination of security measures that may be disparate and redundant for achieving security from a pragmatic perspective.

Should You Save Old I.T. Certification Study Guides?

Question
Given the obsolescence of information technology topics, should you hold on to study guides and books for years later as an investment?

Answer
Possibly. Sometimes one book that was published in 2010 can list for over $1,000. This book is RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300) 6th (sixth) edition Text Only Paperback by Michael Jang.

How Do You Write a Python Program to Parse a Log File and Return Lines with the Word “Failed”?

Problem scenario
You want to retrieve lines from a log file with the word “failed”. How do you do this with Python?

Solution

Assuming the log file is named “auth.log”, this will work:

log_reader = open(‘auth.log’, ‘r’)
for line in log_reader:
lower_line = line.lower()
if lower_line.find(“failed”) != -1:
print(line) …