Given the following Elasticsearch ML anomaly detection job query, what will be the value of is_anomaly for the bucket with anomaly_score 85?
{
"job_id": "network_traffic",
"start": "now-1h",
"end": "now",
"anomaly_score": 85
}Elasticsearch flags anomalies when the anomaly score is above 75.
In Elasticsearch ML, anomaly scores above 75 are considered significant anomalies, so is_anomaly is true for a score of 85.
Consider an Elasticsearch ML anomaly detection job that returns the following JSON snippet of anomalies detected in the last day. How many anomalies have an anomaly_score greater than 80?
{
"anomalies": [
{"timestamp": 1680000000000, "anomaly_score": 82},
{"timestamp": 1680003600000, "anomaly_score": 77},
{"timestamp": 1680007200000, "anomaly_score": 90},
{"timestamp": 1680010800000, "anomaly_score": 65}
]
}Count only anomalies with anomaly_score strictly greater than 80.
Only two anomalies have scores above 80: 82 and 90.
Review this ML job configuration snippet. What error will Elasticsearch return when trying to create this job?
{
"job_id": "cpu_usage",
"analysis_config": {
"bucket_span": "15m",
"detectors": [
{"function": "mean", "field": "cpu_percent"},
{"function": "sum", "field": "cpu_percent"}
]
},
"data_description": {"time_field": "timestamp"}
}Check if the combination of detectors is allowed in Elasticsearch ML.
Elasticsearch ML allows multiple detectors on the same field with different functions like mean and sum in the same job.
You want to filter anomaly detection results to show only anomalies with anomaly_score greater than 90. Which Elasticsearch query snippet achieves this?
Use a range query to filter numeric fields.
The range query with "gt": 90 correctly filters anomalies with scores greater than 90.
Choose the best explanation for why Elasticsearch ML anomaly detection is preferred over fixed threshold alerts in monitoring data streams.
Think about how ML models learn from data patterns over time.
Machine learning models adapt to evolving data and can detect anomalies that static thresholds miss, making them more flexible and accurate.