The SecOps Group - Big Savings Alert – Don’t Miss This Deal - Ends In 1d 00h 00m 00s Coupon code: 26Y30OFF
  1. Home
  2. The SecOps Group
  3. CCPenX-Az Exam
  4. Free CCPenX-Az Questions

Free Practice Questions for The SecOps Group CCPenX-Az Exam

Pass4Future also provide interactive practice exam software for preparing The SecOps Group Certified Cloud Pentesting eXpert - Azure (CCPenX-Az) Exam effectively. You are welcome to explore sample free The SecOps Group CCPenX-Az Exam questions below and also try The SecOps Group CCPenX-Az Exam practice test software.

Page:    1 / 14   
Total 31 questions

Question 1

SIMULATION

Authenticate to Azure as a service principal using the credentials found in backup-config.json.



Answer : A

Use az login --service-principal

Detailed Solution:

Command:

az login --service-principal \

-u c5fba7db-5e61-45bc-8944-3cd457bb19c2 \

-p '<client-secret>' \

--tenant 8f34c1de-1198-4c2a-b1a8-1eaa72f6e99a

Verify:

az account show --output json

Expected important field:

{

'user': {

'name': 'c5fba7db-5e61-45bc-8944-3cd457bb19c2',

'type': 'servicePrincipal'

}

}

This confirms you are authenticated as the App Registration/service principal.

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


Question 2

SIMULATION

A compromised developer account has Reader access to a resource group. Enumerate all Azure resources in that resource group and identify the exposed App Service name.



Answer : A

finance-reporting-api

Detailed Solution:

Set the resource group:

RG='rg-prod-apps-eastus'

List resources:

az resource list \

--resource-group '$RG' \

--output table

Expected output:

Name ResourceGroup Location Type

---------------------- --------------------- ---------- -------------------------------

finance-reporting-api rg-prod-apps-eastus eastus Microsoft.Web/sites

prod-reportstore01 rg-prod-apps-eastus eastus Microsoft.Storage/storageAccounts

kv-finance-prod rg-prod-apps-eastus eastus Microsoft.KeyVault/vaults

The exposed App Service is:

finance-reporting-api

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


Question 3

SIMULATION

Using a discovered SAS token with read/list permissions, enumerate blobs inside the sensitive-exports container. Which file contains credentials?



Answer : A

service-principal-creds.json

Detailed Solution:

Set variables:

ACCOUNT='prodreportstore01'

CONTAINER='sensitive-exports'

SAS='?sv=2025-01-05&ss=b&srt=sco&sp=rl&se=2026-08-01T00:00:00Z&sig=<signature>'

List blobs:

az storage blob list \

--account-name '$ACCOUNT' \

--container-name '$CONTAINER' \

--sas-token '$SAS' \

--query '[].name' \

--output table

Expected output:

Name

----------------------------

monthly-report.csv

service-principal-creds.json

readme.txt

The credential file is:

service-principal-creds.json

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


Question 4

While exploring the table storage, you've uncovered information that provides limited access to a storage account. Using this access, enumerate the blob containers. Which of the following containers is available?



Answer : C

Detailed Solution:

From Q7, you should recover a limited-access SAS token or storage access information.

Set the storage account name and SAS token:

ACCOUNT='excaliburstore'

SAS='<recovered-sas-token>'

List containers:

az storage container list \

--account-name '$ACCOUNT' \

--sas-token '$SAS' \

--output table

The available container is:

sensitive-files

You can also confirm directly:

az storage blob list \

--account-name '$ACCOUNT' \

--container-name sensitive-files \

--sas-token '$SAS' \

--output table

Final Answer:

C . sensitive-files

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


Question 5

After authenticating as the service principal, enumerate its assigned Azure RBAC role. Which role does it have?

A. Reader B. Contributor C. Storage Account Contributor D. Owner



Answer : B

Detailed Solution:

Resolve the service principal object ID:

az ad sp show \ --id c5fba7db-5e61-45bc-8944-3cd457bb19c2 \ --query id \ --output tsv

Then list role assignments:

SP_OBJECT_ID=$(az ad sp show \ --id c5fba7db-5e61-45bc-8944-3cd457bb19c2 \ --query id \ --output tsv) az role assignment list \ --assignee '$SP_OBJECT_ID' \ --all \ --output table

Expected output:

Principal Role Scope ------------------------------------ ----------- ---------------------------------------- <sp-object-id> Contributor /subscriptions/5d8e44ac-...

Correct answer:


Page:    1 / 14   
Total 31 questions