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 33

Question 320

A deployment pipeline accidentally creates public Azure Storage accounts. Which change should be added before the next release?

  1. Validate IaC security settings before deployment and enforce appropriate Azure Policy so noncompliant resources are blocked.
  2. Ask engineers to rename public storage accounts after creation.
  3. Disable release logs so future mistakes do not appear in compliance reports.
  4. Give the deployment service principal Owner to ensure insecure templates deploy successfully.

Explanation

Correct Answer

A:

Build automated template validation and policy checks into the delivery process, verifying secure transfer, network access and any required encryption options. Enforce approved deny or related effects at scope, test with a deliberately insecure candidate and record the blocked deployment. Policy provides a backstop even if a developer bypasses a pipeline lint rule. Test with a disallowed network setting and confirm the policy blocks it even if the IaC linter was skipped.

Incorrect Answers

B:

Renaming does not close public access or fix an insecure configuration. Prevention requires inspecting properties and rejecting bad deployments. A renamed account can remain reachable through its current public network restrictions and data permissions.

C:

Removing audit evidence conceals problems rather than preventing internet exposure. Keep logs and enforce security requirements. Removing logs hides insecure deployment evidence while leaving the pipeline free to repeat the same mistake.

D:

Privilege escalation increases risk and does not make public network exposure acceptable. Use minimal deployment permissions with preventative policy checks. A more powerful pipeline identity increases damage potential and cannot make an insecure storage network setting acceptable.

Question 321

A shared IaC module requests subscription Owner for its deployment identity even though it only manages network security groups in one resource group. What should reviewers require?

  1. Approve Owner because reviewed source code guarantees the identity cannot perform unauthorized actions.
  2. Allow the module to create any role assignment automatically so future feature requests are easier.
  3. Disable pipeline change review because RBAC alone fully prevents insecure security-group rules.
  4. Constrain the deployment identity to necessary NSG operations at the resource-group scope and review generated role assignments.

Explanation

Correct Answer

D:

Enumerate actual resource-provider actions, use an appropriate built-in or custom role and separate role-assignment administration where possible. Test the module under those permissions, checking that prohibited cross-scope changes fail. Keep code review and policy checks so least privilege and configuration correctness reinforce one another. Test that the pipeline can update intended NSGs but cannot grant itself broader roles or modify unrelated subscriptions.

Incorrect Answers

A:

Code review helps but runtime credentials may be misused outside expected template logic. Restrict the identity independently of module correctness. An attacker stealing a pipeline token could issue resource-provider operations outside the expected reviewed template if permissions are broad.

B:

Unrestricted role assignment can enable privilege escalation and enlarge blast radius. Define only needed actions and scopes. Granting role-assignment authority can allow privilege escalation independent of the module's intended NSG management purpose.

C:

RBAC cannot judge the security meaning of every allowed configuration. Source review and policy evaluation remain important alongside identity scoping. RBAC controls the ability to change NSGs, not whether each permitted rule violates the organization's network policy.

Question 322

A security IaC pull request alters firewall routes but lacks a tested rollback plan. How should the team prepare its production rollout?

  1. Use peer-reviewed version control, validate plans in a safe environment and document rollback/verification steps.
  2. Apply the change immediately to production because version control guarantees correctness.
  3. Give the pipeline permission to delete the entire subscription if the route test fails.
  4. Suppress monitoring for a day so alerts do not block deployment.

Explanation

Correct Answer

A:

Security routing changes can interrupt access or bypass inspection. Require review of the intended diff, run appropriate IaC validation and tests, and establish how to revert safely if observed traffic differs from expectation. Record prechange routes and compare effective paths after rollout rather than assuming a successful tool exit means security is correct. Review a proposed route diff and apply it in a staging VNet before a timed production rollout with clear rollback criteria.

Incorrect Answers

B:

Version control records changes but does not validate that routing intent or rule priority is safe. Predeployment tests and controlled verification are still needed. Git commits record who changed code but cannot guarantee the resulting firewall inspection path is functional or safe.

C:

