View Full Microsoft AZ-500 Exam Dumps and Practice Test Dumps.
Question 241
Which Azure feature can help protect a virtual machine by allowing administrative ports to be opened only for a limited period when access is required?
- Azure Policy
- Microsoft Sentinel
- Just-in-time VM access
- Azure Resource Graph
Correct Answer: 3
Explanation
Just-in-time VM access in Microsoft Defender for Cloud helps reduce exposure to attacks against management ports such as RDP and SSH. Instead of leaving these ports continuously accessible, administrators can request temporary access for a specified duration. Defender for Cloud can then modify the applicable network security controls to permit the connection during the approved period. After the period expires, the access is removed. This approach reduces the attack surface of virtual machines while still allowing administrators to perform legitimate maintenance and troubleshooting when necessary.
Question 242
A security administrator needs to create a custom Azure role that permits users to read resources but prevents them from deleting or modifying those resources. Which Azure capability should be used?
- Azure RBAC custom role
- Resource lock
- Azure Policy
- Conditional Access
Correct Answer: 1
Explanation
Azure RBAC custom roles allow administrators to define a specific set of permitted management-plane actions. A custom role can include read operations while excluding write and delete permissions, allowing organizations to implement a precise least-privilege model. Resource locks protect resources from deletion or modification but do not define user permissions. Azure Policy governs resource configurations, while Conditional Access controls authentication and access conditions for identities. When an organization needs a tailored permission set for a particular job function, an Azure RBAC custom role is the appropriate mechanism.
Question 243
Which Microsoft Entra capability can require users to authenticate with stronger methods, such as phishing-resistant authentication, for sensitive applications?
- Access reviews
- Authentication strengths
- Entitlement management
- Identity Protection
Correct Answer: 2
Explanation
Microsoft Entra authentication strengths allow organizations to define which authentication methods or combinations are acceptable for specific access scenarios. Conditional Access policies can require an authentication strength when users access sensitive applications or resources. This provides more control than simply requiring generic multifactor authentication. Access reviews evaluate whether access should continue, entitlement management governs resource access packages, and Identity Protection identifies identity risks. Authentication strengths are therefore useful when an organization needs to require stronger authentication methods for higher-risk or more sensitive applications.
Question 244
An Azure administrator wants to prevent a resource from being deleted accidentally while still allowing authorized administrators to modify its configuration. Which resource lock should be applied?
- ReadOnly
- CanNotDelete
- Deny
- Audit
Correct Answer: 2
Explanation
A CanNotDelete resource lock prevents deletion while allowing authorized users to continue making changes to the resource configuration. This makes it useful for protecting important production resources against accidental removal without completely preventing administrative updates. A ReadOnly lock prevents both modification and deletion through the management plane. Deny is an Azure Policy effect rather than a resource lock type, while Audit reports policy compliance without blocking actions. Therefore, CanNotDelete is appropriate when deletion must be prevented but normal administrative modifications should remain possible.
Question 245
Which Azure Storage security setting should be disabled when an organization wants to prevent anonymous users from accessing blob data?
- Public network access
- Secure transfer
- Anonymous public blob access
- Storage encryption
Correct Answer: 3
Explanation
Anonymous public blob access allows clients to access certain blob data without authentication when the storage account and container configuration permit it. Disabling this capability helps ensure that blob data requires appropriate authorization rather than being publicly accessible. Secure transfer protects data while moving between clients and Azure Storage, encryption protects stored data, and public network access controls network reachability rather than specifically determining whether anonymous blob access is permitted. Therefore, disabling anonymous public blob access is the direct control for preventing unauthenticated access to blob data.
Question 246
A security team needs to ensure that Azure resources are deployed only in approved geographic regions and that noncompliant deployments are blocked. Which Azure Policy configuration should be used?
- Audit effect with all locations
- Modify effect with unrestricted locations
- Append effect with approved tags
- Deny effect with an approved locations list
Correct Answer: 4
Explanation
An Azure Policy using the Deny effect can prevent resource deployments when their location does not match the organization’s approved list. The policy evaluates the requested resource configuration and rejects deployments that violate the defined geographic restriction. Audit would identify noncompliant resources after deployment rather than preventing them. Modify can alter supported resource properties but is not the direct control for blocking unauthorized regions. Append adds fields where applicable. A Deny policy with an approved locations list therefore provides preventive geographic governance.
Question 247
Which Azure security service provides recommendations that can help organizations improve their cloud security posture based on identified configuration weaknesses?
- Microsoft Defender for Cloud
- Azure Bastion
- Azure DNS
- Azure VPN Gateway
Correct Answer: 1
Explanation
Microsoft Defender for Cloud continuously evaluates supported Azure resources and workloads and provides security recommendations that can help administrators address configuration weaknesses and other security issues. These recommendations contribute to improving the organization’s overall security posture and can help prioritize remediation activities. Azure Bastion provides secure administrative connectivity to virtual machines, Azure DNS provides name resolution, and VPN Gateway establishes encrypted network connections. Defender for Cloud is therefore the appropriate service when the objective is to receive actionable recommendations for improving cloud security configurations.
Question 248
Which Azure networking control can restrict inbound traffic to a subnet or network interface based on source, destination, port, and protocol?
- Azure Private Link
- Network Security Group
- Azure Key Vault
- Microsoft Sentinel
Correct Answer: 2
Explanation
A Network Security Group provides rules that can allow or deny inbound and outbound network traffic based on factors such as source, destination, protocol, and port. NSGs can be associated with supported network interfaces and subnets, allowing administrators to control network communication between application components. Azure Private Link provides private connectivity to supported services, Key Vault manages cryptographic material and secrets, and Microsoft Sentinel provides security monitoring and response. An NSG is therefore the appropriate network security control for filtering traffic according to defined network rules.
Question 249
A company wants to detect unusual activity against Azure Key Vault resources and receive security alerts when suspicious behavior is identified. Which Microsoft Defender plan is designed for this workload?
- Defender for Storage
- Defender for Servers
- Defender for Key Vault
- Defender for Containers
Correct Answer: 3
Explanation
Microsoft Defender for Key Vault provides security monitoring and threat detection capabilities for Azure Key Vault resources. It can help identify suspicious or potentially malicious activity involving key vault operations and generate relevant security alerts. Defender for Storage focuses on storage workloads, Defender for Servers protects supported server environments, and Defender for Containers addresses container-related workloads. When the protected workload is specifically Azure Key Vault and the organization wants workload-focused threat detection, Defender for Key Vault is the appropriate Defender plan.
Question 250
Which Microsoft Entra feature allows administrators to periodically verify whether users should retain access to applications, groups, or other resources?
- Authentication strengths
- Access reviews
- Conditional Access
- Privileged Identity Management
Correct Answer: 2
Explanation
Microsoft Entra access reviews provide a structured process for periodically reviewing whether users, groups, or other identities should continue to have access to selected resources. Reviewers can confirm or remove access based on current business requirements, helping organizations reduce unnecessary permissions over time. Authentication strengths define acceptable authentication methods, Conditional Access evaluates conditions before granting access, and Privileged Identity Management focuses on privileged role activation and management. Access reviews are therefore appropriate when the primary requirement is periodic verification of whether existing access remains justified.
Question 251
A security engineer needs to identify whether a virtual machine’s network security rules are allowing unexpected traffic between two endpoints. Which Network Watcher capability can help test the effective network path?
- Connection troubleshoot
- Azure Policy
- Access reviews
- Key Vault diagnostics
Correct Answer: 1
Explanation
Network Watcher Connection troubleshoot can help determine connectivity between endpoints and identify issues affecting communication. It can provide information about the path and connectivity state, helping administrators investigate whether routing, network security controls, or other configuration issues are affecting traffic. Azure Policy governs resource configurations, access reviews evaluate identity permissions, and Key Vault diagnostics are unrelated to network path testing. Connection troubleshoot is therefore a useful capability when a security engineer needs to investigate whether a virtual machine can establish the expected network connection.
Question 252
Which Microsoft Defender for Cloud capability can help prioritize security issues by showing relationships between vulnerable resources and potential attack paths?
- Secure transfer
- Attack path analysis
- Resource locks
- Authentication strengths
Correct Answer: 2
Explanation
Attack path analysis in Microsoft Defender for Cloud helps security teams understand how combinations of weaknesses could potentially be used to reach sensitive resources. Instead of considering every security recommendation in isolation, attack paths provide contextual information about relationships between resources, exposures, and possible routes toward high-value targets. Secure transfer protects data in transit, resource locks prevent certain management operations, and authentication strengths control acceptable authentication methods. Attack path analysis is therefore useful when security teams need additional context for prioritizing interconnected risks.
Question 253
An organization wants Azure Policy to automatically add a required tag to resources when the tag is missing, where the property is supported for modification. Which policy effect should be considered?
- Audit
- Deny
- Modify
- Disabled
Correct Answer: 3
Explanation
The Modify effect can add or update supported resource properties when resources are created or updated. It is commonly used for governance requirements such as ensuring that required tags are present on resources. Audit only identifies noncompliant configurations without changing them, while Deny blocks requests that violate the policy. A disabled policy does not enforce any requirement. Therefore, Modify is appropriate when the objective is to automatically apply a required property, such as a governance tag, rather than merely report or reject noncompliant resources.
Question 254
Which Azure service provides centralized protection against distributed denial-of-service attacks targeting Azure resources and public endpoints?
- Azure DDoS Protection
- Azure Key Vault
- Azure Resource Graph
- Azure Policy
Correct Answer: 1
Explanation
Azure DDoS Protection is designed to help protect Azure resources from distributed denial-of-service attacks. It provides dedicated DDoS mitigation capabilities and can help organizations protect public-facing applications and network resources against volumetric and protocol-level attacks. Azure Key Vault protects secrets and cryptographic material, Resource Graph supports resource inventory and querying, and Azure Policy enforces governance requirements. DDoS Protection is therefore the service specifically intended to mitigate DDoS attacks and reduce their potential impact on supported Azure workloads.
Question 255
A company needs to send Azure resource diagnostic logs to a Log Analytics workspace for centralized security monitoring. Which Azure configuration should be used?
- Resource lock
- Diagnostic settings
- Private DNS zone
- Management group
Correct Answer: 2
Explanation
Azure diagnostic settings allow administrators to route supported resource logs and metrics to destinations such as Log Analytics workspaces, Azure Storage accounts, or event hubs. Sending logs to Log Analytics enables centralized querying, investigation, alerting, and correlation with other security information. Resource locks protect resources against certain management operations, private DNS zones provide name resolution for private resources, and management groups organize subscriptions. Diagnostic settings are therefore the appropriate configuration when the goal is to collect resource-level telemetry in a centralized security monitoring environment.
Question 256
Which Microsoft Sentinel feature provides visual dashboards that help analysts examine security trends, incidents, and collected data?
- Workbooks
- Playbooks
- Data connectors
- Resource locks
Correct Answer: 1
Explanation
Microsoft Sentinel workbooks provide interactive dashboards and visualizations that help security teams analyze collected data, incidents, trends, and operational information. They can present information in charts, tables, and other visual formats, making complex security telemetry easier to understand. Data connectors are used to ingest data from supported sources, while playbooks automate response workflows. Resource locks are unrelated to Sentinel visualization. Therefore, workbooks are the appropriate Sentinel component when analysts need dashboards for examining security information and identifying patterns.
Question 257
Which Azure Storage security mechanism is most appropriate when a client application requires time-limited access to specific blob operations without receiving the storage account key?
- Shared Access Signature
- Resource lock
- Azure Policy
- Private DNS zone
Correct Answer: 1
Explanation
A Shared Access Signature can delegate limited access to Azure Storage without exposing the storage account’s primary or secondary access keys. Administrators or applications can define permissions, resources, and expiration conditions appropriate to the required operation. This supports the principle of least privilege by restricting access to what is necessary for a specific period. Resource locks protect resource management operations, Azure Policy enforces governance, and private DNS provides name resolution. SAS is therefore the appropriate mechanism for controlled, temporary access to specific storage operations.
Question 258
A security administrator wants to require users to reauthenticate or satisfy additional controls when accessing sensitive applications after a specified period. Which Conditional Access category can help manage this behavior?
- Named locations
- Session controls
- Access reviews
- Resource locks
Correct Answer: 2
Explanation
Conditional Access session controls can influence how user sessions behave after authentication. Depending on the scenario and supported configuration, session controls can help enforce requirements such as sign-in frequency or application session restrictions. Named locations define geographic or network-based conditions, access reviews evaluate whether users should retain access, and resource locks protect Azure resources from certain management actions. Session controls are therefore the relevant Conditional Access category when the organization needs to manage session behavior and require users to satisfy authentication requirements again under defined conditions.
Question 259
Which Microsoft Entra capability helps manage temporary membership in privileged groups while reducing the need for permanent administrative access?
- Microsoft Sentinel
- Azure Policy
- Privileged Identity Management
- Azure Monitor
Correct Answer: 3
Explanation
Microsoft Entra Privileged Identity Management can manage eligible access to privileged roles and groups, allowing users to activate elevated permissions only when needed. This reduces the amount of time that highly privileged access remains active and supports a least-privilege security model. Microsoft Sentinel provides security monitoring, Azure Policy manages resource governance, and Azure Monitor collects monitoring data. PIM is therefore the appropriate capability when administrators need temporary privileged group membership or role access instead of maintaining permanent elevated permissions.
Question 260
An organization wants to prevent a storage account from accepting unencrypted HTTP connections and require secure communication from clients. Which storage security setting should be enabled?
- Public blob access
- Secure transfer required
- Anonymous access
- Cross-tenant replication
Correct Answer: 2
Explanation
The Secure transfer required setting ensures that supported requests to Azure Storage use secure transport such as HTTPS rather than unencrypted HTTP. This helps protect credentials, data, and other information while it travels between clients and the storage service. Public blob access and anonymous access relate to authorization and exposure rather than transport encryption. Cross-tenant replication addresses data replication scenarios and does not enforce encrypted client communication. Enabling secure transfer required is therefore the appropriate control when an organization wants to prevent insecure HTTP connections to a storage account.