Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free The SecOps Group Certified Cloud Pentesting eXpert - Azure CCPenX-Az Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 6 Total 31 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Enumeration & Reconnaissance

Skill tested: Correlating DNS, Azure endpoints, and exposed resource names into an authorized attack-surface inventory.

An authorized assessment covers a company's public Azure footprint. Passive DNS and certificate-transparency searches reveal several candidate subdomains, while the client supplies a list of known tenant domains. The team must identify which names resolve to Azure-hosted services and record public blob, App Service, and management endpoints for later validation. The rules of engagement prohibit disruptive probing and do not authorize authentication attempts against discovered services. What is the most appropriate next step?

Correct Answer: B. Resolve and validate candidate hostnames using non-disruptive DNS and HTTP checks, then classify observed Azure endpoints and preserve the evidence and source.
Explanation:

Passive discovery followed by low-impact DNS resolution and carefully scoped HTTP validation builds a defensible inventory without crossing the stated authorization boundary. Record the hostname, resolved destination, response characteristics, timestamp, and discovery source; validate ownership before expanding testing. Management API requests in A and login attempts in C are not authorized and can create risk or unnecessary activity. A name that contains "azure" does not establish ownership or scope, and scanning an associated address range as in D is both overbroad and potentially disruptive.

Question 2

New Multiple answers

Topic: Enumeration & Reconnaissance

Skill tested: Identifying public Azure Storage endpoints and distinguishing exposed listing access from anonymous object access.

During an approved assessment, a team finds a publicly reachable Azure Blob Storage URL referenced by an application. The client authorizes verification of exposure but prohibits downloading customer records or attempting to bypass access controls. The initial request to the container endpoint returns an authorization response, while a separately disclosed blob URL responds successfully. The team must determine the narrowest evidence that establishes whether the container permits anonymous listing and whether the known object is accessible. Select TWO actions.

Correct Answer: C. Request only the already disclosed blob URL without credentials, capture the response status and minimal non-sensitive metadata, and avoid retrieving its contents.; D. Request the container's listing endpoint without credentials and record whether Azure returns blob names or an authorization error.
Explanation:

Anonymous container listing and anonymous access to an individual blob are distinct exposure conditions, so the two narrow unauthenticated checks establish the relevant facts without expanding access. A successful listing response can expose names and metadata even if contents are not retrieved; the known blob URL can be checked for unauthenticated reachability while limiting evidence collection. Using a discovered key, guessing other containers, or trying to mint a SAS token would exceed the stated verification boundary and is unnecessary.

Question 3

New Single answer

Topic: Enumeration & Reconnaissance

Skill tested: Recognizing Azure portal and Entra ID tenant artifacts without treating tenant discovery as authorization.

A consultant is preparing a scoped review for a retailer whose public website links to an Azure-hosted customer portal. The client provides the retailer's verified domain but no tenant ID or portal resource list. The reviewer needs to identify the relevant Entra tenant and public-facing Azure endpoints before requesting formal scope confirmation. No account testing is authorized at this stage. Which approach best meets the requirement?

Correct Answer: A. Use public DNS and HTTP observations, plus unauthenticated tenant-domain discovery mechanisms, to identify candidate tenant and service artifacts; document confidence and request client confirmation before testing.
Explanation:

Public DNS, HTTP behavior, and unauthenticated tenant discovery can provide useful leads, but they do not themselves prove ownership or authorize testing. Document the evidence and have the client confirm the tenant and endpoints before active assessment. Password-reset probing in B may disclose account information and is outside the stated permission. C assumes access to subscription-level data that unauthenticated discovery does not generally provide. D incorrectly converts a candidate association into verified scope.

Question 4

New Single answer

Topic: Identity and Access Management (IAM)

Skill tested: Evaluating effective Entra permissions by tracing group membership and Azure role assignments.

An authorized identity review finds that a test user has no direct Azure role assignment. The user belongs to a nested Entra security group, and that group is assigned a role at a resource-group scope. The team must determine whether the user can perform a specific management action on a storage account within that group, without changing any configuration. Which investigation is the best next step?

Correct Answer: B. Trace transitive group membership and inherited role assignments at the storage account's scope, then compare the resulting role actions with the requested operation.
Explanation:

Azure resource access can be granted through group membership and inherited from a parent scope. The reviewer should resolve the user's effective group membership, identify applicable role assignments and scope inheritance, and determine whether the role's allowed actions include the operation. The lack of a direct assignment does not establish lack of access, as A assumes. Entra directory roles and Azure resource roles govern different permission planes, so C is incomplete. Repeated operational attempts in D are unnecessary when access can be assessed from configuration and may alter state.