Broad destructive privilege is not a reasonable rollback strategy and could convert a minor outage into large-scale data loss. Scope recovery actions narrowly. A subscription-wide delete right is not a safe or proportionate rollback mechanism for one routing configuration mistake.

D:

Turning off visibility hides unintended route changes and real incidents. Increase targeted observation during a sensitive security rollout instead. Additional monitoring during rollout can detect bypasses and connectivity loss before the change affects more workloads.

Question 323

A storage application calls both Blob and Azure Files endpoints on one account. One private endpoint was created for Blob. What must the architect check?

  1. Assume the Blob endpoint automatically covers every storage service and subresource.
  2. Use the public Files endpoint while asserting the whole account is private-only.
  3. Configure the required distinct private endpoints or group IDs and DNS for both Blob and Files.
  4. Change the account's display name so the existing private endpoint discovers all services.

Explanation

Correct Answer

C:

Inventory the API hostnames and subresources the application uses, create approved private endpoints for each required service, and link or forward the corresponding private DNS zones. Test blob and file operations independently from the actual client network, while preserving service authorization and public-access restrictions as appropriate. Test both API hostnames from the same client so you can distinguish missing DNS or endpoint configuration by service.

Incorrect Answers

A:

Private endpoints are attached to specific supported group IDs. Blob and file services can require separate connectivity and DNS records for their normal hostnames. A Blob endpoint and File endpoint have distinct private-link service mappings, despite belonging to one Storage account.

B:

That bypasses the stated network boundary for one API. Secure each actual service path rather than only the most frequently used one. A single publicly reachable File hostname would violate a private-only requirement even if Blob calls remain private.

D:

Naming is not a substitute for a private endpoint to the correct service subresource. Explicit endpoint and DNS configuration are necessary. A display-name update does not instantiate the missing private-link group ID or its DNS zone record.

Question 324

An on-premises application uses VPN to reach an Azure SQL private endpoint, but its internal DNS server returns the SQL public address. What should be configured?

  1. Expose the SQL public endpoint to the on-premises internet address range as a permanent workaround.
  2. Configure private DNS forwarding or conditional resolution to the appropriate Azure resolver and verify VPN route reachability.
  3. Assign the on-premises user Azure subscription Owner so DNS queries become private.
  4. Delete the private endpoint and use port forwarding into SQL from a public gateway.

Explanation

Correct Answer

B:

The on-premises resolver must obtain the private endpoint's IP for the SQL hostname, using a supported forwarding or Azure DNS Private Resolver pattern. Confirm tunnel routes and firewall rules allow the private address and return traffic, then test from the actual host. Do not change working database credentials for a name-resolution fault. Confirm the on-premises resolver returns the approved private address and that the VPN forwards the relevant IP prefix.

Incorrect Answers

A:

A public allowance defeats the intended private-only design and bypasses the existing VPN path. Correct routing and DNS instead of weakening the service boundary. A permanent public SQL exception would leave an alternative attack path that survives even after VPN name resolution works.

C:

RBAC management privilege does not control how an enterprise DNS server resolves SQL names. Address the networking path at its true boundary. Azure Owner cannot directly change how a corporate DNS server resolves the private SQL hostname.

D:

That removes network isolation and introduces a new externally reachable path. Preserve the existing private endpoint and integrate on-premises resolution correctly. Removing the private endpoint would shift traffic onto a public listener despite the existing approved VPN architecture.

Question 325

A PaaS database is reachable only through Private Link, but attackers obtained a valid application secret. What should the security team do?

  1. Consider the credential harmless because a private endpoint blocks every possible attacker.
  2. Open the database's public endpoint so security tests can detect stolen-key usage more easily.
  3. Rename the private endpoint connection to indicate that the key was exposed.
  4. Revoke or rotate the stolen credential, investigate its use and retain the private network restrictions.

Explanation

Correct Answer

D:

Treat identity compromise independently of network isolation. Invalidate the key at the correct authority, update legitimate applications securely and inspect database, identity and network logs for access during the exposure window. Verify both authorized functionality and continued denial of public paths after remediation. Examine database authentication records after revocation to identify suspicious use within or beyond the intended private network.

