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 1 Question 4 Discussion

SIMULATIONCarefully enumerate the accessible Azure Blob Container to locate a file containing credentials for an App Registration within the tenant. What is the Application/Client ID of the discovered App Registration?
A) See the Answer in Explanation below

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

Actual exam question for The SecOps Group's CCPenX-Az exam
Question #: 4
Topic #: 1
[All CCPenX-Az Questions]

SIMULATION

Carefully enumerate the accessible Azure Blob Container to locate a file containing credentials for an App Registration within the tenant. What is the Application/Client ID of the discovered App Registration?

Show Suggested Answer Hide Answer
Suggested Answer: A

The answer is the clientId, appId, or applicationId value inside the credential file downloaded from the sensitive-files container.

Detailed Solution:

List blobs inside the accessible container:

az storage blob list

--account-name excaliburstore

--container-name sensitive-files

--sas-token '$SAS'

--query '[].name'

--output table

Download all files locally:

mkdir blobloot

az storage blob download-batch

--account-name excaliburstore

--source sensitive-files

--destination blobloot

--sas-token '$SAS'

Search the downloaded files for application credentials:

grep -RniE 'clientId|appId|applicationId|clientSecret|tenantId|secret|password' blobloot

On Windows PowerShell:

Select-String -Path .blobloot* -Pattern 'clientId|appId|applicationId|clientSecret|tenantId|secret|password' -CaseSensitive:$false

A typical file may look like this:

{

'tenantId': 'f015f36d-c07f-41fb-9bde-fffc3a22ee8b',

'clientId': '',

'clientSecret': ''

}

The clientId / appId value is the answer.

Final Answer:

Use the clientId / appId value found in the blob credential file.

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


Contribute your Thoughts:

0/2000 characters
Florencia
1 day ago
Seems too easy, are we missing something here?
upvoted 0 times
...
Vicki
6 days ago
Totally agree, this is straightforward if you know where to look!
upvoted 0 times
...
Niesha
11 days ago
Wait, are we sure that's the right container?
upvoted 0 times
...
Latosha
17 days ago
I found it! It's 123e4567-e89b-12d3-a456-426614174000.
upvoted 0 times
...
Beatriz
22 days ago
The Application ID is usually a GUID format.
upvoted 0 times
...
Cassie
27 days ago
I feel like I’ve seen a question like this before, but I can’t recall the exact steps to access the Blob Container.
upvoted 0 times
...
Alana
1 month ago
I think the Application/Client ID is usually in the JSON file, but I’m a bit uncertain about how to locate it in the Blob.
upvoted 0 times
...
Erinn
1 month ago
This question feels similar to one we did in class about Azure storage accounts. I think we had to find a specific file too.
upvoted 0 times
...
Francisca
1 month ago
I remember we practiced accessing Azure Blob Containers, but I’m not sure how to enumerate them properly.
upvoted 0 times
...

Save Cancel