
You have an Azure subscription that contains a resource group named RG1 and the network security groups (NSGs) shown in the following table. You create the Azure policy shown in the following exhibit. ...To understand what happens when you assign the given policy to the NSG1 and NSG2 under the resource group RG1, we need to examine the policy and understand its impact on the Network Security Groups (NSGs). Steps to Analyze: 1. Understanding the Policy: - Based on the exhibit mentioned, we can assume the Azure policy is targeting the configuration of Flow Logs for Network Security Groups (NSGs). The policy might specify that flow logs should be enabled for NSGs under the specified scope. 2. Assigning the Policy: - When you assign this policy to RG1, you are applying the policy to all resources within that resource group, including NSG1 and NSG2. If the policy is related to flow logs, it could be instructing whether flow logs must be enabled or disabled on the NSGs. 3. NSG-Specific Behavior: - If the policy applies to NSG1 and NSG2, it could either enforce flow logs to be enabled or disabled based on the configuration within the policy. - For this scenario, the assumption is that the policy is meant to ensure flow logs are enabled. If the policy specifically applies to the resource group but is only compatible with NSG2 due to configuration restrictions or existing settings on NSG1, the flow logs may be enabled on NSG2 and not on NSG1. Analyzing the Options: - A) Flow logs will be enabled for NSG2 only. - Reasoning: If the policy is applied to the resource group, but NSG1 is not properly configured to comply with the policy (e.g., NSG1 has an existing setting that conflicts with the policy), then the policy might only apply to NSG2. This can happen if the policy specifically checks whether the flow logs are enabled and NSG1 has a conflicting setting or is already configured differently. - Selection Justification: This is a plausible option if NSG1 does not comply with the polic... Author: Aarav2020 · Last updated May 18, 2026 |
HOTSPOT - You have an Azure Active Directory (Azure AD) tenant named contoso.com that has Azure Active Directory Premium Plan 1 licenses. You need to create a group named Group1 that will be assigned the Global reader role. Which portal should you use to create Group1, and which type of group s...Author: Zain · Last updated May 18, 2026 |
HOTSPOT - You have a management group named MG1 that contains an Azure subscription and a resource group named RG1. RG1 contains a virtual machine named VM1. You have the custom Azure roles shown in the following table. The permissions for Role1 are shown in the following role definition file. The permissions for Role2 are shown in the following role definition file. You assign the roles to the users...Author: Charlotte · Last updated May 18, 2026 |
You have an Azure Active Directory (Azure AD) tenant. You need to prevent nonprivileged Azure AD users from creating service principles in Azure AD. What s...To prevent non-privileged Azure Active Directory (Azure AD) users from creating service principals in Azure AD, we need to control who has the ability to register applications and create service principals. Here's a breakdown of each option: A) From the User settings blade, set "Users can register applications" to No. - Explanation: This setting specifically controls whether users can register applications in Azure AD. When users register an application, a service principal is automatically created for that application. Setting "Users can register applications" to No will prevent non-privileged users from registering applications and thus prevent them from creating service principals. - Selection Justification: This is the correct option. Disabling application registration will directly block the ability of non-privileged users to create service principals. B) From the Properties blade, set "Access management for Azure resources" to No. - Explanation: This setting controls whether users can manage access to Azure resources (such as subscriptions and resources). It doesn’t specifically block the creation of service principals or application registrations in Azure AD. It's focused more on managing resource access and permissions. - Rejection: This option does not directly control the ability to create service principals, so it would not solve the issue. C) From the User setting... Author: Ava · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription that contains the following Azure firewall: * Name: Fw1 * Azure region: UK West * Private IP address: 10.1.3.4 * Public IP address: 23.236.62.147 The subscription contains the virtual networks shown in the following table. The subscription contains the subnets shown in the following table. The subscription contains the routes shown in t...Author: Joseph · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription that contains a user named User1 and a storage account named storage1. The storage1 account contains the resources shown in the following table. In storage1, you create a shared access signature (SAS) named SAS1 as shown in the following exhibit. To which resources can User1 write on J...Author: Zara · Last updated May 18, 2026 |
You have an Azure subscription that contains a managed identity named Identity1 and the Azure key vaults shown in the following table. KeyVault1 contains an access policy that grants Identity1 the following key permissions: * Get * List * Wrap * Unwrap You need to provide Identity1 with the ...To meet the requirement of providing Identity1 with the same key permissions (Get, List, Wrap, Unwrap) for KeyVault2 using the principle of least privilege, we must carefully consider each role and its scope. Let's break down each option: A) Key Vault Crypto Service Encryption User - This role allows users to encrypt and decrypt data, and it’s associated with service encryption keys. This role is generally designed for scenarios where encryption/decryption operations are needed for a service or user, but it doesn't grant the more granular permissions related to key management. - Why rejected: The role is not tailored for managing key permissions (such as Get, List, Wrap, Unwrap), and would provide too broad a scope for this specific use case. B) Key Vault Crypto User - This role grants permission to use the keys for cryptographic operations like signing, encryption, and decryption, including wrapping and unwrapping keys. - Why selected: This is the most appropriate role as it grants the permissions required (Get, List, Wrap, Unwrap) for working with keys in Key Vault, specifically focusing on the use of keys for cryptographic operations. The role meets the r... Author: Aria · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription that contains a user named User1. User1 is assigned the Reader role for the subscription. You plan to create a custom role named Role1 and assign Role1 to User1. You need to ensure that User1 can create and manage application security groups by using Azure portal. Which two permissio...Author: Olivia · Last updated May 18, 2026 |
You have an Azure subscription named Sub1. In Microsoft Defender for Cloud, you have a workflow automation named WF1. WF1 is configured to send an email message to a user named User1. You need to modify WF1 to s...To modify the workflow automation WF1 in Microsoft Defender for Cloud so that it sends email messages to a distribution group (instead of a single user), we need to consider the correct tool for workflow automation and email notification configuration. Let's evaluate each option: A) Azure Logic Apps Designer - Azure Logic Apps is a service designed for building workflows and automations that can connect to various services, including sending emails to distribution lists. In Defender for Cloud, workflow automations are built using Logic Apps. - Why selected: To modify WF1, which is a workflow automation, you would use Azure Logic Apps Designer. This allows you to design and edit the workflow, including modifying the recipients of the email notifications. Logic Apps supports integration with email services and distribution groups, which is exactly what you need for this use case. B) Azure Application Insights - Azure Application Insights is a monitoring service that helps to detect and diagnose performance issues in applications. It provides insights into the performance of applications but is not used for modifying workflow automations or email notifications in Defender for Cloud. - Why rejected: Application Insights does not deal with workflow automation or email delivery in Defender for Cloud. It'... Author: Siddharth · Last updated May 18, 2026 |
DRAG DROP - You have an Azure subscription that contains a resource group named RG1 and an Azure policy named Policy1. You need to assign Policy1 to RG1. How should you complete the script? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not ...Author: SilverBear · Last updated May 18, 2026 |
HOTSPOT - 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 o...Author: Olivia · Last updated May 18, 2026 |
Your on-premises network contains a Hyper-V virtual machine named VM1. You need to use Azure Arc to onboard VM1 to Microsof...To onboard an on-premises Hyper-V virtual machine (VM1) to Microsoft Defender for Cloud using Azure Arc, you need to install the Azure Connected Machine agent. Here’s a breakdown of the options: A) Guest configuration agent This agent is typically used for managing and enforcing configuration policies on machines through Azure Policy and Azure Automation, rather than for connecting machines to Defender for Cloud. While it's useful for governance and compliance, it is not the right agent for onboarding to Microsoft Defender for Cloud. B) Azure Monitor agent The Azure Monitor agent (AMA) collects data for monitoring purposes, but it is primarily focused on collecting logs and performance data for Azure Monitor, not specifically for Defender for Cloud. It does not handle the connection of on-premises resources to Defender for Cloud via Azure Arc. C) Log Analytics agent The Log Analytics agent is used for gathering logs and performance data and sen... Author: Isabella1 · Last updated May 18, 2026 |
You have an Azure subscription named Sub1 that uses Microsoft Defender for Cloud. You have the management group hierarchy shown in the following exhibit. You create the definitions shown in the following table. You need to ...In this scenario, we are dealing with Microsoft Defender for Cloud and the need to apply a security policy. To determine which definitions can be used as security policies, it's important to understand the difference between Azure Policies and Azure Initiatives. Key Concepts: - Policy Definitions: These are individual security or governance rules. They specify a condition, such as requiring a specific security setting, and what action to take when the condition is violated. - Initiatives: These are collections of multiple policies grouped together for easier management. An initiative allows you to apply a set of related policies together to meet a specific security or compliance goal. Analysis of the options: A) Policy1 only This option is incorrect because while a single policy definition (Policy1) can be created and assigned, it doesn't meet the specific question of adding a security policy for Defender for Cloud. You can use a policy definition directly for specific use cases, but it's not as broad or organized as using an initiative, which is typically used in practice for applying security policies. B) Policy1 and Initiative1 only This option is incorrect because while Policy1 is a valid policy, initiatives (such as Initiative1) are more often used in Defender for Cloud scenarios where you need to group policies together. Initiative1 might contain multiple policies, and Defender for Cloud typically applies these grouped initiatives for comprehensive security management. C) Initiative1 and Initiative2 only This option is inco... Author: Deepak · Last updated May 18, 2026 |
You have an Azure subscription that contains a Microsoft Defender External Attack Surface Management (Defender EASM) resource named EASM1. EASM1 has discovery enabled and contains several inventory assets. You need to identify which inventory assets...To identify which inventory assets are vulnerable to the most critical web app security risks in Microsoft Defender External Attack Surface Management (Defender EASM), you should use the OWASP Top 10 dashboard. Breakdown of the options: A) Security Posture - The Security Posture dashboard provides a general overview of the security status of your external attack surface but does not specifically focus on web app vulnerabilities. It gives insights into the overall security health and compliance but does not drill down into specific application security risks like web app vulnerabilities, which is the focus of your requirement. B) OWASP Top 10 - OWASP Top 10 is the most appropriate dashboard to use in this scenario. The OWASP Top 10 is a list of the 10 most critical security risks to web applications, and this dashboard helps you identify vulnerabilities in your web applications based on these specific and widely recognized risks. - By using the OWASP Top 10 dashboard in Defender EASM, you can see which inventory assets are susceptible to these critical web app risks, such as injection flaws, broken authentication, and others. - This is the right tool for identifying c... Author: Henry · Last updated May 18, 2026 |
You have an Azure subscription that uses Microsoft Defender for Cloud. You need to use Defender for Cloud to review regulatory compliance with the Azure CIS 1.4.0 standard. T...To review regulatory compliance with the Azure CIS 1.4.0 standard using Microsoft Defender for Cloud with minimal administrative effort, the most appropriate option is to Assign an Azure policy. Breakdown of the options: A) Assign an Azure policy - Correct Answer: The Azure CIS 1.4.0 standard is a predefined set of security controls and recommendations in Microsoft Defender for Cloud. To review compliance with this standard, you can assign the Azure CIS policy directly, which will automatically assess your environment against this standard. - Why it's the best option: This is the simplest and most effective way to assess compliance with the CIS 1.4.0 standard because the policies for this standard are built-in and directly available in Defender for Cloud. By assigning the appropriate policy, you minimize administrative effort as Defender for Cloud will continuously evaluate your environment against the assigned standards and automatically generate compliance reports. B) Disable one of the Out of the box standards - Incorrect: Disabling an out-of-the-box standard is not a recommended action if you are trying to assess compliance with the CIS 1.4.0 standard. The CIS standards are predefined, and disabling other standards could reduce the effectiveness of the overall security posture assessments in your subscription. - Why it's not ideal: Disabling an out-of-the-b... Author: Charlotte · Last updated May 18, 2026 |
You have an Azure subscription that contains an Azure key vault named Vault1 and a virtual machine named VM1. VM1 is connected to a virtual network named VNet1. You need to allow access t...To allow access to Vault1 (Azure Key Vault) only from VM1, the correct approach is to use a private endpoint that is associated with VM1. Explanation of the options: A) From the Firewalls and virtual networks tab, add the IP address of VM1 - Incorrect: While this option allows you to specify IP addresses for access to the key vault, it is not the most secure or scalable approach. The IP address of VM1 could change, and relying on IP address whitelisting doesn't offer the flexibility or security that private endpoints provide. Furthermore, IP-based access doesn’t prevent access from other machines in the same subnet or VNet. - Why it's rejected: This method is less flexible and does not provide a secure and dynamic way to control access based on specific machines, like VM1. B) From the Private endpoint connections tab, create a private endpoint for VM1 - Correct Answer: The Private endpoint allows you to access Vault1 over a private IP address within your VNet1, ensuring that the traffic never traverses the public internet. When you create a private endpoint for Vault1, access will be restricted to resources in the same VNet (or peered VNets) that are specifically configured to use the private endpoint, in this case, VM1. This ensures Vault1 is only accessible from VM1 (and potentially other resources in the same network, but you can control this with proper network security settings). - Why it's the best option: Private endpoints ensure secure and isolated access to resources within the Azure network, offering both security and... Author: Kai99 · Last updated May 18, 2026 |
You have an Azure subscription. You create a new virtual network named VNet1. You plan to deploy an Azure web app named App1 that will use VNet1 and will be reachable by using private IP addresses....To determine the best approach for deploying an Azure web app that uses VNet1 and is reachable via private IP addresses, we need to assess the available options based on key factors such as VNet integration, inbound and outbound traffic support, and Azure services capabilities. Option A: Create an Azure App Service Hybrid Connection - Description: Hybrid Connections allow an Azure web app to connect to a resource in an on-premises network or a different Azure VNet. - Reason for rejection: While Hybrid Connections provide connectivity to on-premises resources, they do not support direct access to Azure VNets via private IPs for the web app. Moreover, it doesn't provide inbound and outbound traffic routing within the VNet itself. Hence, this option is not suitable for the scenario, as it doesn't fulfill the requirement of making the app reachable by private IP addresses on VNet1. - Scenario where it can be used: When you need to connect an Azure web app to on-premises resources. Option B: Create an Azure Application Gateway - Description: An Azure Application Gateway is a web traffic load balancer that can direct traffic to web apps. It operates at the application layer (Layer 7) and can be used to route requests to different backend pools based on URL paths or hostnames. - Reason for rejection: Although an Application Gateway can be used to manage inbound traffic to an app, it doesn't provide the necessary private IP integration directly for the app. It is more about load balancing, and while it can support VNet integration, it still doesn't make the app directly reachable by private IP addresses on VNet1, nor does it fully support outbound traffic from the app to the VNet. - Scenario where it can be used: When you need to distribute traffic across multiple instances or apps, and also perform URL-based routing or SSL termination. Option C: Create an App Service Environment (ASE) - Description: An App Service Environmen... Author: Deepak · Last updated May 18, 2026 |
You have an Azure subscription and the computers shown in the following table. You need to perform a vulnerability scan of the computers by usi...To determine which computers can be scanned by Microsoft Defender for Cloud, we need to analyze the types of resources that can be scanned based on their compatibility with Defender for Cloud's vulnerability scanning capabilities. Here’s a breakdown of each option: Option A: VM1 only - Description: VM1 is likely a virtual machine (VM) running on Azure. Microsoft Defender for Cloud can scan Azure VMs for vulnerabilities, as this service is designed to provide security assessments and recommendations for Azure VMs. - Reason for rejection: Scanning only VM1 would not allow for a comprehensive scan of all relevant resources (especially if other computers such as VM2 and Server1 are relevant for scanning). Therefore, this option is overly restrictive if other computers are also eligible for scanning. - Scenario where it can be used: If only VM1 needs to be scanned, this would be applicable. But in a more complex scenario with multiple resources, this option is limited. Option B: VM1 and VM2 only - Description: This option suggests that both VM1 and VM2 are virtual machines running in Azure, which can be scanned using Microsoft Defender for Cloud. - Reason for rejection: While this option might cover both VMs, it excludes Server1 and VMSS1_0, which could also be eligible for vulnerability scanning. Therefore, this option may leave out relevant computers. - Scenario where it can be used: If only Azure VMs are involved and Server1 or VMSS1_0 are not part of the scanning requirement, this option could work. Option C: Server1 and VMSS1_0 only - Description: Server1 might be an on-premises server, and VMSS1_0 could refer to a virtual machine scale set (VMSS) in Azure. Microsoft Defender for Cloud can scan both on-premises servers (if connected via the appropriate Defender for Cloud agent) and Azure VMSS. - Reason for rejection: While Server1 and VMSS1_0 can be scanned, VM1 and VM2 (which could also... Author: Nathan · Last updated May 18, 2026 |
You have an Azure subscription that uses Microsoft Defender for Cloud. The subscription contains the Azure Policy definitions shown in the following table. Which...To determine which Azure Policy definitions can be assigned as security policies in Microsoft Defender for Cloud, we need to understand the nature of Azure Policies and Initiatives in Defender for Cloud. Key concepts: - Azure Policies: These are individual rules that can be used to enforce specific configurations, such as requiring encryption or restricting resource types. These policies are used to ensure compliance and improve security. - Initiatives: An initiative is a collection of policies that are bundled together and assigned as a single unit. Initiatives allow for easier management of multiple policies that collectively address a set of security controls or compliance requirements. - Defender for Cloud Security Policies: In Defender for Cloud, security policies can be implemented using Azure Policy definitions or initiatives to enforce security-related configurations across the subscription. Now, let’s analyze the options provided: Option A: Policy1 and Policy2 only - Reason for rejection: While individual policies like Policy1 and Policy2 may be useful for specific security configurations, they are not typically what is directly assigned as a security policy in Defender for Cloud. In Defender for Cloud, security policies are often represented by initiatives (bundles of policies) rather than individual policies. - Scenario where it can be used: If the goal is to apply very specific policies, like enforcing encryption or requiring certain configurations, individual policies may be useful, but they might not be directly assigned as security policies in Defender for Cloud. Option B: Initiative1 and Initiative2 only - Reason for selection: Initiatives are the recommended way to assign security policies in Defender for Cloud. Initiatives bundle multiple policies into one unit, making it easier to assign and manage security controls comprehensively. Assigning Initiative1 and Initiative2 ensures that a set of related policies (as part of an initiative) are being enforced, which aligns with the typical usage of security policies in Defender for Cloud. - Scenario where it can be used: This is ideal when a broader set of security policies needs to be applied across the subscription. Initiatives are typically designed to enforce security best practices at a higher level, such as ensuring secure... Author: Scarlett · Last updated May 18, 2026 |
HOTSPOT - On Monday, you configure an email notification in Microsoft Defender for Cloud to notify [email protected] about alerts that have a severity level of Low, Medium, or High. On Tuesday, Microsoft Defender for Cloud generates the security alerts shown in the following table. How many email notifications will user1@...Author: Kai · Last updated May 18, 2026 |
You have an Azure subscription that uses Microsoft Defender for Cloud. You have accounts for the following cloud services: * Alibaba Cloud * Amazon Web Services (AWS...Microsoft Defender for Cloud provides multi-cloud security management across different cloud providers, including Amazon Web Services (AWS), Google Cloud Platform (GCP), and Alibaba Cloud. However, its support for various cloud providers can vary based on the integration capabilities and available services. Key points about Defender for Cloud integration: - AWS (Amazon Web Services): Microsoft Defender for Cloud provides native integration with AWS. You can add your AWS accounts to Defender for Cloud for continuous monitoring, vulnerability assessments, and compliance tracking. - Google Cloud Platform (GCP): Microsoft Defender for Cloud also supports integration with GCP. It allows for similar features as in AWS, such as vulnerability management and security posture assessments. - Alibaba Cloud: Microsoft Defender for Cloud supports integration with Alibaba Cloud as well, but the level of integration might be less comprehensive compared to AWS and GCP. It provides security monitoring and policy enforcement but with certain limitations in comparison to the other two providers. Now, let's analyze the options based on what can be added to Microsoft Defender for Cloud: Option A: AWS only - Reason for rejection: While AWS is supported by Defender for Cloud, this option is too limited as it excludes both GCP and Alibaba Cloud, which are also supported. - Scenario where it can be used: If you only need to integrate AWS and don't have resources in GCP or Alibaba Cloud, this option would work. But it's not the most comprehensive choice. Option B: Alibaba Cloud and AWS only - Reason for rejection: This option excludes GCP, which is also supported by Defender for Cloud. This makes the option incomplete if you need to manage all your cloud environ... Author: Oscar · Last updated May 18, 2026 |
You have an Azure subscription. You plan to map an online infrastructure and perform vulnerability scanning for the following: * ASNs * Hostn...To address the requirements of mapping online infrastructure and performing vulnerability scanning for ASNs, hostnames, IP addresses, and SSL certificates, we need to choose a solution that is specifically designed for mapping, scanning, and protecting external attack surfaces. Let's analyze each of the provided options in detail: A) Microsoft Defender for Cloud - Purpose: Microsoft Defender for Cloud provides security posture management, threat protection, and vulnerability management for resources within your Azure environment. It primarily focuses on cloud security for workloads and resources like virtual machines, containers, and databases within your Azure subscription. - Reason Rejected: While it offers vulnerability scanning for resources within your cloud infrastructure, it does not specialize in mapping external infrastructure or handling tasks such as scanning ASNs, hostnames, IP addresses, or SSL certificates across external assets. The focus is internal security rather than the external attack surface. B) Microsoft Defender External Attack Surface Management (Defender EASM) - Purpose: This service is designed specifically to map and monitor your organization's external attack surface. It scans and identifies internet-facing assets such as ASNs, hostnames, IP addresses, SSL certificates, and other publicly exposed resources. It helps discover external assets, understand your exposure, and perform vulnerability scanning to identify potential attack vectors. - Reason Selected: This option is ideal for your use case, as it directly addresses the need to map and scan external infrastructure (ASNs, hostnames, IP addresses, SSL certificates). It provides insights into vulnerabilities,... Author: Julian · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription that uses Microsoft Defender for Cloud. You plan to use the Secure Score Over Time workbook. You need to configure the Continuous export settings for the Defender for Cloud data. Which two settings should you configur...Author: Ava · Last updated May 18, 2026 |
You are troubleshooting a security issue for an Azure Storage account. You enable Azure Storage Analytics logs and archive it to a storage ac...When troubleshooting a security issue in an Azure Storage account and retrieving the diagnostics logs that are archived to another storage account, the goal is to retrieve and analyze the log data efficiently. Let's evaluate each option to understand which is most appropriate: A) Azure Cosmos DB explorer - Purpose: Azure Cosmos DB Explorer is a tool designed for querying and managing data within Azure Cosmos DB. It provides a way to interact with NoSQL data stored in Cosmos DB. - Reason Rejected: This option is not suitable because the diagnostic logs in question are stored in a regular Azure Storage account, not in Cosmos DB. Azure Cosmos DB Explorer is not designed to interact with or query Azure Storage logs. B) SQL query editor in Azure - Purpose: The SQL query editor in Azure is a tool used to execute SQL queries on databases such as Azure SQL Database or Azure Synapse Analytics. - Reason Rejected: While SQL query editors are useful for querying databases, Azure Storage Analytics logs are stored as log files (typically in JSON or CSV format) within a storage account, not in a relational database format. Therefore, SQL queries cannot be applied to these logs directly. C) AzCopy - Purpose: AzCopy is a command-line utili... Author: Zara1234 · Last updated May 18, 2026 |
You have an Azure subscription that uses Microsoft Defender for Cloud. You have an Amazon Web Services (AWS) account. You need to ensure that when you deploy a new AWS Elastic Compute Cloud (EC2) instance, the Mi...To ensure that the Microsoft Defender for Servers agent installs automatically on new AWS Elastic Compute Cloud (EC2) instances, we need to consider the appropriate method to deploy and manage agents on AWS resources. A) The classic cloud connector - Purpose: The classic cloud connector is an older integration option used to link on-premises environments to Azure services like Microsoft Defender for Identity and other cloud-based services. It is not specifically designed for integration with AWS. - Reason Rejected: The classic cloud connector is outdated and not meant for deploying agents or managing resources in AWS. It doesn't support the integration needed for AWS EC2 instances. B) The Azure Monitor agent - Purpose: The Azure Monitor agent is a newer agent used to collect monitoring data for Azure resources. It's designed for use in Azure virtual machines and other Azure resources. - Reason Rejected: While the Azure Monitor agent is useful for monitoring Azure-based resources, it is not the right tool for AWS EC2 instances. It doesn't have the necessary functionality to install or manage agents on AWS instances in the way Microsoft Defender for Servers requires. C) The Log Analytics agent - Purpose: The Log Analytics agent is used to collect data from a variety of resources, including Azure and on-premises servers. It is used for log... Author: Suresh · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription that contains a Microsoft Defender External Attack Surface Management (Defender EASM) resource named EASM1. EAMS1 contains the inventory assets shown in the following table. Which assets are scanned daily, and which assets will display in the default ...Author: Benjamin · Last updated May 18, 2026 |
You have an Azure subscription that uses Microsoft Defender for Cloud. You have an Amazon Web Services (AWS) account named AWS1 that is connected to Defender for Cloud. You need to ensure that AWS1 uses AWS Foundational Security Best P...To ensure that AWS1 follows AWS Foundational Security Best Practices in Microsoft Defender for Cloud, the best approach is to assign a built-in compliance standard. Here’s why: Analysis of Options: A) Assign a built-in compliance standard - Explanation: This option allows you to use pre-built compliance standards within Defender for Cloud, which already include industry best practices such as AWS Foundational Security Best Practices. By assigning a built-in standard, Defender for Cloud will automatically apply the necessary assessments to ensure AWS1 is compliant with the AWS Foundational Security Best Practices. - Why it's best: Using a built-in compliance standard is the most efficient and effective solution because it is pre-configured to monitor the specific practices you want to enforce (AWS Foundational Security Best Practices), minimizing administrative effort and ensuring quick alignment with standards. It also automates the process of compliance checking. - Scenario: This is best when the goal is to apply a predefined set of best practices or regulations (like AWS Foundational Security Best Practices) with minimal customization or manual intervention. B) Create a new custom standard - Explanation: This option involves creating your own custom compliance standard from scratch. You can specify which security practices and controls to monitor. - Why it's not ideal: This would require significant time and effort to manually configure the standards to match AWS Foundational Security Best Practices. Additionally, custom standards do not come pre-built with assessments that are tailored to AWS environments, making it unnecessarily complex. - Scenario: This option would be used if you h... Author: Ella · Last updated May 18, 2026 |
HOTSPOT - You plan to deploy a custom policy initiative for Microsoft Defender for Cloud. You need to identify all the resource groups that have a Delete lock. How should you complete the policy definition? To answer, se...Author: Deepak · Last updated May 18, 2026 |
You are troubleshooting a security issue for an Azure Storage account. You enable Azure Storage Analytics logs and archive it to a storage ac...To retrieve the diagnostic logs from an Azure Storage account that have been archived to another storage account, the most appropriate tool is Azure Monitor. Here's why: Analysis of Options: A) The Microsoft 365 Defender portal - Explanation: The Microsoft 365 Defender portal is designed to help monitor and respond to security threats within Microsoft 365 services (e.g., Exchange, SharePoint, and Teams). It is not specifically designed to retrieve diagnostic logs related to Azure Storage accounts. - Why it's not ideal: This tool focuses on security and threat protection within the Microsoft 365 suite and would not be able to pull diagnostic logs from Azure Storage accounts. - Scenario: Use this portal when dealing with security threats within the Microsoft 365 ecosystem. B) SQL query editor in Azure - Explanation: The SQL query editor in Azure is typically used for running SQL queries against Azure SQL databases or other SQL-based resources. It is not designed for retrieving diagnostic logs from Azure Storage accounts. - Why it's not ideal: SQL queries cannot be applied to Azure Storage Analytics logs directly. The query editor is intended for SQL-based data sources, not log analytics. - Scenario: This is best suited for querying and managing relational databases, not for storage diagnostic logs. C) Azure Monitor - Explanation: Azure Monitor is a service that provides full-stack monitoring for your Azure resources. It is the appropriate tool for accessing and analyzing diagnostic logs, including logs from Azure Storage accounts. Once you enable Azure Sto... Author: Ming88 · Last updated May 18, 2026 |
You have an Azure subscription that contains a Microsoft Defender External Attack Surface Management (Defender EASM) resource named EASM1. You review the Attack Surface Summary dashboard. You need to identify the following insights: * Deprecated technologies that...To identify the insights related to deprecated technologies and infrastructure that will soon expire in the context of the Defender External Attack Surface Management (Defender EASM) resource, the most appropriate section to review is Attack Surface Priorities. Here's why: Analysis of Options: A) Securing the Cloud - Explanation: The "Securing the Cloud" section typically focuses on strategies and recommendations for securing your cloud resources. It may include things like securing endpoints, access controls, or other cloud-related protections, but it's not specifically focused on tracking deprecated technologies or soon-to-expire infrastructure. - Why it's not ideal: This section is more about overall security best practices and doesn't specifically deal with identifying deprecated technologies or infrastructure expiration. - Scenario: Use this section when you are focused on securing cloud resources or assessing the overall security posture, but not for identifying deprecated technologies or infrastructure expiry. B) Sensitive Services - Explanation: The "Sensitive Services" section deals with services and resources that might be more vulnerable due to their sensitive nature (e.g., financial data, PII). This is more related to identifying and securing high-risk services rather than monitoring infrastructure that’s nearing expiration or deprecated technologies. - Why it's not ideal: While sensitive services are important, this section doesn't specifically address the needs of identifying deprecated technologies or infrastructure that will expire soon. - Scenario: Use this section when you want to focus on identifying and securing services that handle sensitive data, not infrastructure expiration or deprecated technologies. C) Attack Surface Priorities - Explanation: The "Attack Surface Priorities" secti... Author: Charlotte · Last updated May 18, 2026 |
You have an Azure subscription. You plan to deploy Microsoft Defender External Attack Surface Management (Defender EASM) to identify and monitor externally facing assets. Yo...After creating a new Defender EASM (External Attack Surface Management) instance named EASM1, the next step is to Add a discovery group. Here’s why: Analysis of Options: A) Create a custom attack surface - Explanation: A "custom attack surface" is typically a collection of specific assets and configurations tailored to an organization’s needs. However, Defender EASM doesn't begin by creating a custom attack surface; it starts by discovering your external assets first. Creating a custom attack surface comes later in the process after the assets have been discovered and categorized. - Why it's not ideal: This step comes after you’ve already started discovering and monitoring external assets. It’s not the immediate next step after setting up a new Defender EASM instance. - Scenario: Use this when you need to define a set of specific assets or configurations that are important to your attack surface, but not initially. B) Add a Log Analytics workspace - Explanation: A Log Analytics workspace is typically used for collecting, querying, and analyzing data. While Defender EASM does integrate with Log Analytics, the creation of the Defender EASM instance does not immediately require a Log Analytics workspace. EASM operates primarily by discovering and monitoring external-facing assets, which can then be monitored through various Defender components, including Log Analytics. However, this is not necessarily the next immediate step. - Why it's not ideal: Adding a Log Analytics workspace is generally part of a broader monitoring setup, and although it’s useful, it’s not the primary next step when setting up Defender EASM. - Scenario: This step is useful when setting up monitoring or querying logs, but Defender EASM works independently from Log Analytics initially to discover assets. C) Add a discovery group - Explanation: A disco... Author: Ella · Last updated May 18, 2026 |
You have an Azure subscription that contains an Azure Key Vault Standard key vault named Vault1. Vault1 hosts a 2048-bit RSA key named key1. You need to en...In this scenario, you need to ensure that the RSA key (`key1`) in the Azure Key Vault is automatically rotated every 90 days. Let's break down the available options: Option A: Create a key rotation policy - Reasoning: Azure Key Vault offers a key rotation feature that can be automated using key rotation policies. You can create a key rotation policy that specifies the frequency of rotation for the key. Since the requirement is to rotate the key every 90 days, this would be the correct and most efficient method to automate the rotation process. - Why Selected: This is the recommended solution as it directly addresses the need for automatic key rotation. Once the policy is created, Azure will take care of the rest, including the scheduling and execution of key rotations. Option B: Modify the Access policies settings of Vault1 - Reasoning: Access policies in Azure Key Vault are used to define who has access to the vault and the specific permissions they have (e.g., to list, get, or manage keys). While access policies control who can perform operations on the keys, they do not address the automatic rotation of keys. - Why Rejected: This option does not meet the requirement to rotate keys every 90 days. Modifying access policies would be useful if you needed to grant or restrict permissions to certain users or applications, but it doesn’t handle key rotation. Option C: Upgrade Vault1 to Key Vault Premium - Reasoning... Author: Noah Williams · Last updated May 18, 2026 |
You have an Azure subscription named Sub1 that has Security defaults disabled. The subscription contains the following users: * Five users that have owner permissions for Sub1. * Ten users that have owner permissions for Azure resources. None of the users have multi-factor authentication (MFA) enabled. Sub1 has the secure score as shown in the Secure Score exhibit. (Click the Secure Score tab.) You plan to enable MFA for the following users: * ...In this scenario, you are planning to enable Multi-Factor Authentication (MFA) for a set of users in Azure, and you want to know how this action will affect the Secure Score. Let's break down the factors that affect the Secure Score when MFA is enabled for users. Key factors for MFA and Secure Score: - MFA Impact: Enabling Multi-Factor Authentication (MFA) for users is a significant security measure that directly affects the Azure Secure Score. When MFA is enabled for users, the system recognizes this as a higher security posture and increases the Secure Score accordingly. - Secure Score for Owners: Azure assigns different point values for securing users based on their roles and their risk level. Users with "owner" permissions typically have higher responsibilities and thus higher impact on the score when MFA is enabled. Breakdown of the scenario: - Users to enable MFA: - 5 users who have owner permissions for Sub1 (administrative role at the subscription level). - 5 users who have owner permissions for Azure resources (administrative role at the resource level). - Secure Score increase per user: Typically, enabling MFA for a user will result in an increase in the Secure Score. The points ... Author: Julian · Last updated May 18, 2026 |
DRAG DROP - You have two Azure subscriptions named Sub1 and Sub2. Sub1 contains a resource group named RG1 and an Azure policy named Policy1. You need to remediate the non-compliant resources in Sub1 based on Policy1. How should you complete the PowerShell script? To answer, drag the appropriate values to the correct targets. Each value may be used once, ...Author: Leo · Last updated May 18, 2026 |
You have an Azure subscription that uses Microsoft Defender for Cloud. You need to add a custom security recommendation to Defender for Cloud. The recommendation must be assign...To add a custom security recommendation to Microsoft Defender for Cloud and assign it a custom severity rating within your Azure subscription, the most appropriate choice would be to create a policy definition. Let’s break down why this is the best option, and why the others are rejected: Option A: An exemption - Reasoning: An exemption in Microsoft Defender for Cloud is used to exclude specific resources or subscriptions from compliance with a policy or recommendation. This is typically applied when you want to temporarily or permanently exclude certain resources from being assessed against a specific policy. - Why Rejected: An exemption does not allow you to create custom recommendations with specific severity ratings. It is used for excluding items from the policy or recommendation evaluation, not for adding or customizing recommendations. Option B: An initiative definition - Reasoning: An initiative definition in Azure is a collection of Azure policies that are grouped together for easier management. Initiatives can be assigned to a subscription, resource group, or management group, but they are usually aimed at grouping multiple policies together for easier tracking and enforcement. - Why Rejected: While an initiative can group multiple policies, it doesn't directly allow you to create a custom security recommendation or modify severity ratings of individual recommendations. It’s about grouping policies, not creating a specific recommendation or customizing its severity. Option C: A policy definition - Reasoning: A policy d... Author: Kai99 · Last updated May 18, 2026 |
HOTSPOT - You have an Azure key vault. You need to delegate administrative access to the key vault to meet the following requirements: * Provide a user named User1 with the ability to set access policies for the key vault. * Provide a user named User2 with the ability to add and delete certificates in the key vault. * Use the principle of least privilege. Wh...Author: Layla · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription named Sub1 that contains two resource groups named RGnet and NET. You have the Azure Policy definition shown in the following exhibit. You assign the policy definition to Sub1 and NET. You plan to deploy the resources shown in the following table. For each ...Author: VenomousSerpent42 · Last updated May 18, 2026 |
Your company has an Azure subscription named Sub1. You plan to create several security alerts by using Azure Monitor. You need to p...To prepare Azure subscription Sub1 for security alerts using Azure Monitor, the first step is to create the appropriate resource that will be used to store, analyze, and manage log data, which is necessary for creating security alerts. Let's evaluate each option: Option A: An Azure Automation account - Reasoning: Azure Automation is used to automate repetitive tasks, such as runbooks, scheduled jobs, and more. While Azure Automation can trigger responses based on alerts, it does not provide a place to store or analyze log data from which security alerts can be created. - Why Rejected: Azure Automation does not serve as the primary repository for log data and monitoring insights. Security alerts are based on data that’s collected from various sources, and you need a system like Log Analytics to store and query this data before automation comes into play. Option B: An Azure event hub - Reasoning: Azure Event Hubs is a data streaming service used to collect and transmit large amounts of data from various sources in real-time. While Event Hubs can collect data and stream it to different destinations, it’s not directly tied to creating or managing security alerts in Azure Monitor. - Why Rejected: Event Hubs are typically used for ingesting streaming data into Azure for further processing or forwarding to other services. However, security alerts are not created directly through Event Hubs, and data from Event Hubs would need to be processed and stored elsewhere to trigger alerts. Option C: An Azure Log Analytics workspace - Reasoning: Azure Log Analyti... Author: Emily · Last updated May 18, 2026 |
You have an Azure subscription that contains the Azure App Service web apps shown in the following table. You upload a private key cert...To determine which Azure App Service web apps can use the uploaded Cert1.pfx private key certificate, we need to understand the certificate handling and its scope within Azure App Service. When you upload a certificate to Azure App Service (like Cert1.pfx), it is generally associated with a specific web app unless explicitly shared across apps. Here’s the breakdown of the options and the reasoning behind the selection: Key Factors: - App1 (the app where the certificate is uploaded): The certificate will be uploaded directly to App1, and by default, App1 can use this certificate. - Sharing certificates across web apps: Azure App Service does not automatically share certificates across multiple apps. A certificate uploaded to one app will not be accessible to other apps unless you explicitly configure it for use across apps, such as by importing it into other apps or using a shared Key Vault. Breakdown of the Options: Option A: App1 only - Reasoning: Since you uploaded Cert1.pfx to App1, by default, only App1 can use the certificate unless it's explicitly shared with other apps. - Why Selected: This is the most straightforward option. The certificate is uploaded to App1, and unless explicitly shared, only App1 will have access to it. Option B: App1 and App2 only - Reasoning: For App2 to use the certificate, you would need to explicitly upload the same certificate to App2 or share it via an Azure Key Vault or other means. Azure App Service doesn’t automatically make the certificate available to App2 after it is uploaded to App1. - Why Rejected: Without... Author: Elijah · Last updated May 18, 2026 |
You have an Azure subscription that contains an Azure SQL database named SQL1 and an Azure key vault named KeyVault1. KeyVault1 stores the keys shown in the following table. You need to configure Transparent D...Transparent Data Encryption (TDE) in Azure SQL Database can be configured to use a customer-managed key (CMK). This key is typically stored in an Azure Key Vault and used to protect the encryption keys for the database. Key Factors for Using Customer-Managed Key with TDE: 1. Key Type: The key used for TDE must be an Azure Key Vault key that is either an RSA key or an Elliptic Curve (EC) key. The key must be an asymmetric key. 2. Key Permissions: The key must have the proper permissions assigned to the Azure SQL database, allowing it to be used for encryption and decryption. Key Vault Key Types: - RSA Key: An RSA key is used with TDE for encryption and decryption. It is suitable for use in this scenario. - EC Key: An EC key (Elliptic Curve key) can also be used for encryption, but it must be compatible with the encryption algorithms required by TDE. Let's analyze the options based on the key types: Option A: Key2 only - Reasoning: For Key2 to be used for TDE, it needs to be an RSA key or an EC key. If Key2 is an EC or RSA key, this could be a valid option. - Why Rejected: If Key2 is a symmetric key, it cannot be used for TDE. Therefore, this option would only be valid if Key2 is asymmetric. Option B: Key1 only - Reasoning: If Key1 is an RSA key or an EC key, it could potentially be used for TDE. However, the exact type of Key1 is not stated in this scenario, and we need more context to verify it. - Why Rejected: If Ke... Author: Chloe · Last updated May 18, 2026 |
SIMULATION - You plan to use Azure Disk Encryption for several virtual machine disks. You need to ensure that Azure Disk Encryption can retrieve secrets from the KeyVault12345678 Azure key vault...To configure Azure Disk Encryption (ADE) to retrieve secrets from the KeyVault12345678 Azure Key Vault, the key requirement is to ensure that Azure Disk Encryption can access the key vault and use the encryption keys stored in it. This typically involves configuring access policies and ensuring proper permissions are set for the key vault. Here's a breakdown of the tasks and reasoning: Key Considerations: 1. Azure Disk Encryption (ADE): ADE uses Azure Key Vault to store the encryption keys, and it requires the necessary permissions to retrieve those keys. ADE relies on Azure Key Vault’s access policies to control who can access the keys for encryption and decryption. 2. Permissions Needed: To allow ADE to retrieve secrets from the key vault, the following actions are needed: - Set access policies in the key vault to allow the Azure Disk Encryption service to access the keys. - You will need to ensure that the identity performing the operation has the necessary permissions to configure the Key Vault settings and access policies. Possible Options: Without seeing specific options in the question, the general approach to accomplish this task involves: - Granting the correct permissions in the Key Vault. ... Author: Amelia · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription that contains a web app named App1 and an Azure key vault named Vault1. You need to configure App1 to store and access the secrets in Vault1. How should you configure App1? To answer, select th...Author: Ethan · Last updated May 18, 2026 |
HOTSPOT - You have an Azure key vault named KeyVault1 that contains the items shown in the following table. In KeyVault1, the following events occur in sequence: * Item1 is deleted. * Item2 and Policy1 are deleted. For each of the following statements, sele...Author: GlowingTiger · Last updated May 18, 2026 |
You have an Azure SQL Database server named SQL1. For SQL1, you turn on Azure Defender for SQL to detect all threat detection types. W...Azure Defender for SQL is a feature of Microsoft Defender for Cloud that provides advanced threat protection for Azure SQL Database. It helps detect potential security threats based on unusual activity or known attack patterns. Let’s analyze each option and explain how Azure Defender for SQL would respond to it: Option A: A user updates more than 50 percent of the records in a table - Reasoning: This scenario represents a potential threat, especially if such behavior is unusual for the user or the application. However, Azure Defender for SQL typically detects suspicious activity such as SQL injection, unusual login activity, or data exfiltration, rather than a general pattern of updates to a table, unless it's part of a broader, more suspicious behavior pattern (e.g., rapid data modifications). - Why Rejected: While this could be a sign of an anomaly, it is not a common threat detection by default. Azure Defender focuses more on specific attack patterns like unauthorized access, not the number of updates by itself. Option B: A user attempts to sign in as SELECT FROM table1 - Reasoning: This action represents a SQL injection attempt, which is a common and highly dangerous attack on SQL-based databases. SQL injection is one of the specific threats that Azure Defender for SQL is designed to detect, as it tries to manipulate the database through crafted SQL queries. - Why Selected: SQL injection attempts are a core threat detection feature for Azure Defender for SQL. If a user is attempting to execute SQL injection-style queries (like `SELECT FROM table1`), this would trigger a threat alert for SQL injection or unauthorized access attempts. Option C: A user is added to the db_owner databa... Author: Evelyn · Last updated May 18, 2026 |
HOTSPOT - You have the Azure Information Protection labels as shown in the following table. You have the Azure Information Protection policies as shown in the following table. You need to identify how Azure Information Protection will label files. What should you identify? ...Author: Amira99 · Last updated May 18, 2026 |
Your company uses Azure DevOps. You need to recommend a method to validate whether the code meets the company's quality standards and code review st...In Azure DevOps, to validate whether the code meets your company's quality and code review standards, branch policies would be the best recommendation. Let’s analyze why this is the most appropriate choice and why the others are not suitable. Key Factors: - Code Quality and Review Standards: To ensure that code adheres to company quality and review standards, you typically want to implement checks before code is merged into the main branch. This includes ensuring that tests pass, that the code follows best practices, and that appropriate code reviews have been conducted. Option A: Branch Folders - Reasoning: Branch folders in Azure DevOps are primarily a way to organize branches in your repository. They don't enforce code quality or review standards directly. - Why Rejected: While useful for organizing branches, branch folders do not help validate whether code meets the required quality or review standards. They are organizational tools rather than enforcement tools. Option B: Branch Permissions - Reasoning: Branch permissions control who can perform certain actions on branches, such as pushing code or deleting branches. While this can help secure your repository, it does not directly validate code quality or ensure that code review standards are met. - Why Rejected: Branch permissions are about controlling access rather than enforcing quality checks or ensuring code reviews. Permissions are more about governance and restricting access, but they don't provide the checks needed for quality validation. Option C: Branch Policies - Reaso... Author: Rohan · Last updated May 18, 2026 |
Your company uses Azure DevOps. You need to recommend a method to validate whether the code meets the company's quality standards and code review st...To validate whether the code meets the company's quality standards and code review standards in Azure DevOps, you should consider implementing Branch Policies. Here's a detailed explanation of why this is the most suitable option, along with an analysis of why the other options are not ideal: Selected Option: Branch Policies Why choose Branch Policies? - Code quality enforcement: Branch policies in Azure DevOps allow you to enforce various checks before code is merged into critical branches (such as `main` or `master`). This includes enforcing build validation, code reviews, linting, and unit tests. You can configure policies to ensure that every commit meets the code quality standards. - Code review requirements: You can set mandatory pull request (PR) approvals, specifying a required number of reviewers before the code is merged. This ensures that code is reviewed and meets the team's standards. - Continuous integration (CI) triggers: You can configure policies to run CI builds automatically when changes are made. These builds can check for build success and unit test results, ensuring that new code doesn’t break the existing functionality. - Custom policies: You can implement custom policies for additional quality checks like enforcing specific coding standards, checking for certain patterns, or running security scans before merging. Why Reject Other Options? A) Branch Folders - What are branch folders? In Azure DevOps, branch folders organize branches in the repository. - Why rejected: Branch folders are simply a way of organizing branches for convenience. They don't offer any built-in functionality to enforce code quality standards or validate cod... Author: Mia · Last updated May 18, 2026 |
You have an Azure web app named WebApp1. You upload a certificate to WebApp1. You need to make the certificate accessi...To make the certificate accessible to the app code of WebApp1, the correct option is to Add an app setting to the WebApp1 configuration. Here's the reasoning behind the selection and a detailed analysis of why the other options are not ideal. Selected Option: B) Add an app setting to the WebApp1 configuration Why choose this option? - App Settings and Certificates: When you upload a certificate to Azure Web App, the certificate is stored in the App Service Certificate Store, but it's not automatically accessible to the app code by default. To make it available to the app code, you need to reference it via App Settings. In Azure App Services, you can configure an App Setting that holds the certificate's thumbprint or the name of the certificate. You can then programmatically retrieve the certificate within your app using Azure SDKs (like Azure Key Vault or through code) and use it within your app’s code. This is the standard method to make the certificate available to the app's code securely. - Accessing Certificates: Once the app setting is configured, the certificate can be accessed via the configuration and retrieved by the app at runtime. This is commonly used for accessing certificates for things like authentication, encryption, or secure communication purposes. Why Reject Other Options? A) Add a user-assigned managed identity to WebApp1 - What is a user-assigned managed identity? A user-assigned managed identity is an identity that is created as a standalone Azure resource and can be assigned to one or more Azure services, allowing those services to authenticate securely to other resources (e.g., Azure Key Vault). - Why rejected: While this identity is helpful for authenticating and authorizing the WebApp to access Azure resources (like Key Vault), it does not directly make the certificate accessible to the app code. The managed identity can be used in conjunction with Azure Key Vault to securely retrie... Author: Mia · Last updated May 18, 2026 |
HOTSPOT - You have the Azure key vaults shown in the following table. KV1 stores a secret named Secret1 and a key for a managed storage account named Key1. You back up Secret1 and Key1. To which key vaults can you restore each backup? To answer, se...Author: Ravi Patel · Last updated May 18, 2026 |
HOTSPOT - You have an Azure subscription that contains an Azure key vault named Vault1. On January 1, 2019, Vault1 stores the following secrets. All dates are in mm/dd/yy format. When can each secret be used by an application? To answer, sele...Author: Amelia · Last updated May 18, 2026 |