Incorrect Answers

A:

A stolen secret can be used from compromised internal networks, authorized workloads or later through a changed access path. Private networking reduces exposure but does not invalidate compromised identity material. An attacker may use the stolen secret from a compromised employee host already inside the approved VNet.

B:

Public access would increase opportunities to exploit the stolen credential. Preserve network restrictions and use controlled telemetry and authorized testing. Opening the service publicly would give outsiders additional opportunities to test the credential during the incident.

C:

Changing metadata does not revoke a credential at its issuer. Attackers can continue using the same key where a permitted network path exists. The database authenticates the actual credential, not the label of the associated private endpoint resource.

Question 326

An enterprise hosts a private TCP service in its own VNet but wants partner VNets to reach only that service without peering full address spaces. Which Azure design fits?

  1. Publish the backend VM directly on the internet and hide its address from documentation.
  2. Publish the service through a supported Private Link service associated with the appropriate load-balancer frontend.
  3. Enable direct VNet peering to every partner subscription and share the entire routing table.
  4. Create only an Azure Storage private endpoint and assume it publishes the custom TCP server.

Explanation

Correct Answer

B:

A Private Link service lets approved consumers create private endpoints to a provider-managed service without exposing full provider network routes. Configure the required Standard Load Balancer frontend, visibility and connection approval, then validate partner traffic and backend health. Keep application authentication in place because private endpoint reachability does not authorize every operation. Test an approved partner connection and a connection from an unapproved tenant to verify both connectivity and consent enforcement.

Incorrect Answers

A:

An undocumented public listener is discoverable and contradicts the private-only partner connectivity requirement. It also exposes a larger host surface than a provider-controlled Private Link connection. An unadvertised public address can still be found by network scanning and broadens the provider's exposed host surface.

C:

Full peering may expose more network space than a single approved service and can complicate cross-tenant routing. A Private Link service narrows the exposure to a provider-defined endpoint. Peering entire partner address spaces introduces larger trust and route boundaries than a published private service endpoint needs.

D:

Storage private endpoints target supported Azure service subresources. A provider-hosted custom service needs a suitable Private Link service design, not a storage endpoint. Storage private endpoints attach to predefined Azure PaaS subresources and cannot independently publish a custom backend TCP application.

Question 327

A customer from an unfamiliar tenant requests a private endpoint connection to a provider's Private Link service. The provider does not recognize the customer. How should it respond?

  1. Automatically approve every request because private endpoints cannot reach sensitive systems.
  2. Make the service visible to every subscription and remove manual approvals permanently.
  3. Publish the underlying load balancer as a public internet endpoint during the approval process.
  4. Check the requesting subscription or tenant and approved visibility list, then explicitly approve only authorized connections.

Explanation

Correct Answer

D:

Private Link service visibility and automatic or manual approval settings determine which consumers can discover and connect to the provider endpoint. Validate the requesting organization and business scope before accepting the connection, then test the consumer's endpoint and maintain application-level authentication. Deny unfamiliar requests without changing public-network restrictions. Keep an audit record of connection approval and test that the partner's endpoint cannot reach any unintended provider service.

Incorrect Answers

A:

A private address is not proof of business authorization. Accepting arbitrary consumer connections may provide unintended reachability to the provider's service. Endpoint IP privacy does not establish contractual entitlement to a provider's sensitive application or backend data.

B:

Broad visibility increases unsolicited connection attempts and can expose the provider's endpoint to unapproved partners. Limit who can request and approve access. Visibility settings should limit which subscriptions discover the service and who can request an endpoint connection.

C:

Public exposure would bypass the connection-approval boundary and is unnecessary to validate the tenant and intended customer relationship. An internet listener would bypass the very partner approval step intended to prevent unknown network consumers.

Question 328

A data provider serves three customers through Azure Private Link. Which statement correctly distinguishes the shared service from customer endpoints?

  1. The provider publishes one Private Link service while each consumer creates its own approved private endpoint.
  2. Every customer automatically shares the same private endpoint network interface in the provider VNet.
  3. A consumer private endpoint grants subscription Owner over the provider's VNet.
  4. The provider must deploy a public gateway for every customer because Private Link cannot cross tenants.

