Review Questions
You can find answers to these questions in Appendix A, “Answers to Review Questions.”
If you need to parse log data by using regex, which symbol should you use to match any characters containing the digits 0 through 9?
\d
\D
\s
\W
If you need to parse log data by using regex, which symbol should you use to match any whitespace characters?
\d
\D
\s
\W
Which of the IP-like strings match the following regex? (Choose two.) \d+\.\d+\.\d+\.\d+
255.257.255.255
10.00.0.1
10.0.0.1/24
8.8,8.8
You work for a company that has very few network devices but that has grown substantially lately in terms of users. Due to this growth, your network has run at nearly its maximum capacity. A new project is being implemented to monitor your devices and applications. Which technique can you use to reduce the impact of this new project in your infrastructure?
Data parsing
Data aggregation
Data visualization
You are building a new Grafana dashboard. Which of the following is the most suitable method for representing a single device’s CPU utilization?
Bar chart
Line chart
Gauge
Pie chart
You are building a new Grafana dashboard. Which of the following is the most suitable method for representing the memory utilization of all components in a system?
Bar chart
Line chart
Gauge
Pie chart
True or false: With automated systems, alarms can only trigger human intervention.
True
False
Your company asks you to train a machine learning model to identify unexpected logs, because it has been storing logs for the past years. However, you lack machine learning expertise. Which of the following is the most suitable method to achieve a working model?
Use AutoML
Use a pretrained model that you find online
Use an in-house trained model
In the context of regex, what does the symbol + mean?
One or more occurrences
Zero or more occurrences
Ends with
Starts with
In the context of machine learning, your company wants to identify how many virtual machines it needs to have available at a specific time of day to process transactions. What type of problem is this?
Regression
Classification
Clustering
Sentiment analysis