Courseiva

CCNA Secure, monitor, and optimize data storage and data processing Questions

73 of 223 questions · Page 3/3 · Secure, monitor, and optimize data storage and data processing · Answers revealed

151
MCQeasy

You need to ensure that data stored in Azure Data Lake Storage Gen2 is encrypted at rest using customer-managed keys. Which Azure service should you use to manage the keys?

A.Azure Key Vault
B.Microsoft Purview
C.Azure Confidential Computing
D.Microsoft Entra ID
AnswerA

Azure Key Vault stores customer-managed encryption keys.

Why this answer

Azure Key Vault is used to store customer-managed keys for Azure Storage encryption. Option B is wrong because Microsoft Purview is for data governance. Option C is wrong because Azure Confidential Computing is for compute.

Option D is wrong because Microsoft Entra ID is for identity.

152
MCQmedium

Your organization has an Azure Synapse Analytics dedicated SQL pool that stores sensitive customer data. You need to ensure that only authorized users can access the data, and auditing must be enabled to track all access attempts. What should you do first?

A.Implement column-level security to restrict sensitive columns.
B.Enable auditing on the SQL pool and configure a storage account for audit logs.
C.Configure Microsoft Entra ID authentication and use RBAC to grant only necessary permissions.
D.Apply dynamic data masking to the sensitive columns.
AnswerC

Configuring Microsoft Entra ID authentication and RBAC is the foundational step to control who can access the SQL pool, ensuring only authorized users have access.

Why this answer

The first step to secure access to the Azure Synapse Analytics dedicated SQL pool is to configure authentication and authorization using Microsoft Entra ID and RBAC. This establishes who can access the pool and what they can do. Once that is in place, you can then implement additional security measures like auditing (option B), column-level security (option A), or dynamic data masking (option D), but these are secondary steps.

Option B is not the first step because auditing tracks access but does not control it. Option A is too granular for initial access control. Option D obfuscates data but does not prevent unauthorized access.

153
MCQeasy

You are monitoring Azure Stream Analytics job performance. The job is falling behind in processing real-time data. You notice that the SU (Streaming Unit) utilization is consistently at 90% or higher. What is the most appropriate action to improve throughput?

A.Change the output to use a partition scheme
B.Reduce the window duration in the query
C.Increase the number of Streaming Units (SUs)
D.Decrease the event ordering tolerance
AnswerC

Scaling out increases processing capacity

Why this answer

When SU utilization is consistently at 90% or higher, the job is resource-constrained, which leads to backpressure and falling behind. The most direct way to improve throughput is to increase the number of Streaming Units (SUs), as this adds more compute capacity. Option A (changing output to use a partition scheme) can improve performance in some cases but is not the immediate step and may not resolve high SU utilization.

Option B (reducing window duration) can cause data loss or inaccurate results, and does not address the resource bottleneck. Option D (decreasing event ordering tolerance) also risks data loss and is not a throughput improvement measure.

154
MCQeasy

You need to monitor the performance of Azure Synapse Analytics dedicated SQL pool queries. Which Azure service should you use to identify long-running queries and resource bottlenecks?

A.Microsoft Purview Data Map.
B.Azure Synapse Studio monitoring hub and dynamic management views (DMVs).
C.Azure Log Analytics queries.
D.Azure Monitor Workbooks.
AnswerB

Monitoring hub and DMVs are designed for real-time query performance analysis.

Why this answer

Azure Synapse Studio monitoring hub provides a centralized view of dedicated SQL pool activity, including running and completed queries, and dynamic management views (DMVs) can be queried to identify long-running queries and resource bottlenecks. Option A is wrong because Microsoft Purview Data Map is a data governance and cataloging service, not a performance monitoring tool. Option C is wrong because Azure Log Analytics queries can be used for historical analysis but require configuration and are not the primary tool for real-time live query monitoring in Synapse dedicated SQL pools.

Option D is wrong because Azure Monitor Workbooks provide customizable dashboards for various Azure services, but they are not specifically designed for direct query monitoring in Synapse SQL pools.

155
MCQhard

Your company uses Azure Data Factory to orchestrate data pipelines that ingest data from on-premises SQL Server to Azure Data Lake Storage Gen2. The network team has implemented a firewall that only allows outbound traffic on port 443. The on-premises SQL Server is not accessible via public endpoint. You need to configure a secure connection that complies with the firewall rules and uses managed identity for authentication. What should you use?

A.Use Azure ExpressRoute to connect the on-premises network to Azure, then use an Azure Integration Runtime with a VNet injection.
B.Set up a point-to-site VPN from Azure to on-premises and use an Azure Integration Runtime with a VNet integration.
C.Install a Self-hosted Integration Runtime on an on-premises VM, register it with Azure Data Factory using managed identity, and configure the pipeline to use this IR for the SQL Server connection.
D.Use an Azure Integration Runtime with a public endpoint and configure a firewall rule to allow the Azure IR IP addresses.
AnswerC

Uses private network and port 443 for communication.

Why this answer

A self-hosted integration runtime (IR) installed on an on-premises VM can connect to SQL Server over the private network, then communicate with Azure Data Factory over port 443. Managed identity can be used for authentication to Azure Data Factory. Option A is incorrect: Azure IR with VNet injection still requires a public endpoint for on-premises SQL Server, which is not accessible.

Option B is incorrect: Point-to-site VPN provides connectivity but does not directly support managed identity for ADF authentication, and additional configuration is needed. Option D is incorrect: Using an Azure IR with a public endpoint requires the on-premises SQL Server to have a public endpoint, which it does not, and it does not utilize managed identity for authentication.

156
MCQmedium

You have an Azure Databricks workspace that uses a managed resource group. The security team requires that all cluster nodes use no public IP addresses and that all outbound traffic goes through a firewall. What should you configure?

A.Configure service endpoints for Azure Storage and Azure Data Lake Storage.
B.Deploy the workspace in a VNet with forced tunneling enabled and a firewall.
C.Apply network security groups (NSGs) to the subnet that restrict outbound traffic.
D.Enable Azure Private Link for the Databricks workspace.
AnswerB

VNet injection with forced tunneling ensures cluster nodes have no public IPs and all outbound traffic goes through the firewall.

Why this answer

Deploying the Azure Databricks workspace in a VNet with forced tunneling enabled and a firewall ensures that cluster nodes have no public IP addresses and all outbound traffic is routed through the firewall. Option A is incorrect because service endpoints do not prevent public IPs on cluster nodes. Option C is incorrect because NSGs alone do not force traffic through a firewall; forced tunneling requires a route table with default route to the firewall.

Option D is incorrect because Azure Private Link only provides private connectivity to the workspace, but does not control outbound traffic from cluster nodes.

157
MCQhard

Your Azure Databricks workspace contains sensitive customer data. You need to ensure that only users with a specific Microsoft Entra ID role can access the workspace, and all access must be logged and monitored. You also need to audit data access at the table level. What should you implement?

A.Configure SCIM provisioning to sync the Entra ID group to Databricks and assign the group to the workspace
B.Set up IP access lists to restrict workspace access to the corporate network and enable diagnostic logs
C.Enable Unity Catalog and assign the Databricks workspace to use Entra ID as the identity provider. Configure audit logs for the workspace
D.Use Microsoft Defender XDR to monitor access to the Databricks workspace
AnswerC

Unity Catalog supports fine-grained access control and audit logging, integrated with Entra ID.

Why this answer

Azure Databricks with Unity Catalog provides fine-grained access control at the table level and integrates with Entra ID for authentication, and audit logs capture access events. Option A is wrong because SCIM provisioning only syncs users, not access control. Option B is wrong because IP access lists control network access, not data access.

Option D is wrong because Microsoft Defender XDR is for security monitoring across Microsoft 365, not specifically for Databricks table-level auditing.

158
MCQmedium

You are a data engineer at Northwind Traders. You have an Azure Synapse Analytics workspace with dedicated SQL pools. You need to monitor query performance to identify slow-running queries and understand resource consumption. The solution must provide historical data for the last 30 days and allow alerting when queries exceed a certain duration. You also need to export the data to a Log Analytics workspace for correlation with other metrics. What should you use?

A.Enable Diagnostic Settings for the dedicated SQL pool to send logs to Azure Storage, and query DMVs for historical data.
B.Use Azure Storage Analytics to analyze logs from the storage account backing the SQL pool.
C.Enable Diagnostic Settings to stream SQL pool metrics and logs to a Log Analytics workspace, then create alert rules and use KQL queries for historical analysis.
D.Configure SQL Server Query Store and export data to Azure Blob Storage using elastic query.
AnswerC

Provides historical data and alerting.

Why this answer

Enabling Diagnostic Settings for the dedicated SQL pool to stream logs and metrics to Log Analytics allows historical data retention (up to 30 days or more) and enables alerting and KQL queries. Option A is incorrect: DMVs provide current state, not historical data for 30 days. Option B is incorrect: Azure Storage Analytics is for storage accounts, not Synapse SQL.

Option D is incorrect: Query Store is for SQL Server, not for monitoring resource consumption and doesn't integrate with Log Analytics.

159
MCQhard

You are optimizing a batch processing job in Azure Databricks that reads data from Azure Data Lake Storage Gen2 and writes aggregated results back. The job currently runs slowly due to high shuffle writes. You plan to use Delta Lake and optimize the table layout. Which two actions should you take to reduce shuffle writes? (Select two.)

