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 13

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.

Question 121

A cloud administrator is permitted to create Key Vault resources but should never read the payroll application’s stored secrets. Which authorization model best preserves that separation?

  1. Use the subscription Contributor role as proof of secret-read authorization
  2. Assign an Entra Global Reader role to the administrator and delete all vault roles
  3. Treat vault management-plane actions and secrets data-plane actions as distinct permissions, granting no secret-read role
  4. Give everyone Key Vault Administrator and rely on audit logs to discourage reads

Explanation

Correct Answer

C:

Azure management-plane resource administration and Key Vault data-plane object access can be separated through appropriate RBAC roles. Grant the operator the required resource-management duties while withholding Secrets User and other data roles. Verify actual operations with distinct test identities and avoid compensating for a configuration mistake by giving everyone broad access.

Incorrect Answers

A:

Subscription Contributor manages many Azure resources but does not automatically imply a narrowly justified data-plane permission to read secret values under the Key Vault RBAC permission model. Administrators should check effective data permissions rather than assume management access proves that reading sensitive payroll credentials is allowed.

B:

Global Reader permits broad directory visibility, not selective Key Vault management or proof of a payroll secrets boundary. Removing legitimate management assignments would also prevent the administrator’s stated job. Separate the vault management role from secret-value access instead.

D:

Key Vault Administrator can read and manage sensitive objects under the RBAC model. Granting it to all resource administrators would defeat the proposed separation of duties. Logs may reveal a later access, but cannot prevent the initial unauthorized disclosure.

Question 122

A team is switching an established Key Vault from legacy access policies to Azure role-based access control. Several business applications depend on secret retrieval and cannot tolerate an outage. What migration preparation is most important?

  1. Inventory existing data-plane permissions, map each principal to equivalent least-privilege RBAC assignments and test before switching the permission model
  2. Switch immediately because legacy access policies are automatically cloned into RBAC roles
  3. Give every application Key Vault Administrator to prevent any permissions-related failures
  4. Export all secrets into a public blob before switching so clients can bypass the vault if access breaks

Explanation

Correct Answer

A:

A permission-model change may alter which grants are evaluated. Identify clients, certificates and workloads using the vault, prepare corresponding data-plane role assignments and test their access before a controlled cutover. Plan propagation, rollback and monitoring. Having the required roles preconfigured avoids a preventable service outage and broad privilege expansion.

Incorrect Answers

B:

Legacy access policies are a distinct authorization mechanism, so an automatic one-to-one translation cannot be assumed. Moving to Azure RBAC without checking each service principal and required action can break production secret reads. Validate target roles and their effective scopes.

C:

Administrator rights are far broader than most workloads need and could expose keys or permit destructive operations. They also fail the requirement to retain least privilege during migration. Assign appropriate Secrets User, crypto operation or certificate roles based on actual service needs.

D:

Publicly exporting secrets increases exposure and changes the application’s trusted security boundary. It cannot serve as a responsible fallback for a planned permission-model migration. Use authorization mapping, controlled cutover and secured vault recovery processes instead.

Question 123

A service principal was granted Key Vault Secrets User a few moments ago, but the application still gets a 403 response. The team is ready to add subscription Owner. What should it check first?

  1. Change the vault name to match the app’s environment tag
  2. Check the principal object ID, precise role scope, token freshness, propagation and any applicable network restriction
  3. Increase the secrets retention period as a substitute for authorization
  4. Ignore the error because eventual success is guaranteed for any role assignment

Explanation

Correct Answer

B:

Check whether the newly granted role targets the correct service principal and scope, whether the application is still using a token obtained before propagation, and whether resource network restrictions interfere. Reauthenticate and retest after the normal propagation interval. If the problem persists, use audit logs to identify the exact denied action rather than grant broad management rights.

Incorrect Answers

A:

Renaming a vault would change its endpoint and could break additional clients without correcting the underlying permission. Authorization is attached to an actual security principal and resource scope, not a naming convention. Investigate the role and token used in the failed request.

C:

Retention affects how long secrets or deleted objects remain recoverable, not whether a runtime identity may read a secret. Increasing it would not repair a 403 and could alter the retention obligations for sensitive data. Check the access model instead.

D:

Access can continue to fail because the role was assigned to a different principal, the wrong scope or a mismatched permission model. Propagation delays are possible but not proof of inevitable success. Diagnose rather than ignore a continued authorization failure.

Question 124

Regulatory auditors require twelve months of searchable Azure SQL audit events, while the current workspace has a much shorter retention policy. How should the database security engineer meet the requirement?

  1. Keep only the most recent interactive query results in the Azure portal
  2. Disable SQL auditing after an initial successful report
  3. Increase database compute capacity and assume retention follows
  4. Configure an approved SQL audit destination and retention or archival policy that actually preserves the events for twelve months

