Microsoft Implementing End-to-End Security Controls for Cloud and AI Workloads - SC-500 Exam Practice Test
You have a network security group (NSG) bound to an Azure subnet
You run Get-AzNetworkSecurityRuleConf ig and receive the output shown in the following exhibit

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.

You run Get-AzNetworkSecurityRuleConf ig and receive the output shown in the following exhibit

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Statement
Selection
Traffic destined for an Azure Storage account is
able to connect to East US 2
FTP connections from 1.2.3.4 to 10.0.0.10/32 are
dropped
The first selection is able to connect to East US 2 because NSG rules are evaluated in ascending priority order-the lower numerical value has higher priority. The StorageEA2Allow outbound rule has priority 104 and permits traffic to the Storage.EastUS2 service tag on destination port 443. The broader DenyStorageAccess rule has priority 105 and denies outbound traffic to the general Storage service tag.
Because priority 104 is evaluated first, HTTPS storage traffic to East US 2 is allowed; storage traffic for other regions subsequently matches the priority-105 deny rule. Microsoft confirms that regional service tags such as Storage.EastUS2 restrict the tag to the service ' s IP ranges in that specific region. Microsoft Learn The FTP connection is dropped. The Contoso_FTP inbound rule permits TCP port 21 from 1.2.3.4/32, but only when the destination is 10.0.0.5/32. The question ' s destination is 10.0.0.10/32, so this custom allow rule does not match. The traffic ultimately reaches the NSG ' s default DenyAllInbound rule and is blocked.
Microsoft documents that NSG processing stops on the first matching rule.
You have a Microsoft Sentinel workspace named Workspace1.
You hire a security consultant. You provide the consultant with a guest account named User1 in your Microsoft Entra tenant.
You need to enable User1 to assign incidents in Workspace1.
Which roles should you assign to User1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You hire a security consultant. You provide the consultant with a guest account named User1 in your Microsoft Entra tenant.
You need to enable User1 to assign incidents in Workspace1.
Which roles should you assign to User1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Role type
Selection
Microsoft Entra role
Directory Reader
Azure role
Microsoft Sentinel Responder
For a guest user to assign Microsoft Sentinel incidents, Microsoft specifically requires two permissions:
Directory Reader in Microsoft Entra ID and Microsoft Sentinel Responder for the Sentinel workspace.
Microsoft's Sentinel incident investigation guidance states that the Microsoft Sentinel Responder role is required to investigate and manage incidents, including incident assignment. It also explicitly states that when a guest user needs to assign incidents, the account must additionally be assigned the Directory Reader role in the Microsoft Entra tenant.
The Directory Reader role supplies the directory-read capability required for a guest account to resolve and work with tenant identities during incident ownership assignment. Guest users do not receive the same default directory-read permissions as regular tenant member accounts.
For the Azure RBAC selection, Microsoft Sentinel Responder is the least-privileged appropriate role. Its permissions include management operations over Microsoft Sentinel incidents. Microsoft Sentinel Reader is insufficient because it only provides read access, while Microsoft Sentinel Contributor would provide broader permissions than necessary.

The subscription contains the virtual machines shown in the following table.

On Nl1I, you configure an application security group named ASG1.
On which other network interfaces can you configure ASG1?
Correct Answer: C
You have a Microsoft Entra tenant that contains the users shown in the following table.


From PIM, you assign the Security Administrator role to the following groups:
* Group1: Active assignment type, permanently assigned
* Group2: Eligible assignment type, permanently eligible
For each of the following statements, select Yes if the statement is the. Otherwise, select No.
NOTE: Each correct selection is worth one point.