Question 5

New Multiple answers

Topic: Identity and Access Management (IAM)

Skill tested: Assessing Conditional Access and MFA enforcement across user, application, and sign-in conditions.

A client asks an assessment team to verify whether its workforce MFA policy protects access to an Azure-hosted administration portal. The tenant uses Conditional Access, has several legacy service accounts, and the portal supports modern authentication. The team has authorization for a configuration review and a controlled sign-in test with a designated test account, but may not weaken policies or use employee credentials. Which TWO checks provide the strongest evidence of effective enforcement?

Correct Answer: A. Review applicable Conditional Access policies, including user and workload exclusions, target applications, conditions, grant controls, and policy state.; D. Confirm that the test account is included in the relevant policy and perform an approved sign-in under the specified conditions, observing the resulting MFA requirement.
Explanation:

Policy configuration review identifies who and what the policy actually covers, including exclusions and grant controls; a controlled sign-in then confirms the expected behavior for the designated account and conditions. MFA registration alone does not mean enforcement is required, so C is not sufficient. A single prompt without policy analysis can be caused by other session or authentication settings and may miss excluded users, making E weak evidence. Disabling a policy is explicitly unauthorized and could expose the tenant, so D is unsuitable.

Question 6

New Single answer

Topic: Identity and Access Management (IAM)

Skill tested: Reviewing app registration credentials, consent, and service-principal privileges for persistence risk.

A red-team operator is conducting a client-approved review of an Entra app registration suspected of enabling unauthorized persistence. The registration has a client secret, API permissions, and a corresponding service principal with access to Azure resources. The engagement permits read-only inspection and reporting but expressly prohibits creating credentials, granting consent, or modifying role assignments. Which action is the most appropriate way to assess risk?

Correct Answer: C. Inspect the credential metadata and expiry, granted API permissions and consent, service-principal sign-in evidence available to the reviewer, and Azure role assignments at relevant scopes.
Explanation:

A read-only review can establish substantial risk by examining credential presence and lifecycle, effective consent, service-principal activity where visible, and Azure role assignments and scope. This identifies both Entra API access and Azure resource access without changing the tenant. Creating a credential, granting consent, or adding privileged membership would alter security controls and violate the engagement limits. The assessment should report the effective privileges and evidence, not activate or expand them.

Question 7

New Single answer

Topic: Azure Resource Misconfigurations

Skill tested: Diagnosing Azure Storage network exposure separately from data-plane authorization.

A finance team reports that a storage account is reachable from the internet, but an assessor with an authorized low-privilege identity receives authorization failures when reading blobs. The assessment must identify whether exposure is caused by network configuration, data-plane permissions, or both, while avoiding changes to the account. The storage account uses Azure RBAC for blob data access, and the client requires evidence that distinguishes the two control layers. What should the assessor do first?

Correct Answer: D. Review the storage firewall and public network access settings, then separately inspect effective data-plane role assignments and test only an authorized read operation.
Explanation:

Storage network controls determine where requests can reach the service; data-plane authorization determines whether a caller may read blobs. Reviewing both settings and the caller's effective blob data role distinguishes a public network path from actual data exposure. Network reachability alone does not establish permission, contrary to A. Adding a data role would change the configuration and confound the assessment. Management-plane roles such as Owner or Contributor do not automatically provide blob data access through Azure RBAC, so D is not a reliable substitute for checking data-plane permissions.

Question 8

New Multiple answers

Topic: Azure Resource Misconfigurations

Skill tested: Validating Key Vault exposure through network controls and effective secret permissions without disclosing values.

An application team asks for a non-destructive review of a Key Vault after discovering that its endpoint resolves publicly. The vault contains production secrets, and the assessment authorization permits configuration inspection and testing with a designated canary secret only. The vault may use Azure RBAC or the legacy access-policy model, and the team wants to know whether an untrusted network caller can retrieve secrets. Which TWO checks are necessary?

Correct Answer: C. Inspect the vault's public network access, firewall rules, private endpoint configuration, and the source network path used by the approved test.; D. Determine which authorization model is active and inspect effective secret-get permissions for the test identity, including applicable role or access-policy assignments.
Explanation:

A public DNS name does not establish that a caller can reach the vault from an untrusted network, and network reachability does not grant secret permissions. The reviewer must assess network restrictions and the effective authorization model, then use only the approved identity and canary secret to validate the path. Downloading production secrets is unnecessary and prohibited. Public resolution alone does not imply anonymous access. Switching authorization models without approval is a configuration change and could disrupt applications.

Question 9

New Single answer

Topic: Azure Resource Misconfigurations

Skill tested: Evaluating App Service managed identity scope and access to downstream Azure resources.

A web application hosted on Azure App Service uses a system-assigned managed identity to retrieve configuration from a Key Vault. During an authorized review, the assessor finds that the application can retrieve a canary secret, but the identity also has a broad role at subscription scope. The client requires the application to keep its current Key Vault function while reducing blast radius, and the review must not interrupt service. What is the best recommendation?

Correct Answer: C. Replace the broad subscription assignment with the narrowest required Key Vault data-plane permission at the vault scope, then validate the application's canary-secret retrieval.
Explanation:

Managed identities can receive appropriately scoped Azure permissions, so the broad subscription grant should be reduced to the minimum access required for the application, preferably at the relevant vault scope. Validate the exact secret retrieval path before and after the approved change to protect availability. Embedding secrets, even in application settings, replaces identity-based access with a long-lived credential risk. A is unnecessary. C is factually incorrect, and D increases privilege rather than reducing blast radius.

Question 10

New Single answer

Topic: Vulnerability Identification

Skill tested: Testing SSRF in Azure-hosted applications while distinguishing application behavior from cloud metadata access.

An authorized web application assessment identifies a URL-fetching feature in an Azure-hosted service. The engagement allows controlled SSRF validation but prohibits retrieving credentials, accessing customer data, or changing cloud resources. The application's hosting model is not yet confirmed, and the team needs to determine whether the feature can make server-side requests while avoiding sensitive metadata. What is the best initial validation method?

Correct Answer: A. Submit a controlled URL to an assessor-owned endpoint that records a unique request, then correlate the callback with the application action and stop before accessing metadata or internal resources.
Explanation:

A unique callback to an assessor-controlled endpoint demonstrates that the server initiated a request while minimizing impact and avoiding sensitive destinations. It establishes the SSRF behavior before any separately authorized escalation. Querying IMDS for a token or probing a production vault could expose credentials or secrets and violates the limits. An error message alone is ambiguous: it may reflect validation, DNS, networking, or an application failure rather than a completed server-side request.

Question 11

New Single answer

Topic: Vulnerability Identification

Skill tested: Validating IDOR in an Azure-hosted API using controlled identities and non-sensitive test records.

A customer-facing API runs behind an Azure-hosted application service. An authorized tester with two client-provided test accounts suspects that a record endpoint uses sequential identifiers. The rules permit access-control validation only against records created for those accounts; production customer records must not be accessed. The tester must distinguish a genuine IDOR from a harmless response that reveals no protected data. Which test is most appropriate?

Correct Answer: D. Request a record owned by the second test account while authenticated as the first, then compare the response with the owner's authorized response using only the client-provided test records.
Explanation:

A controlled cross-account authorization test directly checks whether the API enforces object ownership, while keeping the data within the client-approved test set. Compare status, response content, and access behavior for the same test record under its owner and the other account. Enumerating identifiers or seeking real personal data exceeds scope. Timing differences alone do not establish unauthorized object access; they can arise from caching, database behavior, or normal application variance.

Question 12

New Multiple answers

Topic: Exploitation Techniques

Skill tested: Safely evaluating IMDS access from an authorized Azure workload and assessing managed-identity privilege.

A client authorizes a controlled test on a dedicated Azure virtual machine to determine whether a vulnerable local service can reach the Azure Instance Metadata Service (IMDS). The VM has a managed identity, and the authorization allows validation using a non-production resource but prohibits collecting credentials for other identities or accessing production data. The assessor needs to demonstrate the exposure and report its practical impact with minimal sensitive output. Select TWO actions.

Correct Answer: A. From the approved workload context, make a controlled IMDS request using the required metadata header and a harmless metadata path, and record the response without collecting unrelated instance data.; B. If specifically approved, request a token only for a client-provided non-production resource, use it solely for a minimal authorized check, and report the identity's effective permissions.
Explanation:

IMDS is a link-local service intended for workloads on the Azure host, and requests require the metadata header. A minimal metadata request can verify reachability without collecting unnecessary information. A token-based impact check should occur only within the stated authorization, use the designated non-production audience, and limit activity to a minimal permitted operation. Requesting tokens for arbitrary audiences or enumerating beyond scope increases exposure and violates the constraints. An external workstation cannot use the VM's link-local IMDS endpoint as described.