Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

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