Microsoft SC-500 Practice Test 22
Question 210
A CSPM secret scan flags an unfamiliar token pattern in an archived image. The team cannot tell whether it is active or which service owns it. What should happen first?
- Validate the finding, credential ownership, effective scope and exposed location before targeted containment.
- Revoke every tenant application credential regardless of its relationship to the artifact.
- Dismiss the issue solely because the image is labeled archived.
- Send the full detected token to an external troubleshooting forum for identification.
Explanation
Correct Answer
A:The string could be a real active secret, a revoked token or a noncredential sample. Inspect the asset, associated identity and exposure path using controlled procedures; urgently contain any confirmed active high-impact credential. This avoids blindly disabling unrelated business systems while still treating credible exposure as a material risk. Record the finding's artifact, exact resource association and observed exposure before making a material credential ownership decision.
Incorrect Answers
B:Mass revocation can cause broad outages and may leave the actual leaked credential untouched if it belongs to another service. Start with evidence linking the detected material to its issuer and owner, then act on affected credentials. An unscoped response could stop independent production applications and complicate incident investigation without reducing the confirmed exposure.
C:Archived packages can still be downloaded or copied, and a secret can remain valid after an application stops being deployed. Determine whether the value is real and active before deciding the incident is harmless. An archive still creates a reachable disclosure path if it can be downloaded or indexed by unauthorized principals.
D:Publishing a suspected secret to a new audience can create the very exposure under investigation. Validate identifiers and scope through authorized internal systems without copying sensitive values into public discussion spaces. Use secret-redacted identifiers and internal ownership lookup rather than transmitting the suspected full token to unapproved parties.
Question 211
A Key Vault suddenly receives thousands of unusual secret-read attempts from a previously quiet identity. Which Microsoft protection and response are most appropriate?
- Use storage capacity metrics only, because vault secret-read activity is not relevant to threat monitoring.
- Turn off Key Vault access logging to decrease the apparent number of reads.
- Grant the suspicious identity Secrets Officer so authorization failures no longer flood the logs.
- Enable Defender for Key Vault, examine threat alerts and correlate vault operations with identity evidence.
Explanation
Correct Answer
D:Defender for Key Vault can detect anomalous access patterns, while vault audit and identity sign-in events provide investigative context. Check which secrets were accessed, the caller's legitimate purpose and network origin, then restrict or revoke compromised credentials as appropriate. Do not treat an alert alone as final proof without supporting evidence. Preserve correlated alert, identity and vault evidence so analysts can distinguish automated rotation from suspicious high-volume reads.
Incorrect Answers
A:Object capacity cannot explain suspicious read frequency or identity behavior. A security alert needs operation, source and principal context, not just resource utilization charts. Use principal-specific access patterns and vault operation counts to understand harvesting, rather than storage utilization alone.
B:Disabling diagnostic evidence can conceal ongoing harvesting and weaken incident reconstruction. Logging and protection signals should remain available while the team investigates and contains compromised access. Investigators need preincident operation context, so logging must remain available through containment and recovery.
C:Escalating a suspicious principal gives it more access to secrets and does not distinguish an incident from a misconfigured client. Investigate the actual identity and its observed operations before altering privileges. Temporary privilege escalation to a suspicious identity can expose additional secrets exactly when containment should limit access.
Question 212
An analyst sees a Defender for Key Vault alert indicating suspicious access and several ordinary vault audit records. What is the best interpretation?
- All audit records are confirmed attacks whenever any alert exists in the same hour.
- Treat the alert as a detection hypothesis and use diagnostic operations plus identity activity for investigation.
- Ignore the alert if normal secret reads also occurred that day.
- Assume enabling the Defender plan automatically revokes all stolen vault credentials.
Explanation
Correct Answer
B:Threat protection can highlight unusual behavior; diagnostic logs establish the operation sequence and are not themselves an incident verdict. Correlate callers, affected secret names, network addresses and Entra sign-ins before containment. Preserve relevant audit data and note uncertainty where no evidence ties routine operations to the alert. Examine whether the abnormal sequence targeted new secrets or originated from an unexpected device or network.
Incorrect Answers
A:Audit records show attempted or completed operations and often include legitimate traffic. Correlate principal, target, time, source and alert reasoning before assigning a malicious classification to individual events. Validate each operation's authenticated principal and source instead of treating time proximity to an alert as proof of compromise.
C:Legitimate workload activity can coexist with credential abuse. Normal operations elsewhere do not invalidate a specific suspicious source or access burst, so the analyst should investigate the alert context. A compromised identity can mimic legitimate clients, so normal background traffic is not an exonerating fact.
D:Detection and automated containment are different controls. The security team must decide whether to disable an identity, rotate exposed secrets or restrict network access based on its findings and response policy. After confirming exposure, use documented revocation and secret rotation; detection settings alone do not undo a stolen credential.
Question 213
A new Azure Storage account must reject HTTP-only access at deployment time. Which policy assignment achieves that outcome most directly?
- Assign an appropriate policy with a deny effect for noncompliant new storage resources.
- Assign only an audit effect and schedule a spreadsheet report next month.
- Configure a read-only resource lock on every storage account instead of using policy.
- Require developers to add an 'https' tag without validating the secure-transfer property.
Explanation
Correct Answer
A:A deny policy can prevent creation or update requests that violate the secure-transfer requirement, when the definition matches the resource properties and assignment scope. Test its effect on representative deployments and handle existing resources separately. Audit-only assessment does not stop a noncompliant resource from being created. Validate deny behavior with a noncompliant storage deployment and document the specific secure-transfer property being checked.
Incorrect Answers
B:An audit effect can identify insecure configurations but does not prevent their deployment. The owner explicitly needs enforcement at provisioning time, so delay and manual reporting fail the control objective. If the policy is audit-only, insecure storage may be reachable long before the monthly report is reviewed.
C:Locks guard selected management operations but do not assert the storage account's HTTPS requirement or prevent a new account from being created without it. Use an attribute-aware policy instead. Resource locks operate on management changes and cannot assert that a new storage account enforces encrypted transport.
D:A tag records a claim rather than proving actual protocol enforcement. The policy needs to evaluate the storage security setting itself so noncompliant resources are blocked regardless of label. A tag is user-editable metadata; the actual storage property must be evaluated before the resource enters service.
Question 214
A deployIfNotExists policy is assigned, but hundreds of already deployed resources remain without the required diagnostic configuration. What action is required?
- Wait for the next deployment of each resource because the policy can never remediate existing assets.
- Convert every missing diagnostic setting into a public storage account to make compliance visible.
- Create a remediation task and ensure the policy assignment's managed identity has the necessary deployment roles.
- Disable the policy assignment so the resource inventory stops showing failed evaluations.
Explanation
Correct Answer
C:The effect can deploy a related configuration for qualifying resources, but an existing-resource remediation requires a properly scoped task and role-capable assignment identity. Inspect noncompliance details, remediate a controlled subset and verify the diagnostic settings appeared. Reevaluate after deployment instead of assuming the compliance label updates instantly. Review failures in the remediation deployment records and verify the resulting settings after the task reports success.
Incorrect Answers
A:DeployIfNotExists can evaluate existing resources and support remediation tasks under the appropriate identity and assignment, so organizations need not depend only on future deployments. Check policy evaluation and the remediation configuration. Check the current policy compliance state and whether existing resources are eligible for the effect's remediation logic.
B:A public storage destination is not a prerequisite for policy remediation. Such a change may expose sensitive log content and does not solve the assignment identity's permission or template requirements. Diagnostic logs can contain sensitive identities or activity, so an unnecessarily public destination would compound the problem.
D:Turning off enforcement hides or removes the finding rather than creating required diagnostic settings. The owner needs resource changes and verification, not disappearance of the dashboard indicator. Disabling assessment removes visibility but leaves the missing diagnostic stream and its associated threat-detection gap intact.
Question 215
A custom Azure Policy is intended to allow resources only in three regions but incorrectly blocks global resources. What should its author review?
- Assign a subscription-wide Owner role to every developer to avoid policy enforcement.
- Add the region names only to tags and stop checking resource locations.
- Delete the policy definition and replace it with a recurring report of deployed locations.
- Inspect resource aliases and location conditions, explicitly handle global exceptions and test before broad assignment.
Explanation
Correct Answer
D:Azure Policy evaluates supported fields exposed through resource aliases, and some resource types use global or other special locations. Reproduce the failure in a limited test scope, refine type/location conditions, and verify allowed and denied deployments before wider rollout. Keep the intended region boundary rather than granting blanket exceptions. Test both a denied disallowed region and an approved global resource to catch unintended restriction before rollout.
Incorrect Answers
A:Management role escalation does not change Azure Policy condition matching. A deny decision can block even highly privileged deployers; weakening access policy is unrelated to the faulty location expression. The policy engine evaluates resource attributes at the applicable scope even when the caller has elevated Azure rights.
B:A location tag can be arbitrarily entered and may not reflect the resource's actual region or a supported global location. The policy should evaluate documented resource fields and handle exclusions deliberately. Region labels can diverge from actual deployment locations, and global resource types may require explicit policy logic.
C:A periodic report cannot meet a preventative allowlist requirement. Adjust and test the definition instead of abandoning the control because one scope produced incorrect results. Staged testing can keep preventive controls in force while avoiding an incorrect deny that blocks supported global services.
Question 216
Newly created resources in a subscription often omit a required cost-center tag, but the parent resource group has it. Which Azure Policy capability is suitable when supported?
- Use a policy audit report only, then treat missing child tags as compliant.
- Apply a supported modify policy that inherits the tag and grant its managed identity the needed role.
- Replace the tag with a Key Vault certificate so resources inherit it cryptographically.
- Give the billing department write access to every resource and rely on manual corrections.
Explanation
Correct Answer
B:A modify policy can add or update supported resource attributes during eligible requests and remediate existing instances with a task. Confirm that the target resource type and alias support modification and assign the required role to the policy identity. Test propagation from the resource group's actual cost-center tag rather than inventing a default value. Remediation must use a permitted policy identity and resource type; unsupported aliases need a separately validated approach.
Incorrect Answers
A:Audit is useful for finding omissions but does not populate the missing child metadata. The scenario asks to propagate an existing approved tag while retaining enforcement and observable remediation. Audit findings still require manual or automated corrections; they do not make resources inherit parent tags automatically.
C:Certificates establish identity or protect keys, not metadata inheritance. The requested cost-center field must remain a resource tag so reporting and policy evaluations can find it. A certificate is not a tag value and will not populate governance metadata queried by cost or ownership reports.
D:Broad write permission creates unnecessary risk and still depends on human updates for every deployment. A scoped modify policy can apply the same approved tag rule more consistently and audibly. Permanent broad write access is unnecessary when a policy identity can apply the supported metadata change at narrow scope.
Question 217
A temporary disaster-recovery test must deploy a normally blocked resource type for two days. The rest of the company must remain under the same Azure Policy. What should administrators do?
- Delete the management-group assignment until the test is finished.
- Add a permanent tenant-wide exclusion to the allowed resource types list.
- Create an approved, narrowly scoped policy exemption with an expiration and documented rationale.
- Give the testers Global Administrator so the deny policy no longer evaluates their requests.
Explanation
Correct Answer
C:An exemption can record the approved exception without rewriting the global control. Scope it to the tested resources or child scope, set an appropriate category and expiry, and verify the assignment resumes normal evaluation afterward. Maintain change records so reviewers can distinguish authorized temporary deviation from policy failure. Retain the exact exemption scope, reason, owner and expiration to make subsequent reassessment and compliance reporting defensible.
Incorrect Answers
A:Removing the assignment turns off the control for many unrelated subscriptions and creates risk unrelated to the limited test. A narrow, approved exception keeps the wider policy intact. Deleting the parent assignment could unintentionally open access to prohibited resources in unrelated business subscriptions.
B:A permanent exclusion outlives the short exercise and weakens the resource boundary for all later deployments. Use a time- and scope-limited mechanism with an accountable justification. An indefinite global exception increases policy drift and makes it hard to prove the disaster-recovery test stayed limited.
D:Directory privilege does not bypass an Azure Policy deny effect, and it is disproportionate for a small recovery rehearsal. Policy exceptions should be configured explicitly rather than by unnecessary identity escalation. Azure Policy decisions do not become compliant simply because the caller is a powerful Entra directory administrator.
Question 218
A hospital's Azure estate is being assessed against an applicable regulatory security standard in Defender for Cloud. What is the strongest audit preparation approach?
- Use only the secure score percentage as evidence that every requirement is satisfied.
- Assume the vendor's global compliance certifications automatically certify the hospital's data handling.
- Hide failing assessments until the audit finishes to avoid confusing stakeholders.
- Enable the applicable Defender for Cloud regulatory standard and review control-level assessments and evidence.
Explanation
Correct Answer
D:Match the appropriate standard to the subscribed scope and regulated workload, inspect each failing or unevaluated control, and map responsibility for technical and procedural requirements. Where automation cannot evaluate a human process, retain external evidence rather than calling it passed. Document remediation owners and accepted exceptions transparently. Retain evidence linking each assessed control to the relevant subscription, data class and accountable remediation owner.
Incorrect Answers
A:Secure score is a posture indicator and does not establish applicability or implementation of each regulatory control. Auditors need control-by-control evidence, including manual responsibilities and exceptions. A score can improve while a specific regulated workload still lacks audit logs or a required access review.
B:Provider responsibilities cover parts of the cloud service, but customer configuration and process controls remain accountable to the organization. A provider report is not proof that the hospital implemented all relevant settings. Separate cloud provider infrastructure evidence from the hospital's own configuration and human procedure obligations.
C:Suppressing visibility does not remediate a failed requirement. The audit trail should accurately distinguish implemented, failing, not applicable and inherited responsibilities with supporting records. An omitted finding remains a control failure even if the dashboard is filtered to show only passing items.
Question 219
An assessment report shows a requirement inherited from a Microsoft cloud service alongside customer-configured protections. How should the compliance lead present the result?
- Differentiate provider-operated controls from customer-owned evidence and verify that each applicable obligation is actually covered.
- Mark every control compliant whenever its cloud provider has published any certification.
- Replace technical evidence with the application's stated intention to protect data.
- Delete inherited controls from the assessment so the report appears shorter.
Explanation
Correct Answer
A:Shared responsibility means an inherited provider control may have supporting provider documentation while a tenant configuration still requires organization-specific validation. Map each relevant assessment to its owner, evidence and scope. Avoid treating a green inherited row as automatic compliance for user identities, application settings or business processes. For each inherited safeguard, confirm the provider document covers the actual cloud service and assurance period in use.
Incorrect Answers
B:Provider certifications relate to defined scopes and services, not every customer workload. Some regulatory requirements depend on the tenant's access policies, audit retention, incident handling and other implemented safeguards. A generic certification may not cover a new region, feature, tenant setting or customer-specific policy obligation.
C:Intent alone does not show a control is configured or functioning. Configuration reports, logs, operating procedures and test results provide more defensible evidence for duties owned by the customer. Link configuration exports and operational logs to the exact control so an auditor can reproduce the evidence trail.
D:Removing inherited controls conceals the relevant shared-responsibility mapping and may make the final report incomplete. Retain inherited evidence while separately assessing the controls the organization must implement. Removing responsibility context could make readers wrongly attribute every control to the provider or to the customer.
Question 220
Several Defender for Cloud regulatory assessments show 'Not applicable.' What should an auditor conclude before reporting full compliance?
- Every not-applicable row is proof that the organization passed the requirement.
- Verify assessment scope, supported resources, exemptions and responsibility before making a compliance claim.
- Force every not-applicable assessment to 'Pass' so the displayed percentage reaches 100.
- Disable all automated assessments and certify the entire estate from the provider's shared-responsibility description.
Explanation
Correct Answer
B:Check why each control is not applicable and whether another control or manual process covers the organization's actual obligations. Confirm the inventory and standard assignment include the regulated resources. A dashboard without failed rows is not equivalent to complete regulatory compliance or external certification. Record legitimate scope exceptions and review whether manual controls require evidence outside Defender for Cloud automation.
Incorrect Answers
A:Not applicable can mean the tested resource type, configuration or assessment scope does not match the control. It does not prove a protection is working on a different workload or that manual obligations are satisfied. A not-applicable result may mean a feature was never evaluated, not that its deployment passed a security control.
C:Changing presentation without implementing or verifying controls would falsify evidence. Preserve the service's assessment meaning and document genuine scope exceptions separately. Changing status labels is not remediation; a test must prove that the required security measure is actually implemented.
D:Provider documentation cannot establish the customer's implemented safeguards, and disabling automated visibility removes useful configuration evidence. Review both customer and inherited requirements for the actual environment. Disabling checks increases uncertainty about customer configurations, even if external provider attestations remain available.