Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

The SecOps Group CCPenX-Az Exam - Topic 4 Question 7 Discussion

Posted by Georgiann on Aug 14, 2026 at 01:34 AM

Using the previously retrieved credentials, authenticate as the App Registration within the tenant and enumerate potential lateral movement vectors. Which of the following roles is assigned to the App Registration?

Suggested Answer: A

Detailed Solution:

Use the app registration credentials recovered from blob storage.

az login --service-principal

-u '<client-id>'

-p '<client-secret>'

--tenant f015f36d-c07f-41fb-9bde-fffc3a22ee8b

Confirm that you are authenticated as a service principal:

az account show

Now enumerate role assignments for the app registration.

az role assignment list

--assignee '<client-id>'

--all

--output table

If the --assignee lookup fails, first resolve the service principal object ID:

az ad sp show

--id '<client-id>'

--query id

--output tsv

Then query role assignments by object ID:

SP_OBJECT_ID=$(az ad sp show --id '<client-id>' --query id -o tsv)

az role assignment list

--assignee '$SP_OBJECT_ID'

--all

--output table

The assigned role is:

Key Vault Secrets User

This role allows the principal to read secret values from Azure Key Vault. That is the lateral movement path into the final flag.

Final Answer:

A . Key Vault Secrets User

================


Get Premium CCPenX-Az Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
TE
Telma 3 days ago
B) Cosmos DB Built-in Data Reader seems plausible for data access.
RI
Rikki 8 days ago
I’m leaning towards D) None of the above. Could be a trick question.
BA
Barrie 13 days ago
I think it's definitely A) Key Vault Secrets User. It makes sense for security.
AL
Alease 18 days ago
Definitely not B) Cosmos DB Reader, that's too specific.
LA
Lauran 23 days ago
Wait, none of these roles? That seems odd!
JO
Josphine 29 days ago
A) Key Vault Secrets User makes sense for access.
ST
Stephaine 1 month ago
I disagree, I think it's D) None of the above.
EA
Earleen 1 month ago
I'm pretty sure it's A) Key Vault Secrets User.
AL
Alton 1 month ago
I’m leaning towards "None of the above," but I need to double-check what roles are typically assigned to App Registrations.
AR
Art 2 months ago
I feel like the Container Apps Reader Role could be a possibility, but I’m not sure if it’s relevant for lateral movement.
DA
Daren 2 months ago
I think we practiced a similar question about Azure roles, and I want to say it might be the Key Vault Secrets User, but I’m not completely confident.
FE
Felicia 2 months ago
I remember we discussed how App Registrations can have specific roles assigned, but I’m not entirely sure which one fits here.
0/2000 characters

Save Cancel