Explanation

Correct Answer

A:

The provider defines the service and its load-balanced backend; each customer establishes a private endpoint in its own VNet under the provider's connection policies. This separates provider management from consumer network attachment. A consumer private IP is not the provider's public listener and does not confer access to other customers' network resources. Check each consumer's endpoint approval independently, because one partner's access must not grant the next partner's network rights.

Incorrect Answers

B:

Consumer endpoints reside in their own virtual networks and represent independently approved connections. Sharing one network interface would not establish distinct customer attachment or authorization. Consumer private interfaces normally attach within their own VNets, not as shared address assignments in the provider VNet.

C:

Private connectivity does not transfer Azure management privileges. Provider RBAC and business API authorization remain independently enforced. Private Link consumers receive connectivity to an authorized service, not authority to change the provider's Azure resources.

D:

Supported Private Link service connections can be used across approved subscriptions or tenants. The correct concern is connection consent and private name resolution, not mandatory public exposure. Cross-tenant Private Link has a supported consent model and does not mandate public routing into the provider environment.

Question 329

A partner's cross-tenant Private Link endpoint cannot connect to an internal API. The provider suggests enabling a public listener. What should be checked first?

  1. Whether the partner's user has Global Administrator rights in both tenants.
  2. Whether every VNet address space is routed between tenants through peering.
  3. Service alias or resource identifier, request visibility, provider connection approval and consumer endpoint health.
  4. Whether the API's public DNS name points to any IP, even if the private endpoint is not approved.

Explanation

Correct Answer

C:

Check that the consumer targeted the correct Private Link service, its subscription is allowed to request a connection, and the owner has approved it. Then verify private DNS and routing from the client, plus backend load balancer health. Resolve the actual approval or endpoint fault rather than opening the provider to the internet. Validate a positive connection request and its provider-side state before changing DNS or firewall policies.

Incorrect Answers

A:

Broad directory privilege is neither a requirement for ordinary private service calls nor a diagnostic for a rejected Private Link connection. Inspect the resource connection workflow. Tenant administration is unrelated to a private endpoint pending approval by the provider's resource owner.

B:

Private Link can expose a particular provider service without full routed peering. Requiring route exchange between entire networks defeats the narrower access model. Private Link isolates a provider listener without exchanging every source or destination prefix across both VNets.

D:

A public DNS answer cannot replace explicit Private Link approval. The goal is a working private connection with correct endpoint association and authorization. A public DNS record does not establish that a private-link connection was approved, routed or authenticated to the API.

Question 330

A company wants to expose just one internal TCP service to an external business partner without routing the partner's entire VNet into its own. Which Azure capability suits that boundary?

  1. Grant the partner VPN transit to every spoke and restrict by a written agreement.
  2. Use a provider-side Private Link service and an approved consumer private endpoint for the specific TCP listener.
  3. Enable anonymous public ingress on the VM and rely on the partner keeping the URL confidential.
  4. Use Azure DNS private zones alone, without any actual private connectivity configuration.

Explanation

Correct Answer

B:

The provider publishes the supported service through a load-balanced frontend, while the partner connects to that published service using a private endpoint. This limits network exposure to an intended application rather than full peering or VPN routes. Validate backend authorization, expected source behavior and network policy under the approved customer relationship. Test from the customer's assigned private endpoint and verify unrelated backend private IP addresses remain unreachable.

Incorrect Answers

A:

A broad private transit path can create unnecessary access and routing complexity. A written agreement does not replace network controls on the actual service. Broad VPN transit introduces access paths to other provider subnets beyond the authorized application service.

C:

A secret URL is not a network boundary, and public ingress contradicts the requirement to avoid broader service exposure. Identity-aware private access remains necessary. A confidential URL is not an identity control; anyone who discovers it may reach the exposed public listener.

D:

A private DNS record changes name resolution but cannot create routing or a provider-side Private Link service. Configure the endpoint and backend service too. DNS resolution alone cannot create a service endpoint that forwards approved client packets to the provider backend.

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