Bird
Raised Fist0

You want to detect anomalies in user login counts per hour across multiple regions. Which approach best applies Elasticsearch ML anomaly detection?

hard🚀 Application Q8 of Q15
Elasticsearch - ELK Stack Integration
You want to detect anomalies in user login counts per hour across multiple regions. Which approach best applies Elasticsearch ML anomaly detection?
ACreate separate jobs for each region without using detectors
BCreate a single job with a detector using 'count' over 'region' by hourly buckets
CUse a job with no bucket_span and analyze raw logs
DRun anomaly detection on static user profiles
Step-by-Step Solution
Solution:
  1. Step 1: Define problem requirements

    Detect anomalies in login counts per hour by region requires aggregation by region and time.
  2. Step 2: Choose correct ML job setup

    A single job with a detector counting logins grouped by region and hourly buckets fits best.
  3. Final Answer:

    Create a single job with a detector using 'count' over 'region' by hourly buckets -> Option B
  4. Quick Check:

    Use detectors with bucket_span and partitioning [OK]
Quick Trick: Use detectors with bucket_span and partition_field [OK]
Common Mistakes:
MISTAKES
  • Creating multiple jobs unnecessarily
  • Omitting bucket_span causing no aggregation
  • Analyzing static data instead of time-series

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes