60 Practice Questions & Answers
You need to implement a solution that allows Azure resources to authenticate to each other without storing credentials in code. Which Azure service should you use?
-
A
Connection strings with shared keys
-
B
Service Principal certificates stored in application settings
-
C
Azure Key Vault only
-
D
Managed Identities
✓ Correct
Explanation
Managed Identities provide automatic authentication between Azure resources without requiring credential management in code. This is the recommended approach for service-to-service authentication in Azure.
Your organization requires that all data at rest in Azure Storage be encrypted using customer-managed keys. Which encryption method should you implement?
-
A
Client-side encryption using the Azure Storage SDK
-
B
Transparent data encryption (TDE) on the storage account
-
C
Server-side encryption with Microsoft-managed keys
-
D
Server-side encryption with customer-managed keys (CMK) stored in Azure Key Vault
✓ Correct
Explanation
Customer-managed keys stored in Azure Key Vault provide the highest level of control over encryption. Server-side encryption with CMK allows organizations to manage their own encryption keys while Azure handles the encryption/decryption process.
You are configuring Azure Policy to enforce that all virtual machines must have the endpoint protection extension installed. What type of policy effect should you use?
-
A
DeployIfNotExists
✓ Correct
-
B
Append
-
C
Audit
-
D
Deny
Explanation
The DeployIfNotExists effect will automatically deploy the missing extension if it doesn't exist, ensuring compliance. Audit would only report non-compliance, Deny would prevent VM creation, and Append would add tags but not deploy extensions.
Your company needs to ensure that Azure SQL Database backups are retained for 35 days for compliance purposes. Where should you configure this retention policy?
-
A
Recovery Services vault with long-term retention settings
-
B
Azure Backup vault
-
C
Azure Storage lifecycle management policies
-
D
SQL Database backup retention settings in the Azure portal
✓ Correct
Explanation
Azure SQL Database has built-in backup retention policies that can be configured directly on the database to meet specific retention requirements. The default retention is 7 days, but can be extended up to 35 days for standard databases.
You need to implement network segmentation for a multi-tier application. Which Azure service should you use to control traffic between subnets?
-
A
Azure Firewall for all internal traffic control
-
B
Application Security Groups (ASGs) combined with NSGs
✓ Correct
-
C
User Defined Routes (UDRs) with forced tunneling
-
D
Network Security Groups (NSGs) only
Explanation
Application Security Groups allow logical grouping of resources and simplify NSG rule management by allowing rules based on application tier rather than specific IP addresses. This combination provides better scalability and maintainability for network segmentation.
Your organization is implementing a zero-trust security model. Which Azure service would you use to verify device compliance before allowing access to resources?
-
A
Azure Bastion for all access control
-
B
VPN gateway with pre-shared keys
-
C
Azure AD Conditional Access with device compliance policies
✓ Correct
-
D
Network Security Groups alone
Explanation
Azure AD Conditional Access integrated with device compliance policies enforces zero-trust principles by evaluating device health status before granting access. This ensures only compliant devices can access resources regardless of location.
You are designing a DDoS protection strategy for a critical web application. What is the primary difference between Azure DDoS Protection Standard and Basic?
-
A
Standard provides automatic mitigation and advanced reporting, while Basic offers passive detection only
✓ Correct
-
B
Basic is only available for on-premises networks, Standard is cloud-only
-
C
Standard requires manual configuration, Basic is fully automatic
-
D
There is no difference; they use the same technology with different pricing
Explanation
DDoS Protection Standard provides proactive attack mitigation, real-time attack analytics, and DDoS rapid response support. Basic only monitors and passively defends against obvious attacks.
You need to configure Azure AD B2B guest access for external partners. What security control should you implement to restrict guest access?
-
A
Use Azure AD entitlement management with conditional access policies and guest user restrictions
✓ Correct
-
B
Require all guests to use VPN connections
-
C
Configure only IP-based access restrictions
-
D
Allow all external domains and disable MFA requirements
Explanation
Azure AD entitlement management combined with conditional access policies provides granular control over guest access, including MFA requirements, device compliance, and access reviews. This ensures least-privilege access for external partners.
Your company stores sensitive data in Azure Storage and requires encryption in transit. Which protocol configuration is mandatory?
-
A
FTPS protocol for file transfers
-
B
HTTPS only by enforcing 'Secure transfer required'
✓ Correct
-
C
TLS 1.0 or higher without version restrictions
-
D
HTTP with self-signed certificates
Explanation
The 'Secure transfer required' setting on storage accounts enforces HTTPS-only access, ensuring data is encrypted in transit. This prevents downgrade attacks and eavesdropping of sensitive data.
You are implementing Azure Sentinel to monitor security events. Which data connector should you use to ingest Azure activity logs?
-
A
Azure Diagnostic Settings connector only
-
B
Application Insights data connector
-
C
Event Hub connector exclusively
-
D
Azure Activity connector
✓ Correct
Explanation
The Azure Activity connector is the native connector for ingesting Azure activity logs into Azure Sentinel, providing visibility into control plane operations and administrative changes across Azure resources.
Your organization requires that all Azure Key Vault access be logged and monitored. How should you configure this?
-
A
Implement custom application-level logging in all consuming applications
-
B
Enable diagnostic settings on Key Vault to send logs to a Log Analytics workspace
✓ Correct
-
C
Configure Key Vault Monitoring Agent on each VM accessing the vault
-
D
Use only Azure Activity Log without additional configuration
Explanation
Diagnostic settings on Azure Key Vault provide detailed audit logs of all access attempts and operations, which should be sent to Log Analytics for centralized monitoring and analysis. Activity Logs alone don't capture all Key Vault operations.
You need to ensure that Azure resources can be accessed only from specific IP ranges. Which Azure service should you configure?
-
A
Service endpoints combined with virtual network rules
-
B
Network ACLs on the storage account combined with firewall rules
✓ Correct
-
C
Route tables with custom routes to deny traffic
-
D
Azure Firewall with application rules based on IP addresses
Explanation
Network ACLs (also called firewall rules) on services like Azure Storage and SQL Database allow you to explicitly define allowed IP ranges. This is more granular than service endpoints which work at the service level.
Your company implements role-based access control (RBAC) in Azure. A user needs read access to virtual machines but not the ability to create new ones. Which built-in role would you assign?
-
A
Reader
-
B
Virtual Machine Administrator
-
C
Virtual Machine User Login
✓ Correct
-
D
Virtual Machine Contributor
Explanation
The Virtual Machine User Login role allows users to login to virtual machines without having administrative or contributor permissions. This provides read and execution access without creation or modification capabilities.
You need to implement multi-factor authentication (MFA) for Azure AD users. What is the most secure MFA method for preventing phishing attacks?
-
A
Email verification code
-
B
Security questions with predetermined answers
-
C
SMS text message verification
-
D
Microsoft Authenticator app with push notifications or passwordless sign-in
✓ Correct
Explanation
The Microsoft Authenticator app with push notifications or passwordless sign-in is resistant to phishing as it requires user approval on a trusted device. SMS and email can be intercepted, and security questions are vulnerable to social engineering.
Your organization needs to detect and respond to security threats in real-time across Azure resources. Which Azure service provides playbook automation for incident response?
-
A
Azure Security Center alerts only
-
B
Azure Monitor action groups without automation
-
C
Log Analytics query alerts with email notifications
-
D
Azure Sentinel with playbooks
✓ Correct
Explanation
Azure Sentinel playbooks enable automated incident response workflows that can trigger actions like creating tickets, sending notifications, or blocking resources based on detected threats. This provides both detection and automated response capabilities.
You are configuring Azure AD Application Proxy to provide secure remote access to an on-premises web application. What is a key security benefit of this approach?
-
A
It provides unlimited bandwidth for remote access
-
B
It eliminates the need for VPN connections and exposes no internal ports to the internet
✓ Correct
-
C
It automatically encrypts all user passwords in transit without any configuration
-
D
It completely replaces the need for firewalls and network security groups
Explanation
Azure AD Application Proxy publishes on-premises applications through Azure AD without exposing internal network ports or requiring VPN access. This reduces the attack surface and simplifies access management while maintaining security.
Your company requires that all Azure subscriptions undergo regular security assessments. Which Azure service provides automated security recommendations?
-
A
Azure Bastion for secure access monitoring
-
B
Microsoft Defender for Cloud (formerly Azure Security Center)
✓ Correct
-
C
Azure Advisor for cost optimization only
-
D
Azure Policy for compliance checking only
Explanation
Microsoft Defender for Cloud continuously assesses Azure resources, provides security recommendations, and identifies vulnerabilities. It offers both compliance checks and actionable security guidance for improving your security posture.
You need to ensure that sensitive files in Azure Storage are not accidentally deleted. Which feature should you enable?
-
A
Read-access geo-redundant storage (RA-GRS) only
-
B
Storage account encryption
-
C
Azure Backup daily snapshots
-
D
Soft delete with retention policy for blobs
✓ Correct
Explanation
Soft delete allows recovery of deleted blobs within a specified retention period (up to 365 days). This protects against accidental or malicious deletion without requiring separate backup solutions.
Your organization uses Azure Arc to manage hybrid resources. How should you apply Azure policies to Arc-enabled servers?
-
A
Apply Azure policies directly to Arc-enabled machines just like native Azure resources
✓ Correct
-
B
Use separate third-party tools exclusively for Arc-enabled server governance
-
C
Manually configure each Arc-enabled server without centralized policy management
-
D
Azure policies can only be applied to native Azure resources, not Arc-enabled servers
Explanation
Azure Arc extends Azure management capabilities to hybrid and multi-cloud environments, allowing you to apply Azure policies to Arc-enabled machines using the same policy framework as native Azure resources.
You need to implement network isolation for a containerized application in Azure Kubernetes Service (AKS). Which networking feature should you use?
-
A
Service endpoints on individual containers
-
B
Network policies to control pod-to-pod communication
✓ Correct
-
C
Azure Firewall for all container traffic management
-
D
Kubelet networking only without additional controls
Explanation
Kubernetes network policies provide fine-grained control over pod-to-pod communication within an AKS cluster, enabling network segmentation at the application level. This is the Kubernetes-native approach to network isolation.
Your company implements Azure AD Privileged Identity Management (PIM). What is the primary security benefit of using just-in-time (JIT) access?
-
A
Users receive elevated privileges only when needed and for a limited duration, reducing standing access
✓ Correct
-
B
It automatically updates all user passwords daily
-
C
It bypasses the need for multi-factor authentication
-
D
It eliminates all password requirements permanently
Explanation
Just-in-time access in PIM grants temporary elevated privileges only when requested and approved, reducing the risk of compromised standing privileges. This follows the principle of least privilege and limits exposure windows.
You need to secure communication between your application and Azure Cosmos DB. Which connection method provides the highest security?
-
A
Shared access signatures with unlimited expiration dates
-
B
Connection strings with primary keys shared across multiple applications
-
C
Using Managed Identity for authentication without storing connection strings
✓ Correct
-
D
Public endpoints with IP-based firewall rules only
Explanation
Managed Identity eliminates the need to store and rotate credentials, as Azure handles authentication automatically. This is more secure than storing connection strings or SAS tokens in configuration.
Your organization requires audit logging for changes to Azure resources. Which service should you use to capture and analyze these logs?
-
A
Event Hubs for real-time event streaming only
-
B
Storage account blobs without any analysis tools
-
C
Azure Activity Log combined with Log Analytics for analysis and retention
✓ Correct
-
D
Application Insights for application-level logging only
Explanation
The Azure Activity Log captures all control plane operations, and Log Analytics provides query capabilities for analysis, alerting, and long-term retention of these audit logs for compliance purposes.
You need to implement data residency compliance where data must remain in a specific geographic region. How should you configure this in Azure?
-
A
Select the appropriate region during resource creation and use geo-pinning policies
-
B
Rely on Azure's default replication which automatically keeps data in one region only
-
C
Use Azure Policy to restrict resource creation to specific regions and configure service-specific settings
✓ Correct
-
D
Request Microsoft to manually pin your subscription data to a region
Explanation
Azure Policy can enforce resource creation only in approved regions, and service-specific settings (like storage account replication type) ensure data residency compliance. This provides automated governance for data location requirements.
Your company needs to protect against threats like ransomware in Azure VMs. Which combination of services provides comprehensive protection?
-
A
Network segmentation without endpoint monitoring
-
B
Microsoft Defender for Cloud with Defender for Servers including EDR capabilities
✓ Correct
-
C
Only firewalls without endpoint protection
-
D
Antivirus software without behavioral threat detection
Explanation
Microsoft Defender for Servers provides endpoint detection and response (EDR) capabilities, behavioral threat detection, and advanced threat analysis to protect against ransomware and other sophisticated attacks on VMs.
You need to implement Azure AD Multi-Factor Authentication (MFA) for all users accessing sensitive resources. Which Azure service provides the primary MFA capabilities?
-
A
Azure Information Protection
-
B
Azure Multi-Factor Authentication Server
✓ Correct
-
C
Azure Key Vault
-
D
Azure AD Conditional Access
Explanation
Azure Multi-Factor Authentication Server is the dedicated service for implementing MFA, though modern deployments often use Azure AD with MFA capabilities. Both A and B are valid, but B is the primary dedicated MFA service.
Which encryption method does Azure Storage Service Encryption (SSE) use by default for data at rest?
-
A
AES-128
-
B
RSA-2048
-
C
DES-56
-
D
AES-256
✓ Correct
Explanation
Azure Storage Service Encryption uses AES-256 encryption by default for all data stored in Azure Storage accounts, providing strong protection for data at rest.
You are implementing a zero-trust security model in your Azure environment. Which Azure service should you primarily use to enforce identity and device compliance before granting access?
-
A
Azure AD Conditional Access
✓ Correct
-
B
Network Security Groups
-
C
Azure DDoS Protection
-
D
Azure Firewall
Explanation
Azure AD Conditional Access is the core service for implementing zero-trust principles by evaluating identity, device state, location, and risk before granting access to resources.
Your organization requires encryption of database passwords and connection strings used by applications. Which Azure service is best suited for this purpose?
-
A
Azure Key Vault with managed identity integration
✓ Correct
-
B
Azure SQL Database Transparent Data Encryption
-
C
Azure Storage encryption
-
D
Azure Disk Encryption
Explanation
Azure Key Vault is designed specifically for managing secrets, keys, and certificates, and when integrated with managed identities, provides secure retrieval of credentials without hardcoding them in applications.
When implementing Azure Disk Encryption on a virtual machine, which prerequisite must be met?
-
A
Azure Key Vault and encryption keys must be in the same resource group as the VM
-
B
The VM must be running Windows Server 2012 or earlier
-
C
The VM must use only managed disks and classic storage accounts
-
D
The Key Vault must be in the same region and configured for disk encryption
✓ Correct
Explanation
The Key Vault must be located in the same region as the VM and specifically configured with the enabledForDiskEncryption property set to enable Azure Disk Encryption.
You need to audit all changes to Azure resources across your subscription. Which Azure service provides this capability?
-
A
Azure Monitor Activity Log
✓ Correct
-
B
Azure Application Insights
-
C
Azure Security Center only monitoring
-
D
Azure Log Analytics Workspace
Explanation
Azure Monitor Activity Log tracks all control plane operations and changes to Azure resources, providing a complete audit trail of who did what and when.
Your organization uses Azure Virtual Networks with multiple subnets. You need to restrict traffic between subnets based on specific ports and protocols. What is the most appropriate solution?
-
A
Implement Azure Firewall between all subnets
-
B
Deploy Application Gateway to all subnets
-
C
Use Application Security Groups exclusively without NSGs
-
D
Configure Network Security Groups on the subnets
✓ Correct
Explanation
Network Security Groups provide subnet-level filtering capabilities that allow you to define inbound and outbound rules based on ports, protocols, and IP addresses, which is the standard approach for east-west traffic control.
When configuring Azure Key Vault access policies, which identity should you use for applications running on Azure VMs to retrieve secrets without storing credentials?
-
A
Service Principal with password authentication
-
B
Subscription owner credentials
-
C
Shared access keys stored in the application configuration
-
D
Managed Identity assigned to the VM
✓ Correct
Explanation
Managed Identity is the recommended approach as it eliminates the need to manage credentials; Azure automatically handles the authentication and credentials for the application.
You need to implement Just-In-Time (JIT) access to virtual machine ports. Which Azure Security Center feature should you use?
-
A
Just-In-Time VM Access
✓ Correct
-
B
Threat Protection
-
C
Adaptive Network Hardening
-
D
Regulatory Compliance
Explanation
Azure Security Center's Just-In-Time VM Access feature allows you to reduce exposure to brute-force attacks by opening RDP/SSH ports only when needed, with automatic closure after approval.
Your organization needs to implement role-based access control (RBAC) for Azure resources. A user should be able to read all resources but only modify resources in specific resource groups. How should you configure this?
-
A
Assign Contributor role at subscription level only
-
B
Create custom roles for each resource group independently
-
C
Assign Reader role at subscription level and Contributor role at resource group level
✓ Correct
-
D
Assign Owner role at the resource group level
Explanation
To achieve least privilege, assign the Reader role at the subscription level for read access across all resources, then assign Contributor role only at the specific resource groups where modification is needed.
You are implementing Azure AD B2B collaboration for external partners. Which identity provider can external users NOT directly use for authentication in Azure AD B2B?
-
A
Google Account
-
B
Microsoft Account
-
C
LDAP directory from partner's on-premises environment
✓ Correct
-
D
Facebook Account
Explanation
Azure AD B2B supports Microsoft accounts, social identities, and federated Azure AD tenants, but does not directly support on-premises LDAP directories unless they are synchronized to Azure AD.
Which Azure service should you use to detect and respond to security threats and suspicious activities on your Azure resources?
-
A
Azure Cost Management
-
B
Azure Advisor
-
C
Azure Service Health
-
D
Azure Security Center (Microsoft Defender for Cloud)
✓ Correct
Explanation
Azure Security Center (now called Microsoft Defender for Cloud) provides continuous monitoring, threat detection, and security recommendations to identify and respond to security threats.
You need to ensure that all data transmitted between your application and Azure SQL Database is encrypted. What should you configure?
-
A
Azure Disk Encryption on the application server
-
B
Transparent Data Encryption (TDE) only
-
C
Azure Virtual Network Service Endpoints exclusively
-
D
Enforce Encrypted Connections in the connection string with Encrypt=true parameter
✓ Correct
Explanation
Enforcing encrypted connections using the Encrypt=true parameter in the connection string ensures that data in transit between the application and database is encrypted using TLS/SSL.
You are configuring Azure AD conditional access policies to block sign-in attempts from high-risk locations. Which signal does Conditional Access use to determine risk?
-
A
Only IP address geolocation
-
B
Login time only
-
C
User risk, sign-in risk, and device risk assessed by Azure AD Identity Protection
✓ Correct
-
D
VPN usage exclusively
Explanation
Azure AD Conditional Access integrates with Azure AD Identity Protection to evaluate multiple risk signals including user risk, sign-in risk, and device risk to make access decisions.
What is the primary purpose of Azure Policy in a security context?
-
A
To provide real-time threat detection
-
B
To encrypt data at rest
-
C
To enforce organizational standards and compliance requirements across Azure resources
✓ Correct
-
D
To manage user authentication
Explanation
Azure Policy enables you to create and assign policies that enforce rules for resource creation and configuration, ensuring compliance with organizational and regulatory standards.
You need to implement network segmentation for a multi-tier application in Azure. You want to ensure that the web tier can communicate with the application tier, but the application tier cannot initiate communication with the web tier. Which solution best achieves this?
-
A
Configure NSGs allowing traffic based on source and destination, using stateful rules
✓ Correct
-
B
Deploy separate Virtual Networks with no peering
-
C
Use Application Security Groups for all communication
-
D
Implement only outbound rules in NSGs
Explanation
Network Security Groups with stateful rules allow you to permit unidirectional communication by allowing inbound rules on the application tier from the web tier only, blocking reverse traffic without explicit outbound rules.
When implementing Azure AD Password Protection, which scenario would trigger blocking of a password change?
-
A
Password contains uppercase letters
-
B
Password is longer than 20 characters
-
C
Password contains numbers
-
D
Password matches an entry in the global or custom banned password list
✓ Correct
Explanation
Azure AD Password Protection checks passwords against a global banned password list and optionally against a custom banned password list, blocking passwords that match entries in either list.
You are implementing Azure SQL Database security. A user needs to perform only SELECT operations on specific tables. What is the best approach?
-
A
Grant db_owner role to the user
-
B
Create a custom database role with SELECT permission on specific tables only
✓ Correct
-
C
Use only Table-level permissions without roles
-
D
Grant db_datareader role to the entire user group
Explanation
Creating a custom database role with SELECT permission on specific tables provides the least privilege access model, limiting the user's capabilities to exactly what is needed.
Your organization requires that all VMs in Azure must be encrypted with customer-managed keys. Which service enables this requirement?
-
A
Azure Disk Encryption with customer-managed keys in Key Vault
✓ Correct
-
B
Azure Files encryption
-
C
Azure SQL Transparent Data Encryption
-
D
Azure Storage Service Encryption only
Explanation
Azure Disk Encryption with customer-managed keys allows you to bring your own encryption keys stored in Azure Key Vault, providing full control over the encryption keys used for VM disks.
When configuring Azure Firewall, you need to allow traffic from a specific on-premises network to Azure resources while blocking all other traffic. Which firewall rule type should you use?
-
A
Network rules for layer 4 filtering
✓ Correct
-
B
NAT rules for address translation
-
C
Application rules for HTTP/HTTPS only
-
D
Only destination network address translation
Explanation
Network rules in Azure Firewall operate at layer 4 (transport layer) and allow you to specify source IP ranges, ports, and protocols, making them ideal for permitting traffic from specific on-premises networks.
You need to ensure that sensitive data in Azure SQL Database is masked from non-authorized users. Which feature should you implement?
-
A
Row-Level Security exclusively
-
B
Dynamic Data Masking
✓ Correct
-
C
Transparent Data Encryption
-
D
Encryption at rest
Explanation
Dynamic Data Masking masks sensitive data values in query results for non-privileged users while keeping the data unmasked for authorized users with ALTER permissions, without changing actual data.
When implementing Azure AD sign-in logs analysis, which Azure service should you use to query and analyze the logs at scale?
-
A
Azure Blob Storage analytics
-
B
Azure Monitor Metrics
-
C
Azure Log Analytics with KQL queries
✓ Correct
-
D
Azure Advisor reports
Explanation
Azure Log Analytics combined with KQL (Kusto Query Language) allows you to query and analyze Azure AD sign-in logs at scale, enabling complex investigations and pattern detection.
You are configuring Azure Key Vault for high availability. What is a critical consideration for key vault redundancy?
-
A
Multiple Key Vaults must be created in each region
-
B
Key Vault automatically replicates within a region but not across regions; you must plan accordingly
✓ Correct
-
C
Key Vault is always single-region only
-
D
Key Vault uses only local redundant storage
Explanation
Azure Key Vault provides local redundancy within a region but does not automatically replicate across regions; for multi-region high availability, you should implement your own replication strategy or use Key Vault's backup and restore capabilities.
Which Azure service provides real-time monitoring and alerting for potential security vulnerabilities in your container images?
-
A
Azure Kubernetes Service monitoring only
-
B
Docker Hub security scanning
-
C
Azure Container Registry with image scanning
-
D
Azure Defender for Container Registries (part of Microsoft Defender for Cloud)
✓ Correct
Explanation
Azure Defender for Container Registries (now part of Microsoft Defender for Cloud) provides vulnerability scanning and security assessment for container images stored in Azure Container Registry.
You need to implement a security control that prevents users from accessing resources outside of business hours. Which Azure service provides this capability?
-
A
Azure Automation runbooks with scheduled tasks
-
B
Network Security Groups with time-based rules
-
C
Azure AD Conditional Access with time-based policies
✓ Correct
-
D
Azure Scheduler service exclusively
Explanation
Azure AD Conditional Access can be combined with Azure AD Identity Protection or custom controls to implement time-based access restrictions, though native time-based conditions are limited and typically require custom implementation.
Your organization needs to implement Just-in-Time (JIT) VM access for Windows virtual machines in Azure. Which Azure service provides this capability?
-
A
Azure Security Center (now Microsoft Defender for Cloud)
✓ Correct
-
B
Azure Bastion
-
C
Azure Policy
-
D
Azure Network Watcher
Explanation
Microsoft Defender for Cloud provides Just-in-Time VM access functionality that restricts inbound traffic to Azure VMs and reduces exposure to attacks while providing easy access when needed.
You are configuring Azure Key Vault to store encryption keys for your organization's data. You need to ensure that keys cannot be exported and operations are logged. Which two settings must you enable?
-
A
Configure backup and enable customer-managed keys
-
B
Enable key expiration and implement role-based access control
-
C
Enable soft delete and restrict network access with a firewall
-
D
Enable purge protection and configure diagnostic logging
✓ Correct
Explanation
To prevent key export and ensure operations are logged, you should enable purge protection (prevents accidental deletion) and configure diagnostic logging to audit all Key Vault operations.
Your company uses Azure AD Connect to synchronize on-premises Active Directory with Azure AD. You want to prevent password synchronization while maintaining directory sync. What should you configure?
-
A
Azure AD Application Proxy with multi-factor authentication
-
B
Password hash synchronization with conditional access policies
-
C
Pass-through authentication or federated identity with AD FS
✓ Correct
-
D
Directory extension attributes and selective sync filters
Explanation
To synchronize directories without synchronizing password hashes, you can implement pass-through authentication (validates passwords against on-premises AD) or federation with AD FS rather than password hash sync.
You need to ensure that all storage account access is logged and monitored. An auditor requires visibility into who accessed what data and when. Which Azure service should you configure?
-
A
Azure Monitor with custom metrics and alerts only
-
B
Azure Policy to enforce encryption at rest
-
C
Storage Account diagnostic settings to log read, write, and delete operations to Log Analytics
✓ Correct
-
D
Azure Backup with immutable storage configuration
Explanation
Storage Account diagnostic settings enable logging of all read, write, and delete operations to Azure Monitor, Log Analytics, or Event Hubs, providing comprehensive audit trails for compliance requirements.
You are implementing Azure DDoS Protection for a web application. After enabling Standard tier protection, you notice legitimate traffic from a known partner IP range is being rate-limited. How should you resolve this while maintaining DDoS protection?
-
A
Switch to DDoS Protection Basic and configure firewall rules separately
-
B
Disable DDoS protection and implement Web Application Firewall instead
-
C
Use Azure DDoS Protection policies with geo-filtering to exclude the partner IP range
-
D
Configure DDoS protection policies and whitelist rules to allow the partner IP range, then adjust rate-limiting thresholds as needed
✓ Correct
Explanation
DDoS Protection Standard allows you to configure policies and whitelist rules for known good traffic sources, and you can adjust rate-limiting thresholds to accommodate legitimate traffic while maintaining protection against attacks.
Your organization requires that Azure resources be encrypted with customer-managed keys stored in Azure Key Vault. For Azure SQL Database, which feature enables this requirement?
-
A
Transparent Data Encryption (TDE) with customer-managed keys (Bring Your Own Key)
✓ Correct
-
B
Always Encrypted with deterministic encryption algorithm
-
C
Service-side encryption with Microsoft-managed keys and access control
-
D
Azure Disk Encryption for SQL Server virtual machines only
Explanation
Azure SQL Database supports Transparent Data Encryption (TDE) with customer-managed keys (BYOK) stored in Azure Key Vault, enabling organizations to control encryption key management.
You are configuring Azure Sentinel to detect suspicious sign-in activities. You create a custom analytics rule that triggers when a user signs in from multiple geographic locations within an impossible travel timeframe. What is this type of detection called?
-
A
Brute force attack detection
-
B
Impossible travel detection or anomalous location detection
✓ Correct
-
C
Privilege escalation detection
-
D
Data exfiltration detection
Explanation
Impossible travel detection identifies when a user logs in from two different geographic locations within a timeframe that makes physical travel impossible, indicating potential account compromise.
Your organization needs to audit and control who can create Azure resources in specific subscriptions. You want to use a service principal with limited permissions and track all changes made. Which combination of Azure services should you implement?
-
A
Azure AD Privileged Identity Management and manual approval processes
-
B
Azure RBAC for permissions and Azure Activity Log for tracking changes
✓ Correct
-
C
Managed identities and Azure Resource Manager templates with approval workflows
-
D
Azure Policy for resource type restrictions and Service Principal authentication
Explanation
Azure RBAC controls service principal permissions at a granular level, while Azure Activity Log (integrated with Azure Monitor) tracks all resource creation and modifications for audit compliance.
You are implementing a security baseline for Azure virtual machines. You need to ensure that unencrypted disks are identified and remediated automatically. Which Azure service should you use?
-
A
Microsoft Defender for Cloud recommendations with auto-remediation
✓ Correct
-
B
Azure Security Baseline in Azure Policy with a DeployIfNotExists effect
-
C
Azure Disk Encryption with automatic extension deployment
-
D
Azure Backup with incremental snapshot encryption
Explanation
Microsoft Defender for Cloud provides security recommendations for unencrypted disks and can be configured with auto-remediation (where available) or used with Azure Policy for automated enforcement.
You configure Azure AD Conditional Access to require multi-factor authentication for all users accessing cloud applications. However, a legacy application cannot support MFA. How should you handle this exception securely?
-
A
Create an exclusion group in the conditional access policy and add the legacy application's users to it
-
B
Use Azure Application Proxy to enforce MFA at the proxy layer before reaching the legacy application, or exclude the application with explicit approval and network controls
✓ Correct
-
C
Implement a separate authentication service that does not require MFA for legacy systems
-
D
Disable conditional access for that specific application and rely on network segmentation
Explanation
You should either use Azure Application Proxy to add MFA enforcement at the proxy layer (best practice) or create an exclusion with documented approval and compensating controls like IP restriction or network segmentation.