Explanation

Correct Answer

D:

Azure SQL auditing can write supported activity records to configured destinations such as storage or a monitoring workspace. Set actual destination retention or archival controls to meet the required period, restrict who can read or delete logs, and test ingestion and retrieval across the target time window.

Incorrect Answers

A:

Interactive query results show what was retrieved at one moment, not a durable record of all future database activity. They may omit events or expire. Configure ongoing audit collection and storage retention backed by a controlled destination.

B:

One report demonstrates only the events it contained. Disabling auditing would create a gap throughout the remaining compliance period. Maintain collection and verify that the chosen storage or monitoring pipeline receives events continuously.

C:

CPU and service-tier settings determine performance and availability, not the audit destination’s storage retention. More compute capacity does not automatically protect logs from deletion. Audit data lifecycle must be configured and verified independently.

Question 125

An Azure SQL Managed Instance has auditing enabled, but investigators cannot find the latest audit records in the chosen destination. Which diagnostic sequence is most appropriate?

  1. Check whether the instance’s supported auditing settings, destination identity or keys and log sink access are valid
  2. Turn off the auditing requirement and explain that Managed Instance activity cannot be logged
  3. Replace application firewall rules before examining the audit configuration
  4. Assume an empty destination proves that no database activity occurred

Explanation

Correct Answer

A:

An enabled setting is not proof that events have reached the destination. Check effective SQL Managed Instance auditing configuration, connectivity and permissions to the destination, expected event types and delay. Run a controlled operation and confirm it appears before concluding the pipeline is healthy. Include timestamps.

Incorrect Answers

B:

Azure SQL Managed Instance supports appropriate auditing configurations. Declaring the requirement impossible because a particular sink is empty would skip available troubleshooting. Investigate the supported audit configuration and data path instead.

C:

Firewall changes can affect application connectivity but are not the first explanation for absent audit data. Unnecessary network changes can increase exposure or interrupt business. Follow the actual audit event delivery path and look for errors there.

D:

A missing record may be due to ingestion delay, disabled categories, destination access failure or search-table mismatch. The absence of evidence is not proof of no activity. Reproduce a safe test event and inspect diagnostic details.

Question 126

A security team needs to establish whether a recent Azure SQL administrative permission change was made during a compromised user session. Which evidence is most useful?

  1. Only the current list of SQL permissions, without timestamps
  2. A dashboard of aggregate database CPU utilization
  3. Correlate SQL audit events with Microsoft Entra sign-in and Azure activity records for the relevant principal and time
  4. Only the latest application deployment version

Explanation

Correct Answer

C:

Database audit events may show the relevant database operation, while identity and Azure activity logs can provide sign-in and resource-management context. Correlate actor identifiers and timestamps with appropriate clock tolerance; consider that a management-plane operation and SQL command can have different logging sources. Protect the collected evidence for incident review.

Incorrect Answers

A:

A current permission listing shows the resulting state but usually cannot establish who initiated a change, from where, or whether the corresponding identity session was suspicious. Investigators need time-stamped activity correlated with authenticated principal evidence.

B:

CPU charts may identify workload changes but do not connect a permission grant to the responsible session. They are useful operational context, not sufficient security attribution. Collect the SQL and identity logs pertinent to administrative actions.

D:

A deployment version can tell which code was running but does not establish which identity changed access. Administrative commands may occur outside deployments. Use authoritative activity logs and link the changes to the principal and authentication event.

Question 127

A company hosts databases for multiple customers. Investigators from tenant A need SQL audit evidence for their own incidents but must not read tenant B activity. What is the best audit access design?

  1. Copy the entire shared audit store to every tenant investigator
  2. Partition or filter access using verified tenant boundaries, scoped identities and protected storage or workspace permissions
  3. Give tenant investigators subscription Owner so they can search all logs
  4. Remove tenant identifiers from all logs and rely on analysts to guess which events are theirs

Explanation

Correct Answer

B:

Use separate sinks, workspaces or supported access controls and verified tenant-scoping mechanisms appropriate to the architecture. Grant investigators access only to the records their organization may see, preserve relevant event fields and monitor queries or exports. Validate that search paths, saved queries and downstream copies do not cross tenant boundaries.

Incorrect Answers

A:

Sharing the complete store could reveal database queries, identifiers and customer activities belonging to other tenants. Audit access must be subject to the same confidentiality boundaries as the workloads being investigated. Do not rely on an analyst promise not to inspect unrelated data.