A.Enable Delta Lake auto-optimize to coalesce small files.
B.Partition the Delta table by the most frequently used filter column.
C.Use a broadcast hash join hint for all joins.
D.Increase the number of shuffle partitions to 400.
E.Use the OPTIMIZE command with Z-Ordering on join keys.
AnswerB, E

Partitioning reduces the amount of data shuffled during queries that filter on that column.

Why this answer

To reduce shuffle writes in a Databricks batch job using Delta Lake, you should partition the Delta table by the most frequently used filter column (B) and use the OPTIMIZE command with Z-Ordering on join keys (E). Partitioning limits data shuffling by filtering out irrelevant partitions, and Z-Ordering colocates related data, reducing shuffle size during joins. Option A (auto-optimize) helps compaction but does not directly reduce shuffle writes.

Option C (broadcast hash join) only helps if one table is small, not for large tables. Option D (increasing shuffle partitions) often increases shuffle writes due to more tasks.

160
MCQeasy

You are reviewing an ARM template that assigns a role. What role is being assigned, and at what scope?

A.Storage Blob Data Owner at the subscription scope
B.Storage Blob Data Reader at the resource group scope
C.Storage Blob Data Contributor at the resource group scope
D.Storage Blob Data Contributor at the storage account scope
AnswerC

The roleDefinitionId is for 'Storage Blob Data Contributor' and scope is resourceGroup().id.

Why this answer

The roleDefinitionId in the ARM template corresponds to 'Storage Blob Data Contributor' and the scope is set to the resource group. Option A is wrong because the scope is not subscription level. Option B is wrong because the role is not 'Storage Blob Data Reader' (the GUID for that role is different).

Option D is wrong because the scope is the resource group, not the storage account.

161
MCQhard

You are reviewing an Azure PowerShell script that sets permissions on a directory in Azure Data Lake Storage Gen2. The script sets a default ACL for a user on the path 'sales/2024/01/'. What is the effect of the -DefaultScope parameter?

A.The ACL replaces the existing access ACL on the directory.
B.The ACL is inherited by all new child items created under this directory.
C.The ACL is applied to all existing files and subdirectories recursively.
D.The ACL is applied only to files, not subdirectories.
AnswerB

Default ACLs set permissions that are inherited by new items.

Why this answer

The -DefaultScope parameter in Azure Data Lake Storage Gen2 sets a default ACL entry. Default ACLs do not set permissions on the current directory; instead, they define permissions that are inherited by new child items (files and subdirectories) created under that directory. Therefore, option B is correct.

Option A is incorrect because default ACLs do not replace the access ACL; access ACLs are set separately without -DefaultScope. Option C is incorrect because default ACLs do not apply to existing items; they only affect future items. Option D is incorrect because default ACLs apply to both new files and new subdirectories.

162
MCQeasy

You are troubleshooting an Azure Databricks job that writes data to Azure Data Lake Storage Gen2. The job fails with '403 Forbidden' error. The Databricks workspace uses a managed identity (system-assigned) for authentication. What should you verify?

A.The storage account name is correct
B.The storage account firewall is configured to allow Azure services
C.A private endpoint is configured between Databricks and the storage account
D.The managed identity has 'Storage Blob Data Contributor' role assigned to the storage account
AnswerD

RBAC role is required for write access

Why this answer

The 403 Forbidden error indicates that authentication succeeded but authorization failed. For a managed identity to write data to Azure Data Lake Storage Gen2, it must be assigned the 'Storage Blob Data Contributor' RBAC role on the storage account. This role grants read, write, and delete permissions for blobs and directories.

Without this role assignment, the managed identity cannot write data, resulting in a 403 error. Even if the storage account name is correct (A), the firewall is configured (B), or a private endpoint exists (C), the missing RBAC role assignment will cause the failure.

Exam trap

A common trap is to confuse 403 Forbidden (authorization failure) with 404 Not Found (resource not found). Ensure you check RBAC role assignments for managed identities rather than network configurations or resource existence.

163
MCQhard

An organization is using Azure Data Factory to ingest data from multiple on-premises SQL Server databases into Azure Synapse Analytics. They need to ensure that sensitive data is masked during ingestion before landing in the staging area. What is the best approach?

A.Apply an Azure Policy that masks sensitive data in Azure Synapse Analytics.
B.Use Azure SQL Database dynamic data masking on the source databases.
C.Use a Mapping Data Flow with derived column transformations to mask sensitive columns.
D.Use Azure Purview to classify and mask sensitive data automatically.
AnswerC

Mapping Data Flow allows you to apply transformations like mask using derived columns before writing to staging.

Why this answer

Mapping Data Flow in Azure Data Factory allows you to transform data during ingestion. Using derived column transformations, you can apply masking functions (e.g., substituting characters, hashing) to sensitive columns before writing to the staging area. This approach masks data before it reaches the staging area, meeting the requirement.

Option A (Azure Policy) is for compliance and cannot mask data. Option B (Dynamic Data Masking on source) masks data at query time, not during ingestion. Option D (Azure Purview) is for data governance and classification, not for masking data during a pipeline.

164
Multi-Selectmedium

Which THREE actions can improve the performance of a dedicated SQL pool in Azure Synapse Analytics?

Select 3 answers
A.Use rowstore indexes instead of columnstore indexes.
B.Partition large fact tables on a date column.
C.Use round-robin distribution for all tables.
D.Use replicated tables for small dimension tables.
E.Enable result-set caching.
AnswersB, D, E

Partitioning enables partition elimination, reducing data scanned.

Why this answer

Options B, D, and E are correct. Partitioning large fact tables on a date column allows partition elimination, improving query performance. Using replicated tables for small dimension tables avoids data movement during joins.

Enabling result-set caching stores query results for reuse, reducing compute load. Option A is incorrect because rowstore indexes are not optimal for analytics; columnstore indexes are preferred. Option C is incorrect because round-robin distribution is not suitable for all tables and can cause excessive data shuffling.

165
MCQmedium

You are monitoring an Azure Data Lake Storage Gen2 account using Azure Monitor. You need to be alerted when the number of storage account requests exceeds 20,000 per hour. What is the most efficient way to set up this alert?

A.Create a Log Analytics workspace and write a KQL query to count requests.
B.Create an Activity Log alert for 'List Storage Account Keys' events.
C.Create a metric alert on the 'Transactions' metric with a threshold of 20,000 and aggregation granularity of 1 hour.
D.Use Azure Advisor to recommend scaling.
AnswerC

Metric alerts are efficient and built-in.

Why this answer

The 'Transactions' metric in Azure Monitor can be used to count the number of requests to the storage account, and you can set a metric alert with a threshold of 20,000 aggregated over an hour. This is the most efficient method as it directly uses the metric without needing complex queries. Option A is wrong because it requires creating a Log Analytics workspace and writing a KQL query, which is more complex and less efficient than a metric alert.

Option B is wrong because Activity Log alerts are for management events like 'List Storage Account Keys', not for data transaction counts. Option D is wrong because Azure Advisor provides recommendations, not custom alerting on specific metric thresholds.

166
MCQeasy

You need to ensure that an Azure Data Factory pipeline can copy data from an Azure SQL Database that is behind a private endpoint. The Data Factory should use a managed virtual network. What should you configure?

A.Install a self-hosted integration runtime on a VM in the same virtual network.
B.Use the default Azure integration runtime.
C.Enable managed virtual network for the Data Factory and create a managed private endpoint for the SQL Database.
D.Use Azure Bastion to connect the Data Factory to the SQL Database.
AnswerC

Managed private endpoints enable secure connectivity over private network.

Why this answer

A managed private endpoint in the Data Factory's managed virtual network allows secure access to the SQL Database's private endpoint. Option A is wrong because the integration runtime must be in the same virtual network. Option B is wrong because self-hosted IR is for on-premises data sources.

Option D is wrong because Azure Bastion is for VM access, not data factory.

167
MCQeasy

Your Azure Data Lake Storage Gen2 account stores sensitive data. You need to audit who accesses the data and when, and you want to send the audit logs to a Log Analytics workspace for analysis. What should you configure?

A.Azure Activity Logs
B.Microsoft Sentinel
C.Azure Monitor alerts
D.Diagnostic settings on the storage account
AnswerD

Diagnostic settings enable streaming of data plane audit logs to Log Analytics.

Why this answer

Diagnostic settings on the storage account can stream audit logs (like read, write, delete) to Log Analytics for analysis. Option A is incorrect because Azure Activity Logs capture control plane operations, not data plane access. Option B is incorrect because Microsoft Sentinel is a SIEM that would consume logs from diagnostic settings, not a direct configuration for log collection.

Option C is incorrect because Azure Monitor alerts are for notifications based on metrics or logs, not for collecting logs.

168
MCQmedium

Refer to the exhibit. You have an Azure Data Factory with two triggers defined as shown. The DailyTrigger runs the CopyPipeline every day at midnight UTC. The BlobTrigger runs the ProcessPipeline when a blob is created in the /input/ folder. You notice that the ProcessPipeline is not executing even though blobs are being created. What is the most likely cause?

A.The blobPathBeginsWith property is missing the container name.
B.The BlobEventsTrigger is configured to listen to the wrong event type.
C.The ProcessPipeline expects parameters that are not provided by the trigger.
D.The storage account does not have an event subscription configured for blob creation.
AnswerD

BlobEventsTrigger requires an event subscription to route events to Data Factory.

Why this answer

