XDR-Engineer Detection And Reporting Practice Question
An organization uses Cortex XDR to ingest cloud audit logs (such as AWS CloudTrail) alongside endpoint telemetry. An analyst wants to write an XQL query to search for AWS console login failures across the `aws_cloudtrail_raw` dataset. Which XQL structure properly targets cloud logs and filters for failed logins?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
dataset = aws_cloudtrail_raw | filter eventName == 'ConsoleLogin' and responseElements contains 'Failure'
When querying cloud connector logs in Cortex XDR, the dataset name corresponds to the cloud source (e.g., `aws_cloudtrail_raw`) and fields match the cloud schema.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
dataset = aws_cloudtrail_raw | filter eventName == 'ConsoleLogin' and responseElements contains 'Failure'
Why this is correct
This query correctly references the aws_cloudtrail_raw dataset and filters for login failure events.
- ✗
dataset = panw_analytics_alerts | filter source == 'AWS'
Why it's wrong here
This queries alerts rather than raw cloud audit logs.
- ✗
dataset = xdr_data | filter cloud_event == 'AWS_LOGIN_FAIL'
Why it's wrong here
Cloud logs ingested via cloud connectors reside in dedicated cloud datasets, not endpoint xdr_data.
- ✗
dataset = endpoints_inventory | filter cloud_provider == 'AWS'
Why it's wrong here
Endpoints inventory tracks agent assets, not cloud log events.
About these practice questions
Courseiva writes every XDR-Engineer question from scratch — 226 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Palo Alto Networks exam blueprint
This XDR-Engineer practice question is part of Courseiva's free Palo Alto Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XDR-Engineer exam.