Question bank
Every question here is written from scratch. You can check why each answer is right or wrong in Microsoft Learn documentation.
- Fabrikam must retain the Exchange mailbox audit records of 20 executives for five years to meet a regulatory requirement. The records must be retained within Microsoft Purview Audit, not exported to another system. The executives are assigned Microsoft 365 E5 licenses, and audit records for other users must keep their current retention. What should you recommend?
- Contoso employees use Microsoft 365 client apps to access Exchange Online and SharePoint Online. When an employee's account is disabled or their password is reset, the employee must lose access to email and files within minutes. The solution must not shorten access token lifetimes and must not require creating Conditional Access policies. What should you recommend?
- Contoso publishes dozens of APIs in Azure API Management. The security team must find endpoints that are called without authentication and endpoints that have had no traffic for 30 days. The team must also detect attacks, including the OWASP API Top 10 threats, in runtime traffic and investigate them in its existing Microsoft Sentinel workflows. What should you recommend?
- Contoso runs Windows servers on Azure virtual machines and on AWS EC2 instances onboarded with Azure Arc. The security team requires just-in-time (JIT) VM access, file integrity monitoring, and agentless malware scanning on every server in both clouds. Which configuration should you recommend in Microsoft Defender for Cloud?
- Litware plans to replace the VPN for its remote users with Microsoft Entra Private Access. All employees must keep access to most internal resources, such as file servers and intranet sites. Only one finance system must be limited to the finance team group and additionally require multifactor authentication and a compliant device, and the access conditions for other resources must not change. Which configuration should you recommend?
- Fabrikam has no on-premises Active Directory. All of its Windows 11 24H2 devices are only Microsoft Entra joined and are managed with Microsoft Intune. Each device's local administrator password must be rotated and backed up automatically, and the help desk must retrieve those passwords from the cloud. Which solution should you recommend?
- Contoso uses the management group hierarchy of the Azure landing zone reference architecture. An internal line-of-business app must connect to the corporate network through the hub in the connectivity subscription. The development, test, and production environments must be separated but receive the same security policies, and the app's workload team must be able to deploy resources only to its own app environments and have no permissions on other workloads. Which design should you recommend?
- Contoso must allow partner users and employees on unmanaged devices to access SharePoint Online from a browser. Nothing can be installed on the unmanaged devices. During these sessions, files that have the Confidential sensitivity label must not be downloaded, and users must be able to continue other work. What should you recommend?
- Contoso configured a private endpoint for a Premium Azure Container Registry and then set public network access to disabled. Since then, a pipeline that runs on agents managed by Azure DevOps can't push images to the registry. What should you do to restore the pipeline without re-enabling public network access?
- Contoso connected an on-premises Active Directory domain controller as an Azure Arc-enabled server. Only the Azure Monitor Agent and the Microsoft Defender for Servers extension may run on this server, and the Custom Script Extension must not be usable for remote commands even if a subscription administrator disables Azure policies. What should you do?
- Contoso wants a group of highly privileged administrators to sign in with phishing-resistant passkeys. The authenticator model must be verifiable at registration, and passkeys that sync to a cloud provider such as iCloud Keychain must not be allowed. What should you configure?
- Contoso will run a two-week penetration test, and the SOC expects many noise incidents from known analytics rules during that period. The SOC wants those incidents closed and tagged as they're created, without writing a playbook, and the automation must stop on its own when the test ends. What should you configure?
- Fabrikam plans to deploy Azure Bastion in a hub virtual network to manage production VMs in peered spoke virtual networks. Administrators connect to the VMs by using browser-based connections in the Azure portal, and audit requirements mandate that every session through Bastion is recorded. Which SKU should you choose?
- Contoso has two Conditional Access policies. Policy1 requires multifactor authentication and Policy2 requires a compliant device, and both policies apply to a user named User1. What happens when User1 completes multifactor authentication and signs in from a device that isn't compliant?
- Contoso collects both CEF and Syslog messages through a Linux log forwarder that runs the Azure Monitor Agent (AMA). A firewall sends CEF messages on a facility that the Syslog data collection rule (DCR) also collects, and the same events appear in both the CommonSecurityLog and Syslog tables. The firewall doesn't let you change its target facility, and both CEF and Syslog collection must continue. What should you do?
- A Contoso security engineer has the Microsoft Sentinel Reader role. The engineer wants to use one analytics rule template that's included in a content hub solution, and doesn't need the solution's other content. What should you do so that the engineer can use the template?
- A Fabrikam Azure subscription contains 40 virtual machines, and Defender for Servers isn't enabled at any level yet. You must apply Defender for Servers only to the 5 virtual machines that run the payment system, and you must not turn on the plan at the subscription level. What should you do?
- Contoso's subscription contains the following four database resources. Which resource can't receive threat protection from the Defender for Databases plans in Microsoft Defender for Cloud?
- A Contoso app uploads large files to Blob Storage by using Put Block and Put Block List operations. The new Defender for Storage plan is enabled on the subscription, but malware scanning isn't enabled. The security team requires that the full content of files uploaded by this app be analyzed to detect malware. What should you do?
- Contoso plans to deploy new Azure VMs from a custom Linux image. The security requirements are to encrypt the temp disk and disk caches, to encrypt data flows between compute and storage, and to keep the encryption work off the VM's CPU. Which encryption option should you use?
- Fabrikam has enabled Defender for Servers Plan 2 on its subscription and wants to apply just-in-time (JIT) VM access to four Azure VMs to protect their management ports. On which VM can you enable JIT VM access?
- Contoso enabled the firewall on a key vault named KV1 and allowed trusted Microsoft services to bypass it. A virtual machine in subnet Subnet1 of virtual network VNet1 has no static public IP address, and only this virtual machine must read secrets in KV1. KV1 has no private endpoints. Subnet1 contains only this virtual machine. What should you configure to keep the allowed scope as narrow as possible?
- Contoso has a resource group named RG1 that contains virtual machines and a web app. No one, including users with the Owner role, may delete the resources in RG1 or resources added to it later. Operators must still be able to change resource settings. What should you do?
- Contoso deploys 40 virtual machines in a short time by using a single template. All virtual machines need the same permissions on the same storage account, and the deployment engineer doesn't have permission to create role assignments. To avoid managing credentials and minimize the number of role assignments, what should you use?
- Contoso runs the front-end, API, and database VMs of an ordering app in one virtual network and placed their NICs in the application security groups asg-front, asg-api, and asg-sql. NSG1, associated with the subnets, has no custom inbound rules yet. Which inbound rules should you add to NSG1 so that only asg-api can connect to TCP 1433 on asg-sql?
- Contoso wants to send the logs of every resource of one Azure resource type in a subscription to Microsoft Sentinel. The resource type's data connector is a diagnostic settings-based connector managed by Azure Policy. Resources that already exist and resources added later must both send logs. An administrator already has read and write permissions on the Sentinel workspace. What else is required?
- Fabrikam created a stored access policy named policy1 on container1 in a storage account and issued a partner a service SAS associated with policy1. This SAS is the only SAS associated with policy1. The SAS has been leaked. You must invalidate this SAS without regenerating the storage account keys, and the other service SAS and account SAS tokens issued from the same account must keep working. What should you do?
- Contoso has Microsoft Defender XDR and two Microsoft Sentinel workspaces in one tenant, WS-Global for the global SOC and WS-EU for an autonomous regional team. You're onboarding both workspaces to the Defender portal. The global SOC must see Defender XDR alerts correlated with its Sentinel alerts, and incidents in WS-EU must not include Defender XDR data. What should you do?
- Fabrikam's Azure SQL Database logical server SQL1 doesn't have a Microsoft Entra admin set yet. For separation of duties, the database administrator Admin1 is assigned the SQL Server Contributor role, and the security officer Sec1 is assigned the SQL Security Manager role. Without assigning any other role to either person, how should you enable Microsoft Entra-only authentication on SQL1?
- Contoso configured firewall rules on a storage account in the East US region so that only selected networks can connect. A VM in a virtual network subnet in the same region must read blobs in this account, but its requests are still denied after the VM's public IP address is added to an IP network rule. What should you do to allow access from this VM?
- Contoso's subscription contains dozens of storage accounts created with the portal, PowerShell, and the Azure CLI. The security team requires that no new storage account can be created with a minimum TLS version below 1.2, and that an existing account whose minimum TLS version is below 1.2 can't receive any other configuration change until that setting is fixed. What should you do?
- An administrator changed the security type of an existing Gen2 VM to Trusted launch with the default settings and installed the Guest Attestation extension. The VM uses only signed OS components. However, remote attestation for this VM keeps failing in Microsoft Defender for Cloud, so boot integrity monitoring doesn't work. What should you do?