The most likely cause is that the storage account does not have an event subscription configured for blob creation. The BlobEventsTrigger in Azure Data Factory relies on an event subscription from the storage account to the trigger. Without this subscription, the trigger will not fire even when blobs are created in the specified path.

Option D correctly identifies this issue. Option A is incorrect because the blobPathBeginsWith property includes the container name prefix; Option B is incorrect because the trigger is configured to listen to blob creation events; Option C is incorrect because the ProcessPipeline does not require parameters from the trigger.

169
MCQeasy

Your company runs an Azure Data Factory pipeline that copies data from an FTP server to Azure Blob Storage daily. Recently, the pipeline has been failing with the error: 'Failure happened on 'Source' side. ErrorCode=UserErrorFailedFileOperation, Error details: The remote server returned an error: (550) File unavailable (e.g., file not found, no access).' The FTP server administrator confirms that the file exists and the credentials are correct. You need to resolve the issue with minimal administrative effort. What should you do?

A.Use an SFTP connector instead of FTP
B.Reset the FTP server credentials in the linked service
C.Check the file path and correct the case sensitivity in the dataset
D.Ask the FTP administrator to re-upload the file
AnswerC

FTP servers often use case-sensitive paths.

Why this answer

The error code 550 indicates that the file is not found or access is denied on the FTP server. Since the file exists and credentials are correct, the most likely cause is a case-sensitive file path mismatch. Option C is correct because checking and correcting the case sensitivity in the dataset resolves this.

Option A is incorrect because switching to SFTP does not address the case sensitivity issue. Option B is incorrect because resetting credentials is unnecessary when they are already correct. Option D is incorrect because re-uploading the file does not fix the path reference problem.

170
Multi-Selectmedium

Which TWO features can be used to audit access to data in Azure Storage? (Choose two.)

Select 2 answers
A.Azure Monitor diagnostic settings
B.Azure Storage analytics logs
C.Azure RBAC role assignments
D.Azure Policy
E.Microsoft Defender for Cloud
AnswersA, B

Sends logs to Log Analytics for querying

Why this answer

Options A and B are correct. Option A: Azure Monitor diagnostic settings can be configured to send resource logs (including storage audit logs) to Log Analytics, Storage, or Event Hubs for auditing. Option B: Storage Analytics logs provide detailed information about successful and failed requests to a storage account, which can be used for auditing.

Option C is incorrect because Azure RBAC role assignments are for access control, not auditing. Option D is incorrect because Azure Policy enforces compliance rules, not auditing. Option E is incorrect because Microsoft Defender for Cloud provides security alerts and threat protection, but not detailed access auditing.

171
MCQmedium

Your company uses Azure Data Factory to orchestrate data movement. You need to monitor pipeline runs across multiple factories and create a dashboard that shows success and failure rates over the past 30 days. What is the most efficient approach?

A.Use the Data Factory monitoring UI to view runs for each factory individually.
B.Enable Azure Storage Analytics and query the logs stored in a storage account.
C.Configure diagnostic settings for each Data Factory to send logs to a Log Analytics workspace, then create a workbook using KQL queries.
D.Create alert rules in Azure Monitor for each pipeline failure and aggregate manually.
AnswerC

Correct, centralizes logs and enables cross-factory monitoring with workbooks.

Why this answer

Configuring diagnostic settings for each Data Factory to send logs to a Log Analytics workspace enables querying and visualizing pipeline runs across multiple factories in a single dashboard using Azure Monitor workbooks with KQL queries. Option A is inefficient as it requires viewing each factory individually. Option B is incorrect because Azure Storage Analytics logs storage metrics, not Data Factory pipeline runs.

Option D is inefficient because manual aggregation is not scalable.

172
MCQhard

You are designing a data processing solution in Azure Databricks that uses Unity Catalog. The security team requires that all users authenticate using Microsoft Entra ID and that access to tables is governed by attribute-based access control (ABAC) using table tags. Which feature should you enable?

A.Column-level security masks. [wrong]
B.Dynamic views with user context functions. [wrong]
C.Row-level security filters. [wrong]
D.Table tags with access control lists (ACLs) in Unity Catalog. [CORRECT]
AnswerD

Table tags with ACLs in Unity Catalog provide role-based access control (RBAC), not attribute-based access control (ABAC). ABAC requires dynamic views with user context functions.

Why this answer

In Unity Catalog, attribute-based access control (ABAC) is implemented through table tags combined with access control lists (ACLs). Table tags allow data to be classified, and ACLs can then be configured based on those tags to enforce attribute-based access. This directly satisfies the requirement of using table tags for ABAC.

Option B (dynamic views with user context functions) can provide similar controls but does not inherently leverage table tags and is not the dedicated ABAC feature in Unity Catalog.

173
MCQeasy

You have an Azure Data Factory pipeline that copies data from an on-premises SQL Server to Azure Blob Storage. The pipeline is failing with a 'Gateway is offline' error. What is the most likely cause?

A.The Azure Integration Runtime is being used instead of a Self-Hosted Integration Runtime.
B.The Azure Integration Runtime is not configured to use the correct region.
C.The source SQL Server is not configured to allow remote connections from Azure.
D.The Self-Hosted Integration Runtime is not running or cannot connect to the Azure Data Factory service.
AnswerD

Correct: The SHIR is the bridge between on-premises and cloud; if it's offline, the pipeline cannot access the on-premises SQL Server.

Why this answer

The Self-Hosted Integration Runtime (SHIR) acts as the gateway between on-premises data sources and Azure Data Factory. If the SHIR is not running or cannot communicate with the Azure Data Factory service, the pipeline fails with a 'Gateway is offline' error. Option A is incorrect because using the Azure Integration Runtime for an on-premises source would cause a different error, not 'Gateway is offline'.

Option B is incorrect because region configuration for the Azure Integration Runtime is irrelevant when a SHIR is required. Option C is incorrect because the error relates to the gateway, not to SQL Server remote connection settings.

174
MCQmedium

A company uses Azure Synapse Analytics dedicated SQL pool. They notice that queries against a large fact table are slow. They have already created statistics on all columns used in WHERE clauses and JOIN predicates. What should they do next to improve query performance?

A.Enable result-set caching.
B.Increase the DWU setting for the dedicated SQL pool.
C.Create additional statistics on all columns.
D.Partition the table on a frequently filtered column.
AnswerD

Partitioning enables partition elimination, reducing the amount of data scanned.

Why this answer

Partitioning on a frequently filtered column enables partition elimination, reducing the amount of data scanned and improving query performance. Option A (result-set caching) caches query results for repeated queries, but this question is about slow queries on a large fact table, not repeated queries. Option B (increasing DWU) might improve performance by providing more resources, but it is a more costly approach and not the best first step; partitioning is a better design optimization.

Option C (creating additional statistics on all columns) is unnecessary because they already have statistics on columns used in WHERE and JOIN; statistics on all columns would waste resources and not help.

175
MCQmedium

Your organization uses Azure Synapse Analytics serverless SQL pools to query data in Azure Data Lake Storage Gen2. You need to ensure that only authorized users can access the data via the serverless SQL endpoint, while minimizing administrative overhead. What should you use?

A.Enable Microsoft Entra ID authentication and grant users permissions via Azure RBAC on the storage account.
B.Use managed identities for the serverless SQL pool.
C.Use storage account access keys for authentication.
D.Use shared access signatures (SAS) tokens generated for each user.
AnswerA

Microsoft Entra ID pass-through authentication allows users to authenticate with their Azure AD identities, and RBAC controls access to storage, minimizing overhead.

Why this answer

Microsoft Entra ID authentication allows users to authenticate with their existing identities, and Azure RBAC on the storage account provides granular, identity-based access control without managing separate SQL logins or credentials, minimizing administrative overhead. Option B is incorrect because managed identities are designed for service-to-service authentication, not for individual users. Option C is incorrect because storage account access keys provide broad, shared access that does not support per-user identity and auditing.

Option D is incorrect because SAS tokens require token generation and management per user, adding overhead.

176
MCQeasy

You need to monitor the health of your Azure Data Factory pipelines and set up alerts for failures. Which Azure service should you use to collect and analyze pipeline run logs?

A.Azure Purview
B.Azure Log Analytics
C.Azure Monitor
D.Azure Sentinel
AnswerC

Collects metrics and logs for Azure Data Factory.

Why this answer

Azure Monitor is the primary service for collecting and analyzing pipeline run logs and metrics in Azure Data Factory. Option A is wrong because Azure Purview is a data governance service, not for monitoring. Option B is wrong because Azure Log Analytics is a component of Azure Monitor used for querying logs, but Azure Monitor itself is the service that collects and analyzes the logs.

Option D is wrong because Azure Sentinel is a SIEM (Security Information and Event Management) solution, not for pipeline monitoring.

177
MCQhard

You have an Azure Synapse Analytics dedicated SQL pool. You notice that some queries are taking longer than expected due to excessive data movement operations. You need to minimize data movement without changing the distribution columns. Which table design approach should you recommend?

A.Use replicated tables for small dimension tables
B.Use round-robin distribution for dimension tables
C.Use hash distribution for all tables
D.Use partitioning on join columns
AnswerA

Replicated tables store a full copy on each node, eliminating data shuffling for joins.

Why this answer

Replicated tables are recommended for small dimension tables because they are copied to all compute nodes, avoiding data movement during joins. This reduces excessive data movement without changing distribution columns. Option B is incorrect because round-robin distribution distributes data evenly but does not reduce data movement for joins; it is typically used for staging tables.