C:

Subscription Owner is a broad Azure management role that exceeds the goal of viewing selected audit records and might allow modification of unrelated resources. It does not implement tenant-isolated database evidence access. Grant narrow read rights to an appropriately partitioned audit system.

D:

Dropping tenant identifiers prevents reliable attribution and makes segregation harder to enforce. Analysts might mix events between customer populations and produce invalid incident conclusions. Retain necessary protected identifiers while applying authorization and access boundaries.

Question 128

Azure SQL displays repeated anomalous login attempts that look unlike the application’s normal access pattern. The security team wants Microsoft-managed database threat detections, not merely a raw query archive. What should it configure?

  1. Disable database auditing and wait for the platform to report a breach automatically
  2. Turn off all SQL authentication methods, even those needed by approved services
  3. Use an NSG on the application subnet as the sole database detection layer
  4. Enable the appropriate Microsoft Defender for SQL/Databases protection plan and investigate generated security alerts

Explanation

Correct Answer

D:

Defender for SQL/Databases provides database-focused security protections and alerts for supported suspicious activity. Verify the plan is enabled at the correct scope and includes the resource, then examine alert context and actual SQL logs. A security alert is evidence to investigate, not automatic proof of compromise.

Incorrect Answers

A:

Auditing records supported events but does not by itself guarantee behavioral threat detections for suspicious access. Disabling it would remove useful evidence during investigation. Use the relevant Defender protection service while retaining necessary logging.

B:

Changing authentication settings without understanding the system could break supported production access and still fail to detect other attack paths. The team asked for threat detection, not a blanket credential shutdown. Investigate anomalies and apply targeted hardening.

C:

An NSG can control certain network traffic paths but does not inspect SQL authentication patterns or supply database-specific threat analytics. It also may not directly apply to every platform-as-a-service database endpoint. Use the relevant database threat protection plan and supporting controls.

Question 129

A database vulnerability assessment flags three SQL servers. One is publicly reachable and stores payment data; the other two are isolated test systems. How should the engineer prioritize remediation?

  1. Prioritize based on exposure, severity and business sensitivity, then verify changes through an updated assessment
  2. Sort findings only by CVSS severity, without considering network exposure or whether payment data is at risk
  3. Close all findings immediately because the test servers have a lower priority
  4. Only increase the Defender plan price tier to clear the findings

Explanation

Correct Answer

A:

The publicly reachable production payment database is likely to pose greater business risk if the findings are comparable. Rank severity, attack paths, asset sensitivity and compensating controls, remediate using the appropriate database and platform changes, and validate the result with an updated scan or assessment. Document the rationale for the remaining items.

Incorrect Answers

B:

Technical severity is important, but the same vulnerability may pose different immediate risk on an Internet-facing payment database versus an isolated test system. Include external reachability, asset sensitivity and exploitability in the remediation decision, and use follow-up assessments to verify each fix rather than treating the score as the sole ordering factor.

C:

Lower-priority findings may still need remediation before test resources are reused or exposed. Closing them without evidence would conceal residual risk and corrupt posture reporting. Keep their owner and due date while addressing the most consequential exposure first.

D:

A protection plan can provide vulnerability visibility or alerting, but changing its price does not install a security patch, restrict network access or update a weak database configuration. The underlying vulnerabilities require direct control changes and revalidation.

Question 130

An organization enables Defender for Databases on one subscription and assumes SQL resources in four other subscriptions now receive the same coverage. What is the correct deployment validation?

  1. Look only for a green dashboard tile in the first subscription
  2. Turn on all Defender plans at the tenant root without evaluating scope or costs
  3. Confirm protection plans, policy scope, supported resource types and enrollment in each intended subscription or management group
  4. Create an empty database in each subscription as proof of security coverage

Explanation

Correct Answer

C:

Defender for Cloud plan settings and policy assignments have defined scopes. Inventory Azure SQL and other supported database services across all subscriptions, enable the required Defender for Databases offerings and verify actual protection status. Check exemptions, unsupported services and policy drift instead of assuming one successful deployment inherited everywhere.

Incorrect Answers

A:

One healthy-looking dashboard tile cannot establish protection status across other subscriptions, especially if coverage is scoped per subscription. Confirm the actual plan and protected resources in every targeted area of the estate.

B:

Broad plan activation can have licensing and cost implications and may enable unnecessary services. The team should select the intended database protections and make coverage explicit with authorized subscription or management-group policy controls.

D:

An empty database says nothing about the protection status of production database assets. It may also add unnecessary resources. Use subscription security configuration and actual protected-resource inventory for verification. Test coverage separately.

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