Microsoft Implementing End-to-End Security Controls for Cloud and AI Workloads - SC-500 Exam Practice Test

You need to implement the planned change for VM1 to access storage1. The solution must meet the technical requirements.
What should you do first?

Correct Answer: D Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You have an Azure subscription that contains an Azure SQL database named SQL1.
You plan to deploy an Azure app service web app named Appl.
You need to provide App1 with read and write access to SQL1. The solution must meet the following requirements:
* Provide App1 with access to SQL1 without storing a password.
* Use the principle of least privilege.
* Minimize administrative effort.
Which type of account should App1 use to access SQL1, and which database roles should you assign to App1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

App1 should use a managed identity. Azure App Service supports system-assigned and user-assigned managed identities that allow applications to obtain Microsoft Entra access tokens without storing passwords, client secrets, or certificates in application configuration. Microsoft specifically recommends managed identities for application access to Azure SQL because they eliminate developer-managed credentials and support passwordless authentication. Microsoft Learn After enabling the identity, create a contained database user in SQL1 that represents App1 ' s managed identity. To satisfy the required permissions while following least privilege, assign that user to db_datareader and db_datawriter. db_datareader permits reading data from user tables and views, while db_datawriter permits adding, modifying, and deleting data. Microsoft documents this role combination for applications requiring normal read/write database access. Microsoft Learn The db_owner role would grant substantially broader permissions, including extensive database administration capabilities, and therefore violates least privilege. A conventional service principal can also authenticate without a user password, but typically requires management of a client secret or certificate unless additional federation is configured. A Microsoft Entra user is inappropriate for an application workload.
You have an Azure subscription named Sub1 that is linked to a Microsoft Entra tenant named contoso.com.
Sub1 contains a Recovery Services vault named RSVault1 that stores virtual machine backups.
Your company's security team maintains a dedicated Microsoft Entra tenant named security.contoso.com.
You need to ensure that modifying the backup settings of RSVault1 requires approval from an approver in security.contoso.com.
What should you do in contoso.com?

Correct Answer: B Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You have an Azure subscription named Sub1 that contains an Azure SQL Database logical server named Served.
Server 1 contains a database named D81
Microsoft Defender for Cloud security alerts are being generated for Sub1.
You plan 1o improve investigation capabilities when Microsoft Defender for SOL raises Advanced Threat Profection alerts.
You need to ensure that the Advanced Threat Protection investigations have the audit records of DB1. The solution must include the recommended audit action groups.
How should you configure database auditing for Served? To answer, drag the appropriate action groups to the correct requirements. Each action group may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

For successful database logins, configure SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP.
This action group records successful authentication events against the Azure SQL database and supplies identity and connection information that can be valuable during Microsoft Defender for SQL investigations.
For unsuccessful login attempts, configure FAILED_DATABASE_AUTHENTICATION_GROUP. It records failed database authentication attempts, which are particularly relevant to Defender for SQL detections involving suspicious login activity, credential attacks, or anomalous access attempts.
Microsoft ' s Azure SQL auditing documentation identifies a recommended default set of database audit action groups consisting of BATCH_COMPLETED_GROUP, SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, and FAILED_DATABASE_AUTHENTICATION_GROUP. Together, these capture executed queries and stored procedures plus successful and failed database authentication events. Microsoft specifically warns against unnecessarily combining the recommended set with overlapping action groups because this can generate duplicate audit records. Microsoft Learn For the two authentication requirements represented in this drag-and-drop item, the corresponding selections are therefore the successful and failed database authentication groups. These audit records enrich Defender for SQL Advanced Threat Protection investigations with the authentication context needed to analyze suspicious database activity.
HOTSPOT
You have a management group named MG1 that contains an Azure subscription named Sub1. Sub1 contains:
RG1 - Resource group
VM1 - Virtual machine
Vault1 - Azure Key Vault
Workspace1 - Log Analytics workspace
You need to protect the resources in Sub1 by using Microsoft Defender for Servers Plan 1 and Microsoft Defender for Key Vault.
From the Azure portal, on which resources can you enable each Defender plan?
Correct Answer:

Explanation:
Defender plan
Selection
Defender for Servers Plan 1
Sub1 and VM1 only
Defender for Key Vault
Sub1 and Vault1 only
For Defender for Servers Plan 1, Microsoft supports enablement at the Azure subscription level and at the individual server resource level. Microsoft's current deployment-scope table explicitly states that Plan 1 can be enabled for an Azure subscription and for a specific resource, such as an Azure VM. It cannot be enabled directly on a management group, resource group, or Log Analytics workspace as a Plan 1 protection scope.
For Defender for Key Vault, the exam item targets the Defender plan at the subscription or individual vault scope. Defender for Key Vault is billed and represented using a per-vault protection model, and Microsoft's Defender for Cloud policy set includes a dedicated configuration for the Key Vault plan. It is not enabled on a resource group, management group, or Log Analytics workspace.
One current-platform nuance: Microsoft announced in July 2026 that new onboarding through the legacy Defender for Key Vault plan-enablement path is deprecated/blocked, with migration to the newer fixed- pricing model. The exam answer for this item as written remains the scope combination above.
Final selections:
Defender for Servers Plan 1 # Sub1 and VM1 only
Defender for Key Vault # Sub1 and Vault1 only
You have an Azure subscription that contains the resources shown in the following table.

You plan to implement Microsoft Defender for Cloud.
Which resources can be protected by using Defender for Cloud?

Correct Answer: C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
HOTSPOT
You have an Azure Container Registry named Registry1.
You add the following role assignments for Registry1:

Which users can upload images to Registry1, and which users can download images from Registry1?
Correct Answer:

Explanation:
Requirement
Selection
Upload images
User1 and User4 only
Download images
User1, User2, and User4
Comprehensive and Detailed 150 to 250 words of Explanation From [Cloud and AI Security Engineer/Course Guide/topics]:
User1 can both upload and download images because the AcrPush role includes permissions to push/write and pull/read artifacts in Azure Container Registry. Microsoft defines AcrPush as granting both push and pull access.
User2 can download images only because AcrPull grants read/pull access but no push permission.
User3 cannot upload or download normal container images based solely on AcrImageSigner. That role is intended for Docker Content Trust signing metadata. Microsoft states that AcrImageSigner grants signing permissions and that actual image push permission requires AcrPush or an equivalent role in addition.
User4 can upload and download because the generic Contributor role grants broad Azure Resource Manager actions, which in the legacy RBAC Registry Permissions model include the registry push and pull operations used by AcrPush/AcrPull. This question clearly uses those legacy ACR roles; if the registry were explicitly configured for the newer ABAC repository-permissions mode, Contributor and legacy AcrPush/AcrPull would behave differently.
You have an Azure subscription named Sub1 that contains the resource groups shown in the following table.

You create the Azure Policy definition shown in the following exhibit.

You assign the policy to Sub1.
You plan to create the resources shown in the following table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

For IPObject1, the resource is being deployed to RG2, whose location is East US, and the public IP is also East US. The location condition is therefore false. Its name, IPObject1, contains obj when evaluated case- insensitively, so the second condition is also false. Azure Policy string comparisons other than the explicitly case-sensitive matching operators use InvariantCultureIgnoreCase, making Object satisfy obj. Microsoft Learn obj1 cannot be created. The policy uses the resourceGroup() function even while evaluating creation of a resource-group resource itself. For a policy/template-function evaluation that produces an error, Microsoft states that policy evaluation fails and the result is an implicit deny. Microsoft Learn For OBJ3, the VNet is West US and RG1 is also West US, so the location matches. OBJ3 also contains obj under Azure Policy ' s case-insensitive string evaluation. Neither part of the anyOf expression therefore evaluates true, so the deny effect isn ' t triggered.
Microsoft documents that the deny effect prevents matching resource-creation requests before they ' re sent successfully to the resource provider.
You have an Azure Kubernetes Service (AKS) cluster that will connect to an Azure Container Registry.
You need to use the automatically generated service principal for the AKS cluster to authenticate to the Azure Container Registry.
What should you create?

Correct Answer: A Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You have an Azure key vault named KV1 that uses rale based access control (RBAC) for data plane authorization.
You have multiple Azure App Service web apps that retrieve a SQL connection string stored as a secret in KV1.
You need to ensure that the web apps can access KV1. the solution must minimize the number of required identities and follow the principle of least privilege.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
You have an Azure Storage account named storage1 that contains Azure Files shares.
You have an application named App1 that uses a system-assigned managed identity to access the shares.
Administrators access the shares by using storage account keys.
You need to ensure that App1 access the shares without using the storage account keys.
What should you do on storage1?

Correct Answer: A Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You have an Azure subscription that is protected by using Microsoft Defender for Cloud.
You plan to upgrade from Foundational Cloud Security Posture Management (CSPM) to Defender CSPM.
Which security policy will be deployed to the subscription automatically?

Correct Answer: D Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어