Option C is incorrect because using hash distribution for all tables can lead to data movement when joining on different columns, and it is not a one-size-fits-all solution. Option D is incorrect because partitioning alone does not reduce data movement; it is used for data management and pruning, not for minimizing shuffle operations.

178
MCQmedium

You are using Azure Purview to scan an Azure Data Lake Storage Gen2 account. After scanning, you notice that some files are not classified. What is the most likely reason?

A.The storage account is not registered in Purview
B.The files are in Parquet format
C.The classification rules are disabled
D.The file types are not included in the scan rule set
AnswerD

Default rule sets may not include all file types.

Why this answer

Purview uses scan rule sets to determine which file types to scan and apply classifications. If the file type is not included in the scan rule set, those files will be skipped during scanning, leading to no classification. Option A is incorrect because if the storage account were not registered, no files would be scanned at all.

Option B is incorrect because Parquet files are supported and can be classified. Option C is incorrect because if classification rules were disabled, no files would be classified, not just some.

179
MCQhard

You are monitoring an Azure Synapse Analytics dedicated SQL pool that is experiencing performance degradation during peak hours. You notice that some queries are being queued due to resource contention. You need to optimize query performance without scaling the Data Warehouse Units (DWUs). Which action should you take?

A.Increase the DWU setting to allocate more resources.
B.Create materialized views for frequently joined tables.
C.Configure result-set caching for the dedicated SQL pool.
D.Implement workload classification and assign the queries to a higher importance level.
AnswerC

Result-set caching stores query results in SSD, reducing resource usage for repeated queries and alleviating contention.

Why this answer

Result-set caching can significantly reduce query time for repeated queries by storing results in SSD, reducing resource contention. Option A is wrong because increasing DWUs changes the scale, which is not allowed per the requirement. Option B is wrong because materialized views help but do not directly address contention from repeated queries.

Option D is wrong because workload classification manages concurrency but does not reduce resource usage for repeated queries.

180
Multi-Selectmedium

You are a data engineer for a company that uses Azure Synapse Analytics dedicated SQL pool. You need to implement security best practices to protect sensitive data. Which TWO actions should you take? (Choose two.)

Select 2 answers
A.Configure a firewall rule to allow only specific IP addresses.
B.Enable Azure Storage encryption for the underlying storage.
C.Enable Transparent Data Encryption (TDE) on the dedicated SQL pool.
D.Use Dynamic Data Masking to obfuscate sensitive data from all users.
E.Implement column-level security to restrict access to sensitive columns.
AnswersC, E

Correct: TDE encrypts the database at rest, protecting data files from unauthorized access.

Why this answer

Options C and E are correct. C: Transparent Data Encryption (TDE) encrypts data at rest in the dedicated SQL pool, protecting against unauthorized access to the physical storage. E: Column-level security restricts access to sensitive columns based on user roles or identities, ensuring that only authorized users can view or modify sensitive data.

A is incorrect because firewall rules control network access, not data protection within the database. B is incorrect because Azure Storage encryption is enabled by default for all storage accounts and is not a security measure specific to Synapse SQL pool. D is incorrect because Dynamic Data Masking obfuscates data from all users, but it does not prevent access; users can still see the original data if they have permissions, unlike column-level security which can block access entirely.

181
MCQmedium

You are designing a data processing solution in Azure Synapse Analytics. The solution must prevent unauthorized access to data at rest and in transit. Which combination of features should you implement?

A.Enable Transparent Data Encryption (TDE) and enforce TLS 1.2.
B.Use Azure RBAC and firewall rules.
C.Use Always Encrypted and column-level security.
D.Store encryption keys in Azure Key Vault and enable double encryption.
AnswerA

TDE encrypts data at rest, and TLS 1.2 encrypts data in transit.

Why this answer

Transparent Data Encryption (TDE) encrypts data at rest in Azure Synapse Analytics, and enforcing TLS 1.2 ensures encryption of data in transit. Option B (Azure RBAC and firewall rules) controls access but does not provide encryption. Option C (Always Encrypted and column-level security) is primarily for client-side encryption and access control, not comprehensive at-rest encryption.

Option D (storing keys in Key Vault and enabling double encryption) relates to key management and infrastructure encryption, but the direct combination of TDE and TLS 1.2 is the required solution.

182
MCQhard

You deploy the Azure Security Center automation shown in the exhibit. What is the purpose of this automation?

A.It configures Azure Monitor to log high-severity alerts.
B.It applies an Azure Policy to remediate high-severity alerts.
C.It sends high-severity security alerts to an Event Hub for further processing.
D.It creates incidents in Azure Sentinel for high-severity alerts.
AnswerC

The action type is EventHub, and source severity is High.

Why this answer

Azure Security Center automation can be configured to send high-severity security alerts to an Event Hub for further processing, enabling integration with SIEM systems or custom workflows. Option A is incorrect because Azure Monitor logging is not configured by this automation; it's about forwarding alerts. Option B is incorrect because Azure Policy is used for compliance enforcement, not for remediating alerts via automation.

Option D is incorrect because creating incidents in Azure Sentinel is a separate action, not directly triggered by this automation; it forwards alerts to Event Hub.

183
MCQeasy

Refer to the exhibit. You run the Kusto query in Azure Monitor Logs to analyze Data Factory pipeline runs. What is the purpose of this query?

A.List all pipeline runs regardless of status
B.Identify pipelines with the most failed activity runs per hour
C.Calculate the average duration of failed pipeline runs
D.Show the number of failed trigger runs per hour
AnswerB

The query counts failed runs per pipeline per hour and sorts descending.

Why this answer

The query filters pipeline runs with a status of 'Failed', groups them by pipeline name and hourly time bins, then counts the number of failed activity runs per hour. The results are sorted descending by count, making it easy to identify which pipelines have the most failed activity runs per hour. Therefore, option B is correct.

Option A is incorrect because the query only includes failed runs, not all runs. Option C is incorrect because the query counts runs, not calculates duration. Option D is incorrect because the query filters on pipeline runs, not trigger runs.

184
MCQmedium

You are configuring security for an Azure Synapse Analytics workspace. You need to ensure that only users in the 'DataScientists' Microsoft Entra group can read data from the 'sales' schema in the serverless SQL pool. What should you configure?

A.Create a server-level login for the group and assign it to the 'public' role
B.Create a database user mapped to the Microsoft Entra group and grant SELECT ON SCHEMA::sales to the group
C.Assign the 'Synapse SQL Administrator' role to the group at workspace level
D.Create a contained database user with password and assign it to the 'db_datareader' role
AnswerB

Granular permissions at schema level

Why this answer

You create a database user mapped to the Microsoft Entra group in the serverless SQL pool database, then grant SELECT ON SCHEMA::sales to that user. This ensures only members of the 'DataScientists' group have permission to read data from the 'sales' schema. Option A is wrong because a server-level login for the group does not grant specific schema-level permissions; the 'public' role provides broad access.

Option C is wrong because the 'Synapse SQL Administrator' role grants too many permissions (admin-level access) and is not schema-specific. Option D is wrong because a contained database user with password does not leverage Microsoft Entra group membership, and the 'db_datareader' role grants read access to all tables, not just the 'sales' schema.

185
MCQhard

Your company uses Azure Data Lake Storage Gen2 with hierarchical namespace enabled. You need to optimize costs for a large dataset that is accessed only once a month for reporting. The data must be retained for 7 years. Which storage tier and lifecycle management rule should you configure?

A.Hot tier with no lifecycle policy
B.Cool tier with lifecycle policy to Archive after 30 days
C.Premium tier with lifecycle policy to Cool after 30 days
D.Archive tier with no lifecycle policy
AnswerB

Cool tier balances cost and access; Archive after 30 days reduces cost further.

Why this answer

Cool tier is cost-effective for data accessed infrequently (once a month), and a lifecycle policy to move data to Archive after 30 days further reduces costs while meeting the 7-year retention requirement. Option A (Hot tier) is expensive for infrequent access. Option C (Premium tier) is designed for high-throughput workloads, not cost optimization.

Option D (Archive tier with no lifecycle) incurs high retrieval costs for monthly access and doesn't leverage tiering.

186
MCQhard

A company uses Azure Stream Analytics to process real-time data from IoT devices. They need to ensure that the output to Azure Synapse Analytics is optimized for high throughput and low latency. What should they configure in the Stream Analytics job?

A.Use Azure SQL Database output instead of Azure Synapse Analytics.
B.Partition the output by a key and use a columnstore index in the target table.
C.Use a single partition for the output to simplify processing.
D.Disable batching to reduce latency.
AnswerB

Partitioning parallelizes writes and columnstore indexes are optimized for analytics.

Why this answer

Partitioning the output by a key enables parallel writes to Azure Synapse Analytics, significantly improving throughput, and using a columnstore index optimizes the target table for large data loads, reducing latency. Option A is incorrect because the question specifically requires Azure Synapse Analytics output, not Azure SQL Database. Option C is wrong because a single partition serializes writes, reducing throughput.

Option D is incorrect because disabling batching increases the number of write transactions, leading to higher latency and reduced throughput.

187
MCQhard

You are reviewing an ARM template for Azure SQL Database security alert policy. Based on the exhibit, which threats will trigger an alert?

