cert
cert-1
cert-2

Pass Microsoft SC-500 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
SC-500 Exam - Verified By Experts
SC-500 Premium Bundle
$14.99

SC-500 Premium Bundle

$94.99
$109.98
  • Premium File 207 Questions & Answers. Last update: Nov 15, 2026
  • Study Guide 300 Pages
 
$109.98
$94.99
accept 274 downloads in last 7 days
block-screenshots
Purchase Microsoft SC-500 Exam Training Products Individually
Microsoft SC-500 Premium File
Premium File 207 Q&A
$98.99$89.99
Microsoft SC-500 PDF Study Guide
Study Guide 300 Pages
$21.99 $19.99
Microsoft SC-500 Practice Test 12

Question 110

A single Azure VM needs to authenticate to a storage resource without static keys. The identity must be retired automatically when the VM is deleted. Which choice best matches this requirement?

  1. Use a tenant-wide service account with a permanent password
  2. Create an Azure AD user with Global Administrator access
  3. Enable the VM’s system-assigned managed identity and scope access to the storage resource
  4. Store an access key in custom script extension settings

Explanation

Correct Answer

C:

The VM system-assigned managed identity is tied to the resource lifecycle and can obtain tokens for supported Azure data services. Grant the identity only the necessary storage data-plane role, then verify access and monitoring. When the VM is removed, the system-assigned principal is removed as part of that lifecycle.

Incorrect Answers

A:

A permanent tenant-wide account adds credential maintenance and a broader lifetime than the VM. Deleting the VM would not automatically revoke that external account. A VM-bound managed identity is more appropriate when the principal should track the VM lifecycle.

B:

A Global Administrator user identity is inappropriate for a storage workload and carries unrelated tenant administrative rights. Even if it could authenticate, it violates least privilege and would need independent credential retirement. Use workload identity with storage-specific authorization.

D:

Embedding a storage key in VM extension configuration creates a secret to rotate and protect, and it might persist in provisioning logs or backups. A managed identity can avoid shared storage keys and provide individually scoped access without a separately managed password.

Question 111

A managed-identity-enabled application obtains an access token successfully, but a Key Vault secret request returns HTTP 403. The team proposes rotating its client secret. What should be investigated first?

  1. Whether the managed identity is running on a more expensive VM tier
  2. Whether the Key Vault data-plane authorization is assigned to the actual principal and scoped correctly
  3. Regenerate a new managed-identity access token and assume token freshness alone resolves a Key Vault authorization denial
  4. Whether the VM has a matching password stored in Entra ID

Explanation

Correct Answer

B:

A managed identity normally has no client secret to rotate. A valid token can still be denied by Key Vault when the service principal lacks the required secrets role or access policy, or when the request is made to the wrong vault. Verify identity object ID, role propagation, token audience and vault data-plane authorization.

Incorrect Answers

A:

A compute size or pricing tier does not directly grant permission to read secrets. Successful token acquisition with a 403 response points first to authorization or conditional resource restrictions. Check the actual principal, vault permission model and any applicable network policy.

C:

Refreshing a token may help after role propagation, but it does not grant a principal a missing Key Vault data-plane role. Because the application already authenticated and received HTTP 403, confirm the identity's object ID, scope, role assignment and permission model first. Investigate firewall conditions separately if the error details identify network denial.

D:

Managed identity is designed to authenticate supported workloads without storing a user password. Creating or matching a password would add a secret and distract from the 403 authorization error. Diagnose the vault policy or RBAC role instead.

Question 112

An Azure App Service in subscription A uses a user-assigned managed identity to read blobs in subscription B. The application receives authorization errors although authentication succeeds. What must the team confirm?

  1. Assign Contributor to the managed identity in subscription A only and expect it to read storage data from subscription B
  2. That the App Service has Contributor rights in subscription A only
  3. That cross-subscription storage access is impossible for managed identities
  4. That the attached identity’s principal has the required blob data-plane role on the target storage scope in subscription B

Explanation

Correct Answer

D:

Authentication proves the workload can obtain a token for its identity, not that the storage account accepts it. The storage resource requires a suitable Azure Blob data role granted to the correct user-assigned identity principal. Check scope, tenant compatibility, propagation and endpoint network controls before broadening permissions.

Incorrect Answers

A:

Management-plane Contributor in the application's subscription does not grant Blob data-plane access to a different subscription's storage account. Cross-subscription access can be authorized when the identity is eligible and receives a suitable data role at the target scope. Confirm the actual principal and validate a read against storage in subscription B.

B:

Contributor on the App Service subscription is neither necessary nor sufficient to read blobs in a different subscription. Management-plane privileges on one resource do not automatically confer data-plane access to another. Grant only the needed target-scope storage role.

C:

Managed identities can be authorized for eligible resources across subscription boundaries within supported identity and tenant constraints. The failure does not prove the pattern is forbidden. Verify the real configuration, identity tenant and target RBAC rather than discarding the architecture immediately.

Question 113

An AKS workload must call Azure Key Vault and the team will not put a client secret into container images or Kubernetes Secrets. Which supported pattern should it investigate?

  1. Use AKS workload identity federation with the appropriate Kubernetes service account and Entra identity trust
  2. Hardcode a single tenant administrator refresh token in the Dockerfile
  3. Allow anonymous Key Vault reads from the AKS node network
  4. Reuse the kubelet’s image-pull identity as an unrestricted application identity without review

Explanation

Correct Answer

A:

With AKS workload identity, the pod’s Kubernetes service account can be bound through supported OIDC federation to an Entra workload identity. The application obtains tokens without shipping long-lived client secrets. Configure the trust subject, audience, service account annotation and least-privilege vault access; validate rotation and token use on the deployed pod.

Incorrect Answers

B:

An embedded refresh token would be copied into built images and registries and could remain available after deployment changes. It also grants privileges unrelated to a single application pod. Federated workload identity is designed to eliminate that static secret distribution.

C:

Key Vault is a protected data service; changing network reachability does not make anonymous secret reads a valid security requirement. The workload still needs an authorized identity and data-plane permission. Network paths are additional restrictions, not authentication substitutes.

D:

The kubelet identity serves node-level operations such as image pulls and should not automatically become an unrestricted application principal. Reusing it may expand permissions across workloads sharing a node. Use the pod’s intended service account and separately scoped identity authorization.

Question 114

A new regulated analytics workload needs a centralized place for certificates and application encryption keys. It must reside in an approved Azure region and use tenant-managed access governance. What should the engineer deploy?

  1. A general-purpose public blob container holding plaintext keys
  2. Azure Key Vault configured for the correct tenant, region and permission model
  3. One shared password in every analytics application settings file
  4. A local spreadsheet of key values stored with deployment instructions

Explanation

Correct Answer

B:

Key Vault provides a central Azure service for supported secrets, certificates and cryptographic keys with access governance and monitoring. During creation, choose the approved tenant and region, suitable vault or managed HSM model, network controls, recovery settings and RBAC permission model. The configuration must follow the organization’s residency and key-protection requirements.

Incorrect Answers

A:

Public object storage is not an appropriate default for private key material, especially in plaintext. Storage encryption at rest does not replace cryptographic key-specific permissions, audit and lifecycle protections. Use a service designed for secret and key management.

C:

An application settings file containing shared credentials increases the number of copies and access paths to secure. Rotation requires changing many deployments, and access is harder to audit centrally. Use vault-backed retrieval under the workload’s managed identity instead.

D:

A spreadsheet cannot enforce key-operation policies, certificate lifecycle, cryptographic isolation or reliable audit trails. It could expose key values to anyone with document access. Deployment instructions should reference a protected vault and approved identity permissions rather than contain raw material.

Question 115

A production team assumes a mistakenly deleted Key Vault can always be recreated immediately under the same name without any recovery planning. Which design review is needed?

  1. Confirm soft-delete retention, purge protection, recovery and supported backup or restore behavior for the vault resources
  2. Assume Azure automatically exports an unencrypted copy of every secret to the deployment repository
  3. Disable every recovery protection to make the vault name reusable instantly
  4. Rely on the resource name as proof that keys remain restorable after an accidental deletion

Explanation

Correct Answer

A:

Vault soft delete and purge protection affect whether deleted material can be recovered or permanently removed, and an unavailable key may break dependent services. Plan supported restore and backup options, tenant/region restrictions, ownership, access recovery and incident procedures before deployment. Test recovery without exposing production key material.

Incorrect Answers

B:

Automatic public or unencrypted exports of secrets are not a safe or generally supported recovery guarantee. Backup and restore behavior depends on the protected object and service limitations. A repository copy would also undermine credential protection and access governance.

C:

Disabling recovery protections raises the chance of irreversible loss or malicious purge. Rapid name reuse is not a resilience strategy for resources that depend on particular key versions. Configure recovery safeguards and understand deletion lifecycle rather than remove them.

D:

A resource name identifies a vault but does not prove the survival of its secrets or keys after deletion. Recovery depends on actual service state, retention and permissions. Verify the recovery workflow and critical dependencies before an outage.

Question 116

Infrastructure-as-code templates are reused for development and production Key Vault deployments. A developer copied a production password and firewall allowlist into the template to make the deployments identical. What revision best improves security?

  1. Include the production password as a hidden comment rather than a parameter
  2. Use environment parameters for names and policies, protected secret injection, and controlled identity-based access
  3. Deploy both vaults publicly with unrestricted network access to simplify testing
  4. Copy all production RBAC assignments into development regardless of role need

Explanation

Correct Answer

B:

Parameterize environment-specific vault names, network rules, retention and authorization configuration, while obtaining sensitive values from a protected deployment secret store or identity-based workflow. Review templates for accidental secrets and keep development permissions separated from production. Reusable automation should reproduce desired controls, not disclose confidential credentials.

Incorrect Answers

A:

Comments in template repositories can be read, indexed and retained in version history, so moving a password there does not protect it. Infrastructure files should describe configuration without embedding production secrets. Use approved secret deployment and storage mechanisms instead.

C:

Public unrestricted connectivity broadens the attack surface and conflicts with a security-sensitive vault deployment. Ease of testing does not justify weakening production or development access boundaries. Use controlled network rules and validated connectivity for each environment.

D:

Development environments rarely need production roles or privileged principals. Copying assignments grants access to users or automation that may not have an approved need. Parameterize identities and scope permission grants separately for each environment.

Question 117

Security operations cannot tolerate permanent loss of an encryption key after an operator mistakes a production vault for a test resource. Which Key Vault safety configuration most directly reduces that risk?

  1. Grant every operator the ability to purge keys without delay
  2. Turn off audit logs and rely on a naming convention
  3. Enable supported soft delete and purge protection, and document recovery responsibilities
  4. Replace the vault with application-local copies of every private key

Explanation

Correct Answer

C:

Soft delete retains eligible deleted vault objects for the configured recovery period, while purge protection helps prevent premature permanent destruction. Configure them according to policy and test recovery with approved operators. Retain access controls, logs and recovery runbooks; a protection switch alone does not replace incident preparedness.

Incorrect Answers

A:

Unrestricted purge authority lets a mistaken or malicious operator make deleted keys unrecoverable. That is the opposite of the required safeguard. Restrict destructive operations and configure the service’s recovery protections before issuing production keys.

B:

A naming convention can help an operator identify a resource but does not prevent deletion or enable recovery. Without logs, investigators also lose evidence about destructive actions. Use service-level protection plus monitored access rather than names alone.

D:

Private keys duplicated into app configurations or local files become harder to rotate, track and revoke. It also creates many new exposure points and undermines centralized key governance. Keep keys in an appropriate managed protection service with recovery and narrowly scoped access.

Question 118

