PSE-PRISMACLOUD practice question 2 of 25

Which Resource Query Language (RQL) query returns a list of all Azure SQL Databases that have transparent data encryption turned in?

Full set: 115 questions
Answer options
A: config from cloud.resource where api.name = 'gcloud-compute-instances-list' and json.rule = is TERMINATED
B: config from cloud.resource where api.name = 'gcloud-compute-instances-list' = TERMINATED
C: config from cloud.resource where api.name = 'gcloud-compute-instances-list* and json.rule == status TERMINATED
D: config from cloud.resource where api.name = 'gcloud-compute-instances-list' and json.rule = status contains TERMINATED
Correct Answer:
N; O; E
Explanation

The question is fundamentally flawed and cannot be answered with the options provided. The question asks for a Resource Query Language (RQL) query for "Azure SQL Databases," but all the answer options refer to a Google Cloud Platform API (gcloud-compute-instances-list). Furthermore, the syntax used in all four options is incorrect according to the official RQL specification. A valid RQL query requires precise JSON path notation (e.g., json.rule.attribute = 'value') and uses documented operators, none of which are correctly implemented in the choices.

Why Incorrect

A. ...is TERMINATED: The operator is is not a valid RQL operator, and the query is for the wrong cloud provider and resource type.
B. ...= TERMINATED: This incorrectly compares an entire JSON object (json.rule) to an unquoted string and targets the wrong cloud resource.
C. ...== status TERMINATED: This option contains invalid syntax; the attribute status is misplaced and should be part of the json.rule path.
D. ...= status contains TERMINATED: This option also uses invalid syntax and targets the wrong cloud resource as described in the question.

References

1. Palo Alto Networks. (n.d.). Prisma Cloud RQL (Resource Query Language) Reference. This document details the correct syntax for RQL queries, including valid operators (=, !=, contains, etc.) and the requirement for full JSON path notation (e.g., json.rule.name = 'value'), which are not followed in the provided options.

2. Palo Alto Networks. (n.d.). Prisma Cloud Administrator's Guide (SaaS). "Investigate and Search". This section provides examples of valid RQL queries, which differ significantly in structure and syntax from the flawed options presented in the question.

Scroll to Top