A.All alerts except SQL Injection and Access Anomaly
B.No alerts will be triggered because the policy is disabled
C.SQL Injection and Access Anomaly
D.SQL Injection Vulnerability and Data Exfiltration
AnswerD

These alerts are not listed as disabled, so they are enabled.

Why this answer

The ARM template shows the security alert policy is enabled (state = Enabled). The disabledAlerts list includes 'Sql_Injection' and 'Access_Anomaly', meaning these two alert types are suppressed and will not trigger alerts. All other alert types (e.g., Sql_Injection_Vulnerability, Data_Exfiltration, Unsafe_Action) remain enabled and will trigger alerts.

Therefore, option D is correct because SQL Injection Vulnerability and Data Exfiltration are among the enabled threats.

188
Multi-Selecthard

Which THREE metrics from Azure Monitor should you use to evaluate the performance of an Azure Data Lake Storage Gen2 account?

Select 3 answers
A.Ingress
B.CPU Usage
C.Success E2E Latency
D.Available Storage Capacity
E.Blob Count
AnswersA, C, E

Measures incoming throughput.

Why this answer

To evaluate the performance of an Azure Data Lake Storage Gen2 account, key metrics include Ingress (data written to the account), Success E2E Latency (end-to-end latency of successful requests), and Blob Count (total number of blobs/objects). Option A (Ingress) is correct because it measures the throughput of data entering the storage account. Option C (Success E2E Latency) is correct as it reflects the overall response time for successful operations.

Option E (Blob Count) is correct because it helps assess scalability and cost. Options B (CPU Usage) and D (Available Storage Capacity) are not metrics for storage accounts; CPU is for compute resources, and capacity is a property, not a performance metric.

189
MCQeasy

You have an Azure Stream Analytics job that writes output to Azure Synapse Analytics. You need to ensure that the job can authenticate to Synapse Analytics using a managed identity. What should you do?

A.Enable system-assigned managed identity on the Stream Analytics job and configure the output to use it.
B.Generate a shared access signature (SAS) token for the Synapse Analytics workspace.
C.Create a user-assigned managed identity and assign it to the Stream Analytics job.
D.Configure the output to use SQL Server authentication with a username and password.
AnswerA

This is the correct method to use managed identity for authentication.

Why this answer

To authenticate to Azure Synapse Analytics using a managed identity, you should enable the system-assigned managed identity on the Stream Analytics job (it is enabled by default) and then configure the output to use managed identity authentication. Option A is correct. Option B is incorrect because a SAS token is not a managed identity.

Option C is incorrect because while a user-assigned managed identity could be used, the system-assigned managed identity is sufficient and is the simpler option. Option D is incorrect because SQL Server authentication does not use managed identity and is less secure than managed identity authentication.

190
MCQmedium

You have an Azure Data Lake Storage Gen2 account that stores parquet files. You need to ensure that files containing personally identifiable information (PII) are automatically classified and tagged. Which Azure service should you integrate?

A.Azure Policy
B.Microsoft Sentinel
C.Microsoft Defender for Cloud
D.Microsoft Purview
AnswerD

Purview provides automated scanning and classification of PII.

Why this answer

Microsoft Purview provides automated data classification and labeling for Azure Storage, including Azure Data Lake Storage Gen2. Option A is wrong because Azure Policy enforces rules but does not classify content. Option B is wrong because Microsoft Sentinel is a SIEM, not for classification.

Option C is wrong because Microsoft Defender for Cloud is for security posture, not data classification.

191
Multi-Selecteasy

Which TWO configurations are recommended to secure data processing in Azure Synapse Pipelines?

Select 2 answers
A.Configure a self-hosted integration runtime on a public cloud VM.
B.Use the default Auto-resolve Integration Runtime for all data flows.
C.Store connection strings and secrets in Azure Key Vault and reference them via linked services.
D.Enable Managed Virtual Network (VNet) to isolate data flows.
E.Allow all public IP addresses to access the Azure Synapse workspace.
AnswersC, D

Key Vault centralizes secret management.

Why this answer

Storing connection strings and secrets in Azure Key Vault and referencing them via linked services ensures secrets are stored securely and not exposed in pipeline definitions. Option D is correct: Enabling Managed Virtual Network (VNet) isolates data flows within a managed network boundary, preventing public network access. Option A is incorrect: Configuring a self-hosted integration runtime on a public cloud VM does not necessarily improve security; it may expose the runtime to the public internet.

Option B is incorrect: Using the default Auto-resolve Integration Runtime is not recommended for secure data processing because it may use public endpoints and lacks network isolation. Option E is incorrect: Allowing all public IP addresses to access the Azure Synapse workspace exposes the workspace to potential security threats.

192
MCQeasy

Your organization uses Azure SQL Database with Active Geo-Replication for disaster recovery. You need to ensure that all connections to the database use Microsoft Entra ID authentication and that access is audited. You also want to minimize the attack surface by disabling SQL authentication. What should you do?

A.Configure Conditional Access policies to require MFA for database access.
B.Enable 'Azure AD-only authentication' in the Azure SQL Database server settings and remove all SQL Server authenticated logins.
C.Create a server-level firewall rule to allow only specific IP addresses and enable SQL authentication.
D.Create an Azure RBAC role to restrict access to the database and assign it to users.
AnswerB

Disables SQL authentication and enforces Entra ID.

Why this answer

Enabling 'Azure AD-only authentication' in the Azure SQL Database server settings disables SQL authentication and enforces Microsoft Entra ID authentication, which also ensures auditing through Entra ID logs. Option A is incorrect: Conditional Access policies enforce MFA for Entra ID authentication, but they do not disable SQL authentication, leaving the attack surface open. Option C is incorrect: Creating a firewall rule restricts IP addresses but does not disable SQL authentication.

Option D is incorrect: Azure RBAC controls management plane access (e.g., resource management), not database-level authentication; it does not disable SQL authentication.

193
MCQeasy

You need to monitor an Azure Data Factory pipeline for failures and send an email notification when a pipeline run fails. Which Azure service should you use to create an alert based on the pipeline run metrics?

A.Microsoft Sentinel
B.Azure Monitor
C.Azure Service Health
D.Azure Log Analytics
AnswerB

Azure Monitor can create alerts based on ADF metrics like 'Failed pipeline runs', making it the correct choice.

Why this answer

Azure Monitor can create alerts based on ADF metrics like 'Failed pipeline runs'. Option A is wrong because Microsoft Sentinel is for security. Option C is wrong because Azure Service Health monitors Azure service health, not pipeline runs.

Option D is wrong because Azure Log Analytics is for log queries, not alerting.

194
MCQeasy

You need to monitor the performance of an Azure Synapse Analytics dedicated SQL pool. Which DMV should you query to find queries that are currently running and their execution status?

A.sys.dm_pdw_nodes
B.sys.dm_pdw_request_steps
C.sys.dm_pdw_errors
D.sys.dm_pdw_exec_requests
AnswerD

This DMV lists all currently executing requests and their status.

Why this answer

Sys.dm_pdw_exec_requests shows currently running requests in a dedicated SQL pool. Option A is wrong because sys.dm_pdw_nodes is a system view, not for queries. Option B is wrong because sys.dm_pdw_request_steps shows steps of completed or running requests, not high-level status.

Option C is wrong because sys.dm_pdw_errors shows errors, not running queries.

195
MCQeasy

Your company uses Azure Blob Storage to store backups. You need to ensure that data is encrypted at rest using a customer-managed key stored in Azure Key Vault. Which feature should you enable?

A.Azure Purview
B.Azure Disk Encryption
C.Azure Storage Service Encryption with customer-managed keys
D.Azure Information Protection
AnswerC

Allows using CMK from Key Vault for Blob Storage.

Why this answer

Azure Storage Service Encryption (SSE) encrypts data at rest and supports customer-managed keys stored in Azure Key Vault. Option A is incorrect because Azure Purview is a data governance service, not for encryption. Option B is incorrect because Azure Disk Encryption is used for virtual machine disks, not Blob Storage.

Option D is incorrect because Azure Information Protection is for classification and labeling. Therefore, option C is correct.

196
Multi-Selecthard

You are optimizing an Azure Synapse Analytics dedicated SQL pool. The workload includes large fact tables and dimension tables. You need to improve query performance for star join queries. Which TWO actions should you take?

Select 2 answers
A.Use round-robin distribution on fact tables.
B.Use hash distribution on dimension tables.
C.Use heap table structure for fact tables.
D.Use replicated distribution on dimension tables.
E.Use hash distribution on fact tables using the join key.
AnswersD, E

Replicated tables avoid data movement.

Why this answer

The correct actions are D and E. For star join queries in Azure Synapse Analytics dedicated SQL pool, best practices are to use hash distribution on fact tables using the join key (option E) to distribute data across distributions efficiently, and use replicated distribution on dimension tables (option D) to avoid data movement. Option A is wrong because round-robin distribution is suitable for staging or temporary tables, not for large fact tables in star schemas.

Option B is wrong because dimension tables should be replicated, not hash-distributed, to minimize shuffling. Option C is wrong because heap tables are not optimized for analytical queries; clustered columnstore index is the recommended table structure for fact tables.

197
MCQhard

Your team is running a critical Azure Stream Analytics job that writes results to Azure SQL Database. Recently, the job has been failing with high latency and occasional data loss. You need to monitor the job's performance and set up alerts for when the watermark delay exceeds a threshold. What should you use?

A.Application Insights SDK integration in the job.
B.Azure Log Analytics workspace connected to the job diagnostics logs.
C.Azure Monitor metrics for the Stream Analytics job.
D.Azure Data Explorer for querying job performance data.
AnswerC

Azure Monitor provides built-in metrics like watermark delay and can trigger alerts.

Why this answer

Azure Monitor provides built-in metrics for Azure Stream Analytics jobs, including the watermark delay metric, which can be used to set up alerts. Option A is incorrect because Application Insights SDK integration is not supported for Stream Analytics jobs; monitoring is done via Azure Monitor metrics. Option B is incorrect because while Log Analytics can store diagnostics logs, it does not directly expose the watermark delay metric for alerting.

Option D is incorrect because Azure Data Explorer is a data exploration service, not a monitoring tool for Stream Analytics.

198
MCQhard

Your Azure Data Lake Storage Gen2 account stores sensitive customer data. You need to ensure that data is encrypted at rest using customer-managed keys (CMK) and that access to the encryption key is logged. What should you do?

A.Enable infrastructure encryption on the storage account.
B.Enable double encryption using both platform-managed and customer-managed keys.
C.Configure customer-managed keys in Azure Key Vault and enable Key Vault diagnostics logging.
D.Use Azure Storage Service Encryption (SSE) with platform-managed keys.
AnswerC

CMK in Key Vault allows customer control, and diagnostics logs capture key access events.

Why this answer

Customer-managed keys (CMK) stored in Azure Key Vault allow you to control and audit key usage, and enabling Key Vault diagnostics logging captures access events. Option A is incorrect because infrastructure encryption uses platform-managed keys. Option B is incorrect because double encryption adds a second layer but does not directly provide logging of key access.

Option D is incorrect because SSE with platform-managed keys does not give customer control or logging.

199
MCQeasy

You need to audit all queries run against an Azure Synapse Analytics serverless SQL pool. What should you enable?

A.Azure SQL Auditing on the serverless SQL pool endpoint
B.Microsoft Purview to scan and catalog queries
C.Azure Policy to enforce auditing
D.Azure Monitor diagnostic settings
AnswerA

Auditing captures detailed query logs.

Why this answer

Azure SQL Auditing is the correct feature to audit all queries against an Azure Synapse Analytics serverless SQL pool. It captures query logs at the server level, providing detailed information about database activities, including the actual query text. Option B (Azure Monitor diagnostic settings) is for collecting metrics and logs but not specific query text for auditing.

Option C (Azure Policy) is used for enforcing compliance rules, not auditing queries. Option D (Microsoft Purview) is for data cataloging and governance, not query auditing.

200
MCQmedium

You are responsible for managing an Azure Data Lake Storage Gen2 account that stores parquet files for analytics. You need to implement a data retention policy that automatically deletes files older than 90 days in the 'logs' container. Additionally, you need to ensure that no data is lost due to accidental deletion; you want to be able to recover deleted files within 30 days. You also need to monitor the storage account for unusual access patterns. The solution must minimize administrative effort. What should you do?

A.Enable soft delete with a retention period of 30 days and configure a lifecycle management rule to delete blobs older than 90 days
B.Create an Azure Policy to enforce tag-based retention and use Azure Monitor to alert on access
C.Enable versioning and configure a retention policy in Azure Policy
D.Use Azure Backup for the storage account and manually delete old files
AnswerA

Correct: Soft delete enables recovery within 30 days, and lifecycle management automatically deletes files older than 90 days.

Why this answer

Enabling soft delete with a 30-day retention period allows recovery of accidentally deleted files within that window. Configuring a lifecycle management rule to delete blobs older than 90 days automatically enforces the retention policy. This combination minimizes administrative effort.

Option B is incorrect because Azure Policy cannot enforce retention or recovery at the blob level. Option C is incorrect because versioning is not equivalent to soft delete for ADLS Gen2 and Azure Policy does not manage retention. Option D is incorrect because manual deletion does not provide automatic enforcement and Azure Backup is not designed for storage-level lifecycle management.

Exam trap

Candidates often confuse soft delete with versioning or Azure Policy. Remember that soft delete provides point-in-time recovery, while lifecycle management automates deletion based on age.

201
MCQmedium

You are reviewing the ARM template snippet for an Azure Data Lake Storage Gen2 account. The template fails to deploy with an error that the encryption key cannot be accessed. What is the most likely cause?

A.The key vault does not have soft-delete enabled.
B.The Data Lake Storage account does not have Get and Wrap Key permissions on the key vault.
C.The key name or version is incorrect.
D.The key vault URI is incorrectly formatted.
AnswerB

The storage account's identity must have these permissions to use the key.

Why this answer

The error occurs because the Data Lake Storage Gen2 account uses a customer-managed key from a key vault for encryption. The account's managed identity must have the 'Get' and 'Wrap Key' permissions on the key vault to access the key. Without these permissions, the deployment fails.

Option B correctly identifies this. Option A (soft-delete) is not required for initial access but is recommended for protection. Option C (key name/version) would cause a different error (key not found).

Option D (URI format) would also cause a different error.

202
Multi-Selecteasy

You need to secure access to an Azure Data Lake Storage Gen2 account. Which THREE methods can you use to authenticate and authorize access?

Select 3 answers
A.SQL connection strings.
B.Shared access signatures (SAS).
C.Managed identities.
D.Access control lists (ACLs).
E.Azure RBAC roles.
AnswersB, D, E

SAS tokens provide delegated access to resources.

Why this answer

Shared access signatures (SAS), access control lists (ACLs), and Azure RBAC roles are all valid methods to authenticate and authorize access to Azure Data Lake Storage Gen2. SAS tokens provide delegated access, ACLs control permissions at the file/directory level, and RBAC roles provide role-based permissions at the storage account or container level. SQL connection strings are used for Azure SQL Database, not ADLS Gen2.

Managed identities are identities, not authorization methods; they can be used with RBAC but are not a direct method themselves.

203
MCQhard

Refer to the exhibit. You are reviewing an ARM template for an Azure Data Lake Storage Gen2 account. Which of the following security best practices is violated in this template?

A.The location should be fixed instead of using resourceGroup().location
B.The SKU should be Standard_GRS for disaster recovery
C.The account does not enable hierarchical namespace (HNS)
D.The account allows HTTP traffic and uses an outdated TLS version
AnswerD

supportsHttpsTrafficOnly: false and TLS1_0 are insecure.

Why this answer

The template sets supportsHttpsTrafficOnly to false, allowing HTTP traffic, which is insecure. Additionally, minimumTlsVersion is set to TLS1_0, an outdated and insecure version. Option A is incorrect because the location uses resourceGroup().location, which is a common and acceptable practice for flexibility.

Option B is incorrect because Standard_LRS is a valid SKU; Geo-redundant storage is not a security best practice requirement. Option C is incorrect because the template does enable hierarchical namespace (isHnsEnabled: true), so that is not a violation.

204
MCQmedium

Refer to the exhibit. You are reviewing a Data Factory JSON definition. The factory has a user-assigned managed identity configured. However, the linked service to Azure Storage uses an account key. What security improvement should you recommend?

A.Add a firewall rule to limit access to the storage account
B.Modify the linked service to use the managed identity for authentication
C.Remove the managed identity and use a service principal
D.Keep the account key but store it in Azure Key Vault
AnswerB

Managed identity eliminates the need for account key.

Why this answer

The recommended security improvement is to modify the linked service to use the managed identity for authentication (option B). The user-assigned managed identity is already configured but not being used; instead, the linked service is using an account key, which requires storing a secret. Using the managed identity eliminates the need for secrets and leverages Azure AD authentication, which is more secure and easier to manage.

Option A (firewall rule) addresses network access but not authentication. Option C (remove managed identity and use service principal) would replace one identity-based approach with another, but the managed identity is already in place and should be utilized. Option D (store key in Key Vault) still involves storing a secret, which is less secure than using the managed identity directly when possible.

205
MCQeasy

You need to implement column-level security in Azure Synapse Analytics to restrict access to salary information. Only users with the 'HRManager' role should see salary columns. Which feature should you use?

A.Row-level security using security predicates
B.Dynamic data masking
C.Column-level security using GRANT on columns
D.Azure Purview data classification
AnswerC

CLS allows granting SELECT on specific columns to roles.

Why this answer

Column-level security (CLS) in Azure Synapse Analytics uses GRANT on specific columns to restrict access. Option A is incorrect because row-level security filters rows, not columns. Option B is incorrect because dynamic data masking obfuscates data but does not prevent access.

Option D is incorrect because Azure Purview is a governance tool, not a security enforcement mechanism.

Exam trap

Candidates may confuse row-level security (RLS) with column-level security. RLS controls row access via security predicates, while CLS controls column access via GRANT.

206
Multi-Selecteasy

Which TWO monitoring metrics in Azure Monitor for Azure Synapse Analytics dedicated SQL pool can help identify performance bottlenecks? (Choose two.)

Select 2 answers
A.CPU percentage
B.Queued queries
C.Storage used
D.Data movement (shuffle) metrics
E.DWU used
AnswersB, D

High number of queued queries indicates concurrency issues.

Why this answer

Queued queries (B) indicate concurrency bottlenecks when queries are waiting for resources, while data movement (shuffle) metrics (D) help identify performance issues caused by data redistribution during query execution. CPU percentage (A) is a general resource metric but not a specific bottleneck indicator for dedicated SQL pool. Storage used (C) relates to capacity planning, not performance bottlenecks.

