
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
Q4: A cybersecurity team wants to detect unusual traffic patterns that may indicate a network attack, but they don't have predefined attack labels. Which approach is suitable?
A
Unsupervised Learning
B
Supervised Learning
C
Reinforcement Learning
D
Regression
Explanation:
Correct Answer: A) Unsupervised Learning
Why Unsupervised Learning is the correct choice:
No predefined labels: The problem explicitly states that the cybersecurity team doesn't have predefined attack labels. This is the key characteristic that makes unsupervised learning appropriate.
Detecting anomalies/outliers: Unsupervised learning algorithms like clustering (K-means, DBSCAN) or anomaly detection algorithms are designed to identify patterns, groupings, or outliers in data without prior labeling.
Network traffic analysis: In cybersecurity, unsupervised learning is commonly used for:
Why other options are incorrect:
B) Supervised Learning: Requires labeled data (known attack patterns with corresponding labels) to train a model. Since the team lacks predefined attack labels, supervised learning is not suitable.
C) Reinforcement Learning: Involves an agent learning through trial and error by interacting with an environment to maximize rewards. This is more suitable for sequential decision-making problems (like game playing or robotics) rather than pattern detection in network traffic.
D) Regression: A type of supervised learning used for predicting continuous values, not for detecting anomalies or patterns in unlabeled data.
Real-world application: Unsupervised learning techniques like autoencoders, isolation forests, or clustering algorithms can analyze network traffic data to identify deviations from normal patterns, which could indicate potential security threats or attacks.