An audit requirement asks which service principal performed a sensitive Key Vault key operation and when it occurred. Current monitoring keeps only the vault resource name. What should the engineer configure?

  1. Publish the vault access keys to a shared spreadsheet
  2. Turn off Key Vault logging because the service is managed
  3. Raise the maximum application log verbosity without checking whether key operations are recorded
  4. Enable the relevant Key Vault diagnostic audit categories and send logs to a protected destination with suitable retention

Explanation

Correct Answer

D:

Key Vault diagnostic/audit logs can record supported operations and relevant principal or request metadata. Route them through diagnostic settings to an authorized Log Analytics workspace, storage destination or event pipeline as appropriate. Control access, verify representative test events and enforce retention that satisfies the audit period.

Incorrect Answers

A:

Publishing keys or access credentials exposes sensitive material and does not produce an authoritative operation history. Auditability is about recorded actions and actor identities, not knowledge of the keys. Use service diagnostics and restricted monitoring access.

B:

Managed infrastructure does not remove the organization’s need to observe data-plane operations. Without audit records, investigators cannot reliably reconstruct the requested event. Enable supported logs and confirm ingestion and retention.

C:

Application logs may describe a request but cannot guarantee complete evidence of all vault operations, including calls from other clients. The diagnostic setting should capture service-side key events as appropriate. Correlate application traces only as supporting context.

Question 119

A payments service requires hardware-backed cryptographic key operations and must avoid exporting raw private key bytes into application memory. Which storage choice best fits?

  1. Put the key value in an Azure Table Storage record
  2. Use supported HSM-protected keys in the appropriate Key Vault or managed HSM offering and call cryptographic operations by API
  3. Store a randomly generated key as a normal application secret and send it to every instance
  4. Use a public certificate file containing the private key in the application image

Explanation

Correct Answer

B:

An HSM-backed key in an appropriate Azure key-management tier allows permitted signing, wrapping or other cryptographic operations to be performed through supported service APIs without distributing raw private key material. Verify key type, algorithms, service limits, identity rights and the organization’s required protection assurance before choosing the tier.

Incorrect Answers

A:

Table Storage can retain arbitrary data but does not provide the HSM protection and nonexportable key-operation boundary required for a private key. Encryption of a table at rest is not the same as dedicated hardware-backed cryptographic operations.

C:

A normal secret that applications retrieve into memory may be useful for some credentials but violates the requirement to keep private key bytes inside a hardware protection boundary. It also multiplies copies and rotation scope. Use HSM-backed key objects and authorized operations.

D:

Embedding a private key inside an image can leak it to image registries, caches and deployed hosts. A public certificate by itself normally contains only a public key, and storing its private counterpart alongside the app defeats hardware custody.

Question 120

An Azure container app must only retrieve approved secrets from one Key Vault. It does not need to manage keys, delete secrets or administer the vault. Which access assignment is most appropriate under the Azure RBAC model?

  1. Assign the resource group Owner role to the application principal
  2. Give the workload permanent Global Administrator
  3. Grant Key Vault Secrets User or the minimum suitable secret-read data-plane role at a narrow scope
  4. Assign Key Vault Administrator at subscription scope

Explanation

Correct Answer

C:

The Key Vault Secrets User role, or a similarly restricted approved data-plane assignment, allows secret-value retrieval under the RBAC permission model. Grant it to the container app’s verified identity at the smallest practical vault/resource scope and validate network access separately. Avoid giving the app key management or administration capabilities it does not require.

Incorrect Answers

A:

Resource group Owner is broad management-plane authority and can affect many unrelated resources. It is not a least-privileged secret reader role. The application should obtain only the data-plane capability necessary for its defined secret use.

B:

Global Administrator is a tenant-wide privileged directory role, not a sensible way to read one application secret. It grants capabilities entirely unrelated to this workload and can create a serious breach impact. Use a managed workload identity with scoped vault authorization.

D:

Key Vault Administrator can manage secrets, keys and certificates and is far broader than secret retrieval. Assigning it at subscription scope expands potential harm across vaults. Reserve administrative access for authorized operators and give the runtime a data reader role.

Implementing End-to-End Security Controls for Cloud and AI Workloads (SC-500) Practice Tests