Cybersecurity-Apprentice Cloud Security Practice Question
A security engineer is writing a custom RQL (Resource Query Language) search in Prisma Cloud to find all AWS EC2 instances that do not have encryption enabled on their root volumes. Which RQL query syntax is correct?
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
✓
config from cloud.resource where type = 'aws-ec2-instance' and root.volume.encryption = false
Config RQL queries follow the pattern 'config from cloud.resource where type = ''aws-ec2-instance'' ...'.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
vulnerability from container where crit > 0
Why it's wrong here
Vulnerability RQL targets container vulnerabilities rather than cloud infrastructure configurations.
- ✗
network from cloud.traffic where source.type = 'ec2' and destination.encrypted = false
Why it's wrong here
Network RQL analyzes network flow logs, not resource configurations.
- ✓
config from cloud.resource where type = 'aws-ec2-instance' and root.volume.encryption = false
Why this is correct
This is the correct syntax for querying AWS EC2 instance encryption status via Config RQL.
- ✗
event from cloud.audit where operation = 'RunInstances' and encrypted = false
Why it's wrong here
Event RQL is used for audit logs, whereas configuration state queries use config RQL.
About these practice questions
One of 177 original Cybersecurity-Apprentice practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 Cybersecurity-Apprentice 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 Cybersecurity-Apprentice exam.