From PIM, you assign the Security Administrator role to the following groups:
* Group1: Active assignment type, permanently assigned
* Group2: Eligible assignment type, permanently eligible
For each of the following statements, select Yes if the statement is the. Otherwise, select No.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Statement
Answer
User1 has five hours to activate the Security Administrator role.
No
If User2 activates the Security Administrator role, the user will be assigned the role immediately.
Yes
User3 can activate the Security Administrator role.
Yes
User1 = No. User1 belongs to Group1, which has a permanent active assignment. Active assignments require no activation; members already possess the Security Administrator privileges. The five-hour setting specifies the maximum duration of an activated eligible assignment, not a five-hour window in which an active user must activate the role. Microsoft Learn User2 = Yes. Group2 has a permanent eligible assignment, so User2 must activate the role before using its privileges. The configuration requires no MFA, justification, ticket, or approval. Microsoft states that activation creates a temporary active role assignment, and PIM normally creates that assignment within seconds. The activated assignment can remain active for up to five hours. Microsoft Learn User3 = Yes. User3 inherits the permanent active assignment through Group1 and the eligible assignment through Group2. Microsoft documents that members of a group assigned an eligible Microsoft Entra role inherit that eligibility and can activate the assignment. The existing active path through Group1 doesn ' t remove User3 ' s separate eligibility through Group2.
User1 has requested to use the AI Administrator role.
Which approvers can approve the request, and how long will User1 be an AI administrator after the role is approved? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Which approvers can approve the request, and how long will User1 be an AI administrator after the role is approved? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Eligible approvers: Admin1 and Admin3 only; Maximum active duration of the role: 1 day

The answer area indicates that Admin1 and Admin3 are the eligible approvers and that the active AI Administrator role duration is one day. This is consistent with PIM role settings: approvers are explicitly configured for a role activation policy, and maximum active duration controls how long the activated role remains available. Other administrators who are not configured as approvers cannot approve the request merely because they hold unrelated roles. This domain is tested through precise scope control: tenant, subscription, resource, application, and data-plane authorization are not interchangeable. The correct choice applies the smallest identity or governance control that enforces the stated requirement. Options that only add users, create registrations, or provide broad administrator access fail because they do not directly enforce the requested access behavior. The result is a direct exam-style implementation choice: it changes the required security behavior without relying on unrelated monitoring, manual cleanup, or excessive privilege. Official Microsoft source/topic: SC-500 Study Guide > PIM activation approval and duration; Microsoft Learn > role settings in PIM.
You have an Azure subscription that contains the virtual networks shown in the following table.

NSG1 and NSG2 both have default rules only.
The subscription contains the virtual machines shown in the following table.


NSG1 and NSG2 both have default rules only.
The subscription contains the virtual machines shown in the following table.

Correct Answer:

Explanation:

You have an Azure SQL Database logical server named Server1 that contains multiple databases.
The databases contain legacy SQL authentication logins that must no longer be usable for sign-in but must NOT be removed from the databases.
You need to ensure that SQL authentication is denied for connections.
What should you do?
The databases contain legacy SQL authentication logins that must no longer be usable for sign-in but must NOT be removed from the databases.
You need to ensure that SQL authentication is denied for connections.
What should you do?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You have an Azure subscription named Sub1 that contains an Azure Database for PostgreSQL instance Sub1 has Microsoft Defender for Cloud enabled.
You need to configure Microsoft Defender for Databases to minimize costs.
Which Defender plan should you enable?
You need to configure Microsoft Defender for Databases to minimize costs.
Which Defender plan should you enable?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You have a Microsoft Foundry project that contains a model deployment named Deployment1.
Deployment1 contains an agent named Agent1 that uses an existing default guardrail configuration.
You discover that Agent1 generates tool calls that contain harmful language.
You need to ensure that Agent1 responses containing harmful content are prevented from running. The solution must prevent changes to the configuration of Deployment1.
What should you do?
Deployment1 contains an agent named Agent1 that uses an existing default guardrail configuration.
You discover that Agent1 generates tool calls that contain harmful language.
You need to ensure that Agent1 responses containing harmful content are prevented from running. The solution must prevent changes to the configuration of Deployment1.
What should you do?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You create resources in an Azure subscription as shown in the following table.

VNET1 contains two subnets named Subnet1 and Subnets Subnet1 has a network ID of 10.0.0.0/24. Subnet2 has a network ID of 10.1.1.0/24.
contoso1901 is configured as shown in the exhibit. (Click the Exhibit tab.) For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.


VNET1 contains two subnets named Subnet1 and Subnets Subnet1 has a network ID of 10.0.0.0/24. Subnet2 has a network ID of 10.1.1.0/24.
contoso1901 is configured as shown in the exhibit. (Click the Exhibit tab.) 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:

The first statement is Yes because contoso1901 has an explicit virtual network rule permitting Subnet1. Azure Storage firewall rules can restrict access to selected virtual network subnets, and Microsoft states that when the storage account ' s default network action is Deny, only explicitly permitted networks or IP ranges can use the public endpoint. Microsoft Learn The second statement is No. Although Subnet2 belongs to the same VNET1, Azure Storage virtual network rules operate at the subnet level. Only Subnet1 appears in the allowed rule. Therefore, traffic from Subnet2 does not match an allow rule and is rejected by the storage account ' s default Deny action. Microsoft Learn The third statement is Yes because 193.77.10.2 belongs to the permitted CIDR range 193.77.0.0/16. Azure Storage IP network rules can explicitly authorize public internet addresses or CIDR ranges while all unlisted sources remain denied. Microsoft confirms that IP network rules are evaluated as allowed public sources when the account is configured for selected networks
You have the hierarchy of Azure resources shown in the following exhibit.

RG1, RG2, and RG3 are resource groups.
RG2 contains a virtual machine named VM2.
You assign role-based access control (RBAC) roles to the users shown in the following table.

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


RG1, RG2, and RG3 are resource groups.
RG2 contains a virtual machine named VM2.
You assign role-based access control (RBAC) roles to the users shown in the following table.

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

Correct Answer:

Explanation:
Statement
Answer
User1 can deploy virtual machines to RG1.
Yes
User2 can delete VM2.
Yes
User3 can reset the password of the built-in Administrator account of VM2.
No
User1 = Yes. Azure RBAC permissions assigned at a parent scope are inherited by all child scopes. Microsoft states that roles assigned at a management-group scope flow down to subscriptions, resource groups, and resources beneath that management group. Because User1 has Contributor at the Tenant Root Group, the assignment applies to RG1 and allows User1 to create and manage resources, including virtual machines.
Microsoft Learn
User2 = Yes. User2 has Virtual Machine Contributor at Subscription2. This role explicitly includes Microsoft.
Compute/virtualMachines/*, which permits VM operations including create, update, start, stop, and delete.
Since VM2 is contained in RG2 under Subscription2, the assignment is inherited and User2 can delete VM2.
Microsoft Learn
User3 = No. The Virtual Machine Administrator Login role authorizes a user to sign in to a VM with administrator privileges. It does not grant management-plane permissions to modify VM extensions or perform password-reset operations. Microsoft distinguishes sign-in roles from management roles such as Virtual Machine Contributor, which does include password-reset capability through VM extensions.
You have a virtual network named VNet1 that contains a subnet named Subnet1. Azure App Service is integrated with VNet1. You have an Azure SQL Database logical server named Server1 that contains a database named DB1. Server1 is accessible only by using a public IP address.
You need to ensure that Server1 does NOT use a public IP address and Azure App Service can still access Server1.
What should you create?
You need to ensure that Server1 does NOT use a public IP address and Azure App Service can still access Server1.
What should you create?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals.
More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have an Azure subscription that contains two virtual machines named VM1 and VM2. Each virtual machine has system-assigned managed identity enabled.
You have an Azure Storage account named storage1. Public access from all networks is enabled for storage1.
You need to ensure that VM1 and VM2 can access storage1.
Solution: You create a user-assigned managed identity, assign the identity to each virtual machine, and then add each managed identity to a role on storage1.
Does this meet the goal?
More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have an Azure subscription that contains two virtual machines named VM1 and VM2. Each virtual machine has system-assigned managed identity enabled.
You have an Azure Storage account named storage1. Public access from all networks is enabled for storage1.
You need to ensure that VM1 and VM2 can access storage1.
Solution: You create a user-assigned managed identity, assign the identity to each virtual machine, and then add each managed identity to a role on storage1.
Does this meet the goal?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You have an Azure subscription named Sub1 that contains a storage account named storage1. Sub1 has Microsoft Defender for Storage enabled. Defender for Storage has malware scanning enabled.
You need to configure a solution that automates the remediation of malware detected in storage1.
What should you include in the solution?
You need to configure a solution that automates the remediation of malware detected in storage1.
What should you include in the solution?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).