DWU used (E) shows overall resource consumption but does not pinpoint specific bottlenecks.

207
MCQmedium

You are using Azure Data Explorer to monitor real-time sensor data. You run the KQL query shown in the exhibit. What is the purpose of this query?

A.To detect anomalies in the sensor data
B.To calculate the average value of a numeric column over time
C.To visualize the count of events every 5 minutes over the last hour
D.To filter events from a specific sensor
AnswerC

The summarize and render timechart achieve this.

Why this answer

The query uses `summarize count()` with `bin(Timestamp, 5m)` to count events in 5-minute intervals and then renders a timechart, effectively visualizing the count of events every 5 minutes over the last hour. Option A is incorrect because detecting anomalies would require functions like `series_decompose_anomalies`. Option B is incorrect because the query does not calculate an average; it counts events.

Option D is incorrect because it does not filter by a specific sensor; it aggregates all events.

208
MCQhard

You are designing a disaster recovery plan for an Azure Synapse Analytics dedicated SQL pool. The primary region becomes unavailable. You need to fail over to a secondary region with minimal data loss. The recovery point objective (RPO) is 1 hour. What should you configure?

A.Configure active geo-replication to the secondary region.
B.Use automatic restore points and copy them to the secondary region using Azure Data Factory.
C.Enable geo-backup on the dedicated SQL pool.
D.Create user-defined restore points every hour and store them in the secondary region.
AnswerC

Geo-backup automatically creates backups and replicates to a paired region with a 1-hour RPO.

Why this answer

Geo-backup is a built-in feature for Azure Synapse Analytics dedicated SQL pools that automatically takes full backups at regular intervals and replicates them to a paired region. The default recovery point objective (RPO) is 1 hour, meeting the requirement. Option A is incorrect because active geo-replication is a feature for Azure SQL Database, not for Synapse dedicated SQL pools.

Option B is incorrect because automatic restore points are local and not automatically replicated; copying them via Azure Data Factory adds complexity and does not guarantee the RPO. Option D is incorrect because user-defined restore points are manual and would require additional orchestration to store them in a secondary region, making it less reliable and harder to meet the 1-hour RPO consistently.

209
MCQhard

You are reviewing the ARM template above. The storage account is created with hierarchical namespace enabled (isHnsEnabled: true). After deployment, you need to ensure that the 'data-engineers' group can execute but not read the contents of the root directory. What should you do?

A.Modify the ARM template to set the 'isHnsEnabled' property to false and redeploy
B.Assign the Storage Blob Data Reader role to the data-engineers group at the storage account level
C.Configure a firewall rule to allow only the data-engineers group's IP addresses
D.Use the Azure portal to set ACLs on the root directory, granting execute permission to the data-engineers group without read permission
AnswerD

ACLs allow granular permissions; execute alone allows traversal but not listing contents.

Why this answer

In Azure Data Lake Storage Gen2 (with hierarchical namespace enabled), ACLs are used to set granular permissions at the directory or file level. To grant only execute permission on the root directory without read, you must set an ACL entry that specifically grants execute (--x) to the 'data-engineers' group. Option A is incorrect because disabling hierarchical namespace would change the storage type and not achieve the desired ACL-based permission.

Option B is incorrect because the Storage Blob Data Reader role grants read and list access, not just execute. Option C is incorrect because firewall rules control network access, not permissions on directories.

210
MCQmedium

Your organization uses Azure Purview for data governance. You need to automatically scan an Azure Data Lake Storage Gen2 account and classify sensitive data such as credit card numbers and social security numbers. What should you configure?

A.Azure Information Protection (AIP) scanner
B.Microsoft Defender for Cloud
C.A new scan rule set in Purview with classification rules for sensitive data types
D.Azure Policy with built-in guest configuration
AnswerC

Purview can create custom scan rule sets that include classification rules to detect sensitive data during scans.

Why this answer

A new scan rule set in Purview with classification rules for sensitive data types. Purview allows you to create custom scan rule sets that include classification rules for sensitive data types like credit card numbers and social security numbers. When you run a scan on Azure Data Lake Storage Gen2, it uses these rules to automatically detect and classify the sensitive data.

Option A is incorrect because Azure Information Protection (AIP) scanner is for classifying and protecting files in on-premises file shares and SharePoint, not for scanning Azure Data Lake Storage. Option B is incorrect because Microsoft Defender for Cloud is for security posture management and threat detection, not data classification. Option D is incorrect because Azure Policy with guest configuration is for auditing and enforcing compliance settings on virtual machines, not for data classification in storage.

211
MCQmedium

You are designing a data processing solution in Azure Synapse Analytics. The solution must ensure that data at rest in a dedicated SQL pool is encrypted using customer-managed keys (CMK) stored in Azure Key Vault. The encryption should be enabled at the database level. What should you configure?

A.Transparent Data Encryption (TDE) with a customer-managed key in Azure Key Vault.
B.Azure Purview data classification and encryption policies.
C.Azure Disk Encryption on the nodes hosting the dedicated SQL pool.
D.Always Encrypted with keys stored in Azure Key Vault.
AnswerA

Correct. Transparent Data Encryption (TDE) with a customer-managed key in Azure Key Vault enables database-level encryption for dedicated SQL pools, meeting the requirement.

Why this answer

Transparent Data Encryption (TDE) with a customer-managed key in Azure Key Vault provides database-level encryption for dedicated SQL pools in Azure Synapse Analytics. TDE encrypts data at rest, and using a customer-managed key (CMK) allows the organization to control the key lifecycle. Option B is incorrect because Azure Purview is for data governance and classification, not encryption.

Option C is incorrect because Azure Disk Encryption encrypts VM disks, not the SQL pool database. Option D is incorrect because Always Encrypted is a column-level encryption feature, not for full database encryption.

212
MCQhard

Your Azure Data Factory pipeline uses a Self-Hosted Integration Runtime (SHIR) to copy data from an on-premises SQL Server to Azure Blob Storage. The copy activity is failing with a timeout error after 30 minutes. The data volume is 50 GB. You need to optimize the data transfer performance. Which configuration change should you make first?

A.Increase the 'Degree of copy parallelism'
B.Enable staging copy via Azure Blob Storage
C.Increase the 'Activity retry' count
D.Reduce the 'Data Integration Unit' (DIU) setting
AnswerA

Parallelism improves throughput for large data

Why this answer

Increasing the 'Degree of copy parallelism' allows multiple threads to read from the source and write to the sink concurrently, significantly improving throughput for large datasets like 50 GB. Option B is incorrect because staging copy is used for scenarios like cross-cloud transfers or to leverage intermediate storage for performance, but it adds overhead and is not the first optimization for direct on-premises to Azure Blob copy. Option C is incorrect because increasing activity retry count only handles transient failures, not performance issues.

Option D is incorrect because reducing Data Integration Units would decrease the resources available for the copy activity, worsening performance.

213
MCQmedium

You have an Azure Synapse Analytics serverless SQL pool that queries data in Azure Data Lake Storage Gen2. You need to ensure that only users with specific Microsoft Entra ID groups can access the data through the serverless SQL pool. What should you configure?

A.Grant the Microsoft Entra ID group the Storage Blob Data Reader role on the storage account
B.Grant the Microsoft Entra ID group CONNECT permission on the serverless SQL pool and configure ACLs on the storage to allow read access for the group
C.Configure a firewall rule to allow only the Microsoft Entra ID group IP ranges
D.Use a shared access signature (SAS) token with the SQL pool and distribute it to users
AnswerB

Both SQL permissions and storage ACLs are needed.

Why this answer

Controlling access involves two layers: the serverless SQL pool and the underlying storage. Users must have both CONNECT permission on the SQL pool to query and appropriate ACLs on the storage to read the data. Granting the Microsoft Entra ID group CONNECT permission and configuring ACLs on the storage account to allow read access for the group ensures that only those users can access data through the serverless SQL pool.

Option A is incorrect because the Storage Blob Data Reader role alone does not grant SQL-level permissions. Option C is incorrect because firewall rules are network-level and do not provide granular user access. Option D is incorrect because SAS tokens are not recommended for user-level access and bypass Entra ID permissions.

214
MCQmedium

You are designing a data processing solution in Azure Synapse Analytics. The solution must process streaming data from IoT devices and store it in a dedicated SQL pool for reporting. The data volume is high (millions of events per hour), and you need to optimize for both ingestion speed and query performance. You also need to ensure that the data can be partitioned by date for efficient maintenance. Which architecture should you recommend?

A.Ingest data to Azure Data Lake Storage Gen2 in Delta format, then use PolyBase to load into a dedicated SQL pool partitioned by date.
B.Use Azure Stream Analytics to write directly to a dedicated SQL pool with a time-based window.
C.Store data in Azure SQL Database with elastic scaling and use linked server queries.
D.Use Event Hubs Capture to store data in Avro files in Blob Storage and then query with external tables.
AnswerD

Correct. Event Hubs Capture efficiently stores streaming data in Avro format organized by date. External tables in Synapse allow querying with partition elimination, optimizing both ingestion and query performance.

Why this answer

The correct architecture. Event Hubs Capture automatically captures streaming data into Avro files in Blob Storage, which can be organized by date in folder structures. External tables in Azure Synapse can query these files with partition elimination, providing good query performance.

This approach handles high-volume ingestion efficiently without impacting the streaming pipeline. Option A is incorrect because PolyBase in Azure Synapse does not natively support the Delta format (it supports Parquet, ORC, etc.), so loading Delta format using PolyBase is not feasible. Option B is incorrect because direct writes from Stream Analytics to a dedicated SQL pool are not efficient for millions of events per hour due to batch constraints and potential bottlenecks.

Option C is incorrect because Azure SQL Database with elastic scaling is intended for online transaction processing (OLTP) workloads, not large-scale analytical processing.

215
MCQmedium

Your Azure Synapse Analytics dedicated SQL pool is experiencing performance degradation. Queries that previously completed in seconds now take minutes. You notice high queue wait times in sys.dm_pdw_exec_requests. What is the most likely cause?

A.Outdated statistics
B.A single long-running query blocking others
C.Concurrency throttling due to insufficient resources
D.Data skew in distribution
AnswerC

Queue waits indicate queries are waiting for slots; increase SLO or optimize concurrency.

Why this answer

High queue wait times in sys.dm_pdw_exec_requests indicate that queries are waiting for resources, typically due to concurrency throttling when the number of concurrent queries exceeds the capacity of the current Service Level Objective (SLO). Option A (outdated statistics) can cause suboptimal execution plans but not necessarily queue waits. Option B (a single long-running query) would show high execution time for that query, not queue waits for others.

Option D (data skew) leads to uneven distribution and slow data movement, not directly to queue waits.

216
Multi-Selecthard

Which THREE measures should you implement to monitor and optimize the performance of Azure Data Lake Storage Gen2?

Select 3 answers
A.Enable Network Security Group flow logs for the storage account subnet.
B.Enable Storage Insights to monitor capacity and transactions.
C.Configure lifecycle management policies to move cold data to archive tier.
D.Use Azure Storage Analytics logs to analyze latency and request rate.
E.Enable Azure Monitor diagnostic settings to capture read and write requests.
AnswersB, D, E

Storage Insights provides performance metrics.

Why this answer

Azure Storage Insights provides pre-built dashboards to monitor storage account metrics like capacity, transactions, and latency, aiding performance monitoring. Option D is correct: Azure Storage Analytics logs (now part of Azure Monitor) capture latency and request rate data, helping analyze performance. Option E is correct: Enabling diagnostic settings in Azure Monitor captures read and write request details, useful for troubleshooting performance issues.

Option A is incorrect: Network Security Group flow logs monitor network traffic for security purposes, not storage performance. Option C is incorrect: Lifecycle management policies optimize costs by tiering data, not for performance monitoring.

217
MCQhard

Your organization uses Azure Purview for data governance. You need to ensure that only authorized users can register data sources and create classification rules, while other data consumers can only search and browse the data catalog. What should you configure?

A.Assign the Catalog Admin role to curators and Data Reader role to consumers
B.Assign the Data Curator role to curators and Data Reader role to consumers
C.Assign the Collection Admin role to curators and Data Reader role to consumers
D.Assign the Data Source Administrator role to curators and Data Reader role to consumers
AnswerB

Data Curator has full catalog management; Data Reader has read-only access.

Why this answer

Azure Purview uses roles: Data Curator can register sources and manage classifications; Data Reader can only search and browse. Option A is wrong because Data Source Administrator can only manage source registrations. Option C is wrong because Collection Admin manages collections.

Option D is wrong because there is no 'Catalog Admin' role; Purview has built-in roles.

218
MCQeasy

A company uses Azure Data Lake Storage Gen2 with hierarchical namespace enabled. They need to restrict a specific application's access to only write files in a particular directory without being able to read or list files. Which type of permission should be assigned?

A.Configure a firewall rule to allow only the application's IP address.
B.Configure an access control list (ACL) that grants execute and write permissions to the application's service principal.
C.Generate a shared access signature (SAS) with write and list permissions.
D.Assign the Storage Blob Data Contributor role at the storage account level.
AnswerB

ACLs allow fine-grained write-only access without read or list.

Why this answer

Azure Data Lake Storage Gen2 uses POSIX-style ACLs that allow granular permissions. To restrict an application to write-only access without read or list, you grant execute (for directory traversal) and write permissions on the target directory via an ACL entry for the application's service principal. Option A is incorrect because firewall rules control network access, not data permissions.

Option C is incorrect because a SAS with list permission would allow listing; write-only SAS is not easily achievable at directory level. Option D is incorrect because the Storage Blob Data Contributor role at the account level grants read, write, and delete permissions, not write-only.

219
Multi-Selecthard

Which THREE components are valid parts of the Microsoft Purview Data Map? (Choose THREE)

Select 3 answers
A.Scan rule sets
B.Sensitivity labels
C.Data flows
D.Data sources
E.Classifications
AnswersA, D, E

Scan rule sets define how data sources are scanned.

Why this answer

Correct answers: A, D, E. The Microsoft Purview Data Map consists of components that define how data sources are registered and scanned. Scan rule sets (A) are used to configure scanning rules for data sources.

Data sources (D) are the actual data locations that are registered and scanned. Classifications (E) are the rules or patterns that identify data types (e.g., PII) during scanning; they are a core component of the Data Map. B (Sensitivity labels) is incorrect because sensitivity labels are part of Microsoft Information Protection, not a component of the Data Map itself, though they can be applied to assets in Purview.

C (Data flows) is incorrect because data flows are part of Azure Data Factory, not the Data Map.

220
MCQmedium

Refer to the exhibit. You are configuring an Azure Purview data policy for Azure Storage. The policy above is intended to audit all access events. However, the security team complains that not all read events are being audited. What is the most likely reason?

A.The filter predicate is set to 'true', which only captures a subset of events.
B.The storage account is not enabled for Purview policy enforcement.
C.The action group 'ALL_ACTIONS' does not include read events.
D.The policy excludes the 'Read' action by default.
AnswerB

Without enabling 'AllowPurviewPolicyEnforcement' on the storage account, Purview policies are not applied.

Why this answer

The security team reports that not all read events are being audited. The policy uses 'ALL_ACTIONS' which should include read events, so the issue is not with the action group or predicate. The most likely reason is that the storage account has not been enabled for Purview policy enforcement.

Azure Purview requires the 'AllowPurviewPolicyEnforcement' property to be enabled on the storage account for policies to take effect. Without this, no auditing events are captured, even if the policy is correctly defined.

221
MCQhard

An Azure Synapse Analytics pipeline uses a Copy activity to ingest data from Azure Blob Storage into a dedicated SQL pool. You notice that the data load is slow. You need to improve performance by enabling staging. What is the primary benefit of using staging?

A.It reduces the amount of data scanned in the source.
B.It enables data validation before loading.
C.It allows PolyBase to use parallel loading for better throughput.
D.It transforms data into columnstore format before loading.
AnswerC

PolyBase loads from staging files in parallel.

Why this answer

Staging allows PolyBase to bulk load data efficiently. Option A is wrong because staging may actually improve data consistency. Option B is wrong because staging reduces load on the SQL pool.

Option D is wrong because staging uses blobs, not the SQL pool.

222
MCQhard

You are a data engineer for a large e-commerce company. You have an Azure Synapse Analytics dedicated SQL pool that stores transactional data. The pool is currently at DWU1000c. You have a critical dashboard that runs a complex query every 5 minutes. The query scans a large fact table partitioned by date. The query performance is degrading over time as data accumulates. You need to improve performance without increasing DWUs or changing the dashboard query. You also need to minimize data movement overhead. You have the following options: A. Create a columnstore index on the fact table with a partition alignment. B. Create a materialized view that aggregates the data at the partition level. C. Implement result-set caching and set the cache to expire every 5 minutes. D. Redistribute the fact table using hash distribution on the date column. Which option should you choose?

A.Create a columnstore index on the fact table with a partition alignment.
B.Create a materialized view that aggregates the data at the partition level.
C.Implement result-set caching and set the cache to expire every 5 minutes.
D.Redistribute the fact table using hash distribution on the date column.
AnswerC

The table likely already has a columnstore index; this may not provide additional benefit.

Why this answer

Result-set caching stores the exact query results and can serve the dashboard query instantly if the underlying data has not changed. Since the query runs every 5 minutes, setting the cache expiration to 5 minutes ensures fresh data. Option A (columnstore index) is wrong because the table likely already has a columnstore index (the default in Synapse).

Option B (materialized view) is wrong because materialized views require maintenance and may not match the exact query. Option D (hash distribution on date) is wrong because it can cause data skew and does not reduce scan overhead as effectively as caching.

223
MCQhard

You have an Azure Synapse Analytics workspace with Apache Spark pools. You need to monitor Spark application performance and identify stages that are taking the longest time. Which tool should you use?

A.Use the Spark UI available in Synapse Studio.
B.Run KQL queries in Log Analytics against Spark logs.
C.Query Azure Monitor metrics for the Spark pool.
D.Use the Synapse Pipeline monitoring view.
AnswerA

Spark UI provides detailed stage-level performance metrics.

Why this answer

The Spark UI provides detailed information about stages, tasks, and executors. Option B is wrong because Azure Monitor metrics provide aggregate metrics but not stage-level details. Option C is wrong because Log Analytics queries can analyze logs but not as directly as Spark UI.

Option D is wrong because Synapse Studio provides a job view but not as granular as Spark UI.

← PreviousPage 3 of 3 · 223 questions total

Ready to test yourself?

Try a timed practice session using only Secure, monitor, and optimize data storage and data processing questions.