Which IAM RQL query would correctly generate an output to view users who enabled console access with both access keys and passwords?
Suggested Answer: B
Get Premium CloudSec-Pro Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
View users who enabled console access with both access keys and passwords: config from cloud.resource where api.name = 'aws-iam-get-credential-report' AND json.rule = access_key_1_active is true or access_key_2_active is true and password_enabled is true https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-rql-reference/rql-reference/config-query/config-query-examples
26 comments · newest first
MA
Maurine
3 months ago
I feel like A is too complicated. B is straightforward and clear.
JE
Jess
3 months ago
Option D looks good too, but I’m not sure about the quotes.
LA
Lavina
3 months ago
I agree, B makes sense. It checks for active access keys.
AL
Allene
3 months ago
I think option B is the best. It covers both access keys and passwords.
PA
Pauline
4 months ago
I prefer B as well. It clearly states the conditions for access.
SU
Sunshine
4 months ago
Option A looks good too, but it mentions certs, not access keys.
RO
Rodney
4 months ago
I feel option D is misleading. The quotes around true are confusing.
RO
Royce
4 months ago
I think option B is correct. It covers both access keys and passwords.
MY
Myrtie
4 months ago
I’m leaning towards A. It seems to capture the right conditions well.
UL
Ulysses
4 months ago
Option D looks good too, but I feel B is clearer.
AU
Audra
5 months ago
I agree, B makes sense. It covers all bases for console access.
PA
Paulina
5 months ago
I think option B is the best. It checks both access keys and passwords.
AA
Aaron
5 months ago
I can't believe how tricky this question is!
GA
Galen
5 months ago
A looks interesting too, but not sure if it’s correct.
RE
Rebeca
7 months ago
Wait, why is D using double quotes? Seems off.
SK
Skye
7 months ago
Definitely agree, B makes the most sense!
GL
Glynda
7 months ago
I think option B is the right one.
OM
Omer
7 months ago
Not sure about these queries, they seem off.
BE
Bettina
7 months ago
I agree with B, seems most accurate.
ST
Stephen
7 months ago
Wait, why is C even an option?
MA
Malcom
8 months ago
I think D is the right choice.
KI
Kina
8 months ago
Option B looks correct to me.
AS
Ashton
8 months ago
I think option D might be the right choice, but I’m a bit confused about the use of quotes in the condition.
MI
Milly
8 months ago
I feel like I saw a similar question where we had to check for active credentials, but I can't recall the exact syntax.
VA
Val
8 months ago
I'm not entirely sure, but I think option B sounds familiar since it mentions both access keys and passwords.
CA
Carrol
8 months ago
I remember we discussed the importance of checking both access keys and password status in our practice sessions.