Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Classify and Cluster Vectra Detections

EasyMachine Learning00:00
Practice interviewer
In session
5 left
00:00

Your question is Classify and Cluster Vectra Detections. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

Vectra AI wants to improve triage in the Vectra AI Platform by both classifying known attack behaviors and surfacing novel patterns in detections that do not yet have reliable labels. You need to show the practical difference between supervised and unsupervised learning using the same security dataset.

Dataset

You are given historical detection-level telemetry exported from the Vectra AI Platform.

Feature GroupCountExamples
Detection scores6certainty_score, threat_score, triage_priority, host_risk_score
Entity behavior10failed_logins_24h, lateral_movement_events_7d, beaconing_count_24h, rare_process_count
Asset context7device_type, identity_type, business_unit, crown_jewel_flag
Network context8bytes_outbound_1h, unique_dst_ips_24h, external_conn_ratio, protocol_entropy
Temporal features5hour_of_day, day_of_week, time_since_first_seen, burstiness_index
  • Rows: 240K detections collected over 9 months
  • Target available for subset: analyst_validated_label = malicious (1) / benign (0)
  • Labeled subset: 72K rows; remaining 168K rows are unlabeled
  • Class balance in labeled data: 11% malicious, 89% benign
  • Missing data: 8% missing in asset context, 3% missing in network features, higher missingness for newly observed hosts

Success Criteria

A strong solution should:

  • Achieve AUC-ROC >= 0.88 and recall >= 0.75 at precision >= 0.50 on the labeled test set for the supervised model
  • Produce unsupervised clusters with silhouette score >= 0.20 and a clear interpretation of at least 3 cluster types
  • Clearly explain when Vectra AI should use supervised classification vs unsupervised clustering in production

Constraints

  • Batch scoring must complete within 15 minutes for 300K daily detections
  • Security analysts need interpretable outputs, not just raw scores
  • Labels are incomplete and may lag by days or weeks

Deliverables

  1. Train a supervised model to classify malicious vs benign detections
  2. Train an unsupervised model to group detections without labels
  3. Compare the two approaches, including data requirements, outputs, and failure modes
  4. Recommend how both models should be used together in the Vectra AI Platform
  5. Report evaluation metrics and key feature or cluster insights