Courseiva

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

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

76
MCQhard

You manage an Azure Synapse Analytics dedicated SQL pool that contains a large fact table 'Orders' with 500 million rows. The table is hash-distributed on 'OrderDate' and uses a clustered columnstore index. Query performance has degraded over time. You check the system DMVs and find that the columnstore segments have poor quality, with many deleted rows and compressed rowgroups below 1 million rows. You need to improve query performance without blocking writes to the table. What should you do?

A.Run ALTER INDEX REORGANIZE with COMPRESS_ALL_ROW_GROUPS = ON.
B.Drop and recreate the clustered columnstore index.
C.Re-cluster the table using a different distribution key.
D.Run ALTER INDEX REBUILD on the clustered columnstore index.
AnswerA

Online operation that improves columnstore quality.

Why this answer

ALTER INDEX REORGANIZE with COMPRESS_ALL_ROW_GROUPS = ON is an online operation that compresses rowgroups with deleted rows without blocking writes. This directly addresses the poor columnstore segment quality. Option B is wrong because dropping and recreating the clustered columnstore index is an offline operation that blocks writes.

Option C is wrong because changing the distribution key would require recreating the table, which is offline and does not specifically fix columnstore segment quality. Option D is wrong because ALTER INDEX REBUILD is also an offline operation that blocks writes.

77
MCQmedium

Your company has an Azure Data Factory pipeline that ingests data from multiple sources into Azure Data Lake Storage Gen2. The pipeline uses a self-hosted integration runtime (IR) running on an on-premises Windows server. Recently, the pipeline started failing with 'Connection timed out' errors during peak hours. You suspect network congestion. You need to resolve this issue with minimal cost and without modifying the pipeline activities. What should you do?

A.Implement Azure ExpressRoute to provide dedicated bandwidth.
B.Increase the 'Polling Interval' setting in the copy activity.
C.Scale out the self-hosted IR by adding more nodes to the cluster.
D.Migrate the self-hosted IR to Azure-SSIS IR.
AnswerC

Distributes load and improves throughput.

Why this answer

Scaling out the self-hosted IR by adding more nodes distributes the load and reduces timeout issues. Option A is wrong because Azure ExpressRoute provides dedicated bandwidth but is costly and overkill for this scenario. Option B is wrong because increasing the polling interval does not fix network timeouts; it only changes how often the activity checks for data.

Option D is wrong because migrating to Azure-SSIS IR is expensive and unnecessary for this pipeline.

78
Multi-Selecteasy

You are monitoring an Azure Data Factory pipeline that copies data from an on-premises SQL Server to Azure Blob Storage. You notice frequent failures due to transient network errors. Which TWO actions should you take to improve reliability?

Select 2 answers
A.Deploy a self-hosted integration runtime on a VM in Azure.
B.Use staged copy with Azure Data Lake as intermediate storage.
C.Enable fault tolerance in the copy activity to skip incompatible rows.
D.Configure a retry policy on the copy activity.
E.Increase the degree of copy parallelism.
AnswersC, D

Fault tolerance allows pipeline to continue despite errors.

Why this answer

Options C and D are correct. Enabling fault tolerance allows the copy activity to skip incompatible rows and continue, while configuring a retry policy automatically retries the activity on failure due to transient errors. Option A is incorrect because deploying a self-hosted IR in Azure does not address transient network errors; it is used for connectivity to on-prem data stores.

Option B is incorrect because staged copy is for copying large datasets efficiently, not for handling transient errors. Option E is incorrect because increasing parallelism improves throughput but does not improve reliability against transient failures.

79
Multi-Selectmedium

Your organization uses Azure Data Lake Storage Gen2 to store parquet files. You need to secure the data at rest and control access. Which THREE methods should you implement?

Select 3 answers
A.Set POSIX-like ACLs on directories and files.
B.Configure RBAC roles to control access to storage accounts.
C.Configure Azure Storage Firewall to allow only trusted IPs.
D.Enable Azure Storage Service Encryption (SSE) for data at rest.
E.Enable soft delete for blobs.
AnswersA, B, D

ACLs provide fine-grained access control.

Why this answer

Options A, B, and D are correct. Encryption at rest is done by Azure Storage Service Encryption. Access control is via RBAC and ACLs.

Option C is wrong because firewall restricts network access, not data at rest. Option E is wrong because soft delete is for data recovery, not security.

80
Multi-Selectmedium

Which TWO actions should you take to secure data in transit between an Azure Synapse Analytics serverless SQL pool and a client application?

Select 2 answers
A.Use Azure RBAC to restrict access to the SQL pool.
B.Configure the serverless SQL pool to enforce TLS 1.2 connections.
C.Use Azure Virtual Network service endpoints for the SQL pool.
D.Disable SSL encryption to reduce latency.
E.Use Azure ExpressRoute to connect to the SQL pool.
AnswersB, C

TLS 1.2 is the minimum recommended protocol.

Why this answer

The correct answers are B and C. Enforcing TLS 1.2 ensures encryption in transit using a modern, secure protocol (B). Using Azure Virtual Network service endpoints for the SQL pool keeps traffic within the Azure backbone network, adding a layer of network security (C).

Option A (Azure RBAC) controls authentication and authorization, not encryption. Option D (disable SSL) would expose data in transit. Option E (ExpressRoute) provides private connectivity but does not inherently encrypt data; it's more for network isolation.

81
MCQeasy

Your team has deployed an Azure Stream Analytics job that writes output to Azure Cosmos DB. You need to monitor the job for data latency and ensure it meets a service-level agreement (SLA) of under 10 seconds from input to output. Which metric should you track in Azure Monitor?

A.Output events.
B.Runtime errors.
C.Watermark delay.
D.Input events.
AnswerC

Watermark delay measures the maximum time difference between the input and output, indicating end-to-end latency.

Why this answer

Watermark delay is the correct metric to monitor for data latency because it measures the maximum time between an input event being received and the corresponding output being produced. A watermark delay consistently under 10 seconds ensures the SLA is met. Output events (A) track the number of output events, not latency.

Runtime errors (B) indicate failures, not latency. Input events (D) track the number of input events, not latency.

82
Multi-Selectmedium

Which THREE metrics should you monitor to optimize the performance of an Azure Synapse Analytics dedicated SQL pool? (Choose three.)

Select 3 answers
A.Storage space used
B.Queued queries
C.DWU (Data Warehouse Unit) usage
D.Login failures
E.TempDB usage
AnswersB, C, E

Queries waiting for resources indicate concurrency issues.

Why this answer

To optimize the performance of an Azure Synapse Analytics dedicated SQL pool, monitor Queued queries (B) to detect concurrency throttling, DWU usage (C) to gauge overall resource utilization, and TempDB usage (E) as high usage can degrade performance. Storage space used (A) is a capacity metric, not a performance metric, and Login failures (D) are security-related, not performance-related.

83
MCQeasy

Your organization uses Microsoft Purview to catalog data assets. You need to ensure that sensitive data such as credit card numbers are automatically detected and labeled. Which Purview feature should you configure?

A.Create an Azure Policy to enforce tagging.
B.Configure a scan rule set with built-in classification rules for sensitive data types.
C.Enable the Data Catalog self-service search.
D.Enable Microsoft Information Protection for the data sources.
AnswerB

Scan rule sets enable automatic detection of sensitive data.

Why this answer

Microsoft Purview can automatically detect sensitive data like credit card numbers by configuring a scan rule set that includes built-in classification rules. Option A is incorrect because Azure Policy enforces compliance rules but does not perform data scanning or classification. Option C is incorrect because Data Catalog self-service search is for discovering and searching data assets, not for automatic sensitive data detection.

Option D is incorrect because Microsoft Information Protection is primarily for labeling and protection in Microsoft 365, not for scanning data in Purview.

84
Multi-Selectmedium

Which TWO actions can you take to optimize the performance of an Azure Synapse Analytics dedicated SQL pool? (Choose two.)

Select 2 answers
A.Scale up the SQL pool to a higher DWU.
B.Replicate small dimension tables.
C.Use heap indexes for fact tables.
D.Use round-robin distribution for all large fact tables.
E.Use hash distribution on a column used in joins and aggregations.
AnswersB, E

Replication reduces data movement for joins with fact tables.

Why this answer

Replicating small dimension tables across all distributions reduces data movement during joins and improves query performance. Option E is correct because hash distribution on a column used in joins and aggregations ensures that rows with the same key are colocated on the same distribution, minimizing data shuffling. Option A is incorrect: scaling up increases resources but is not a targeted performance optimization and may not address underlying distribution or indexing issues.

Option C is incorrect: heap indexes are generally not optimal for fact tables because they lack compression and indexing benefits; clustered columnstore indexes are recommended. Option D is incorrect: round-robin distribution distributes data evenly but does not reduce data movement for joins and aggregations, often leading to poor query performance.

85
MCQhard

Refer to the exhibit. You have created the custom RBAC role shown and assigned it to a security group. Members of the group report that they can read blobs in the storage account but cannot list the contents of the container. What is the most likely reason for this issue?

A.Custom roles are not supported for Azure Data Lake Storage Gen2.
B.The role is scoped to the storage account but not to the container.
C.The role does not include the permission to list blobs in a container.
D.The role lacks the 'read' data action for blobs.
AnswerC

To list blobs, the role needs 'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read' permission, but that only reads individual blobs. The 'list' action requires 'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read' with the 'list' permission, or the role must include 'Microsoft.Storage/storageAccounts/blobServices/containers/read' which allows listing container contents.

Why this answer

The custom RBAC role includes the 'read' data action for blobs, which allows reading blob data, but it does not include the 'list' action for blobs. Without the 'list' permission, users cannot list the blobs within a container. In Azure RBAC for storage, the 'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read' action permits reading blob content and properties, but listing blobs requires the 'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/list' action (or equivalent at the container level). Therefore, the role lacks the necessary permission to list blobs.

Option A is incorrect because custom RBAC roles are fully supported for Azure Data Lake Storage Gen2. Option B is incorrect because the scope of the role at the storage account level does not prevent listing blobs; the issue is missing data actions. Option D is incorrect because the role already includes the 'read' data action for blobs; the missing action is 'list'.

86
Multi-Selecthard

You are optimizing an Azure Synapse Analytics dedicated SQL pool that runs a mix of reporting and ETL workloads. The ETL jobs often encounter resource wait times due to concurrent reporting queries. You need to ensure that ETL jobs always get the resources they need. Which two actions should you take? (Choose two.)

Select 2 answers
A.Increase the DWU (Data Warehouse Units) to provide more overall resources.
B.Assign HIGH importance to the ETL workload classifier.
C.Enable result set caching for reporting queries.
D.Create materialized views for common reporting aggregations.
E.Create a workload group for ETL with a minimum resource percentage and assign it to a dedicated resource pool.
AnswersB, E

HIGH importance ensures ETL queries are prioritized over lower importance reporting queries.

Why this answer

The correct actions are B and E. Assigning HIGH importance to the ETL workload classifier (B) ensures that ETL queries are prioritized over lower-importance reporting queries. Creating a workload group for ETL with a minimum resource percentage and assigning it to a dedicated resource pool (E) guarantees a baseline of resources for ETL, preventing resource starvation.

Option A (increasing DWU) adds overall resources but does not guarantee ETL gets priority. Option C (result set caching) and Option D (materialized views) improve reporting performance but do not ensure ETL resource allocation.

87
MCQeasy

You are monitoring an Azure Data Factory pipeline that runs hourly. The pipeline executes a stored procedure in an Azure SQL Database. Recently, you have observed that the pipeline occasionally fails with a 'Deadlock' error when the stored procedure runs. The Azure SQL Database is configured with the 'Read Committed Snapshot' isolation level enabled. You need to resolve the deadlock issue with minimal impact on performance. The stored procedure updates multiple tables in a single transaction and is critical for reporting. What should you do?

A.Change the stored procedure to use NOLOCK hints
B.Remove the transaction from the stored procedure
C.Add retry logic in the Data Factory pipeline for the stored procedure activity
D.Disable the 'Read Committed Snapshot' isolation level
AnswerC

Retries handle transient deadlocks gracefully

Why this answer

Adding retry logic in the Data Factory pipeline allows the pipeline to automatically retry the stored procedure activity when a deadlock error occurs. Deadlocks are transient and often resolve on retry, minimizing impact on performance without changing the database isolation level or transaction integrity. Option A is wrong because using NOLOCK hints can lead to dirty reads and data inconsistency, which is unacceptable for a critical reporting procedure.

Option B is wrong because removing the transaction would break the atomicity of the multiple table updates, potentially leaving data in an inconsistent state. Option D is wrong because disabling Read Committed Snapshot (RCSI) would likely increase blocking and contention, potentially making deadlocks worse or causing other performance issues.

88
MCQeasy

You have an Azure Data Lake Storage Gen2 account that stores sensitive customer data. You need to implement security controls to prevent data exfiltration by a malicious insider who has Contributor role access. Which Azure feature should you use?

A.Enable diagnostic settings to log all access to the storage account.
B.Remove the Contributor role and assign a custom role with read-only permissions.
C.Configure network firewall rules to allow only trusted IP addresses.
D.Apply an Azure Policy that denies data access from unapproved locations.
AnswerD

Azure Policy can enforce network restrictions to prevent data exfiltration.

Why this answer

Azure Policy can enforce a deny effect on data access requests originating from unapproved locations, effectively preventing data exfiltration even if the user has Contributor role. This is a preventive control, not just monitoring. Option A (diagnostic settings) is detective only.

Option B (removing Contributor role) might reduce permissions but does not prevent the insider from using their current role. Option C (network firewall rules) can be bypassed if the insider accesses from within the trusted network. Therefore, Azure Policy with location-based deny is the most effective prevention.

89
MCQmedium

You are designing a data pipeline in Azure Data Factory that processes sensitive customer data. The pipeline must use a copy activity to move data from Azure Blob Storage to Azure Synapse Analytics. You need to ensure that data is encrypted in transit and at rest, and that the pipeline uses the most secure authentication method. Which authentication method should you use for the sink dataset?

A.Managed Identity
B.Storage account key
C.Service principal
D.SQL authentication
AnswerA

Managed Identity eliminates the need for secrets and provides secure, seamless authentication.

Why this answer

Managed Identity is the most secure authentication method because it uses Azure Active Directory (Azure AD) to authenticate to Azure Synapse Analytics without storing any credentials in the pipeline. This eliminates the risk of secret exposure and provides automatic credential rotation. SQL authentication (Option D) requires embedded credentials, service principal (Option C) requires secret management, and storage account key (Option B) is a shared secret that cannot be used to authenticate to Synapse as a sink.

90
Multi-Selectmedium

Which TWO actions should you take to secure data at rest in Azure Data Lake Storage Gen2? (Choose TWO)

Select 2 answers
A.Use Azure RBAC to grant least-privilege access to the storage account.
B.Apply dynamic data masking to sensitive columns.
C.Enable Azure Storage Service Encryption (SSE) for data at rest.
D.Configure firewall rules to restrict network access.
E.Enable audit logging for the storage account.
AnswersA, C

RBAC controls access, a security measure for data at rest.

Why this answer

Correct answers: A and C. A: Use Azure RBAC to grant least-privilege access to the storage account—this ensures only authorized users can access data. C: Enable Azure Storage Service Encryption (SSE) for data at rest—this encrypts data automatically at the storage level.

B is incorrect because dynamic data masking is used for databases, not for Azure Data Lake Storage Gen2. D is incorrect because firewall rules control network access, not data at rest. E is incorrect because audit logging is for monitoring, not securing data at rest.

91
Multi-Selecteasy

Which TWO methods can you use to optimize the cost of storing data in Azure Data Lake Storage Gen2?

Select 2 answers
A.Use customer-managed keys for encryption.
B.Configure lifecycle management policies to move older data to the cool or archive tier.
C.Enable soft delete for blobs.
D.Use Azure Blob Storage access tiers: hot, cool, and archive.
E.Enable geo-redundant storage (GRS) for disaster recovery.
AnswersB, D

Reduces storage cost by moving data to cheaper tiers.

Why this answer

Options B and D are correct. Option B: Configure lifecycle management policies to automatically move data to cooler tiers (cool or archive) based on age, reducing storage costs. Option D: Azure Blob Storage access tiers (hot, cool, archive) allow you to choose the appropriate tier for data based on access frequency, optimizing cost.

Option A is incorrect because using customer-managed keys for encryption does not affect storage costs; encryption is free. Option C is incorrect: enabling soft delete adds storage overhead for deleted versions, increasing cost. Option E is incorrect: geo-redundant storage (GRS) replicates data to another region, increasing storage cost.

92
MCQmedium

A company uses Azure Databricks for data processing. They want to monitor the performance of Spark jobs and set up alerts for job failures. Which Azure service should they use?

A.Azure Advisor
B.Azure Sentinel
C.Azure Log Analytics
D.Azure Monitor
AnswerD

Azure Monitor collects metrics and logs from Azure Databricks, allows performance analysis of Spark jobs, and supports alert rules for job failures.

Why this answer

Azure Monitor is the central service for collecting metrics and logs from Azure Databricks, enabling performance monitoring and alerting on Spark jobs. Option A is incorrect because Azure Advisor provides recommendations but not real-time monitoring or alerts. Option B is incorrect because Azure Sentinel is a SIEM solution for security incidents, not for job performance monitoring.

Option C is incorrect because Azure Log Analytics is a component of Azure Monitor used for log analysis, but the overarching service for monitoring and alerts is Azure Monitor.

Exam trap

Candidates often confuse Azure Monitor with Azure Log Analytics, but Log Analytics is a subset of Monitor. The question asks for the service to use, which is Azure Monitor.

93
MCQmedium

Your organization uses Azure Synapse Analytics with serverless SQL pools. You need to ensure that only users with specific Microsoft Entra ID roles can query external tables referencing Azure Data Lake Storage Gen2. What should you configure?

A.Assign a managed identity to the serverless SQL pool and grant it Storage Blob Data Reader on the storage account.
B.Use Azure RBAC to assign Storage Blob Data Reader role to the users on the storage account.
C.Configure a storage account firewall to allow only the Synapse workspace IP range.
D.Grant SELECT permission on the external table to specific Microsoft Entra ID users or groups.
AnswerD

This restricts query access based on user identity.

Why this answer

Granting SELECT permission on the external table directly controls which Microsoft Entra ID users or groups can query the data via the serverless SQL pool. This approach uses Azure AD authentication to restrict access at the query level, not at the storage layer. Option A is incorrect because assigning a managed identity to the serverless pool provides a service identity, but it does not restrict access per user.

Option B is incorrect because Azure RBAC on the storage account grants data access at the storage level, not through the Synapse SQL engine, and does not limit querying via external tables. Option C is incorrect because the storage account firewall controls network access, not user identity, and does not prevent authorized users from other networks from querying.

94
MCQmedium

You are reviewing an Azure Resource Manager template for an Azure SQL Database auditing policy. Based on the exhibit, which of the following is true?

A.Audit logs will be retained indefinitely.
B.The audit policy will use default audit actions and groups.
C.Audit logs will be sent to Azure Log Analytics.
D.Audit logs will be written to Azure Blob Storage.
AnswerD

The storageEndpoint property specifies the blob storage account for audit logs.

Why this answer

The template shows the 'state' property set to 'Enabled' and includes a 'storageEndpoint' property, which indicates that audit logs are configured to be written to Azure Blob Storage. Option A is incorrect because 'retentionDays' is set to 90 days, so logs are not retained indefinitely. Option B is incorrect because 'auditActionsAndGroups' is specified in the template, meaning default audit actions and groups are not used.

Option C is incorrect because the destination is Blob Storage, not Azure Log Analytics, as indicated by the 'storageEndpoint' property.

95
MCQmedium

You have an Azure Synapse Analytics dedicated SQL pool that stores sensitive customer data. You need to ensure that only users with a specific Microsoft Entra ID role can access the data, and all access must be logged for auditing. What should you implement?

A.Dynamic data masking
B.Azure RBAC at the SQL pool level
C.Row-level security (RLS) with a security policy
D.Column-level security
AnswerC

RLS restricts row access based on user context, and can be tied to Microsoft Entra ID roles.

Why this answer

Row-level security (RLS) is the correct choice because it restricts data access at the row level based on user context, such as Microsoft Entra ID role membership, and all access can be logged via auditing. Dynamic data masking (A) obfuscates data but does not restrict access. Azure RBAC (B) controls management plane access, not data access within the SQL pool.

Column-level security (D) restricts access to specific columns, not rows.

96
MCQmedium

Your company uses Azure Data Lake Storage Gen2 for a data lake. You need to implement a security strategy that meets the following requirements: 1) All data must be encrypted at rest using customer-managed keys stored in Azure Key Vault. 2) Access to the storage account must be restricted to specific virtual networks. 3) Users must authenticate using Microsoft Entra ID and be granted read-only access to the 'landing' container. You have configured the storage account with Azure Storage Service Encryption (SSE) using customer-managed keys. You have also configured firewall rules to allow access only from the required virtual network. However, users cannot access the 'landing' container even though they have the Storage Blob Data Reader role. What is the most likely issue?

A.The users have not been granted access to the Key Vault
B.The users do not have the Storage Blob Data Reader role assigned at the container scope
C.The firewall is blocking the users' IP addresses even though they are in the virtual network
D.The Key Vault firewall is blocking access from the storage account
AnswerD

Key Vault firewall must allow Azure services or specific storage account.

Why this answer

The most likely issue is that the Key Vault firewall is blocking access from the storage account. When using Azure Storage Service Encryption (SSE) with customer-managed keys, the storage account must be able to access the Key Vault to wrap and unwrap the encryption key. Even though the users have the Storage Blob Data Reader role and the storage account firewall allows the virtual network, if the Key Vault firewall does not permit access from the storage account (e.g., via 'Allow trusted Microsoft services' or a specific network rule), the storage service cannot decrypt the data, resulting in access failures.

Option D correctly identifies this. Options A and B are incorrect because the users have the correct RBAC role and the role is effective at the storage account level; the issue is not with user permissions but with the storage account's ability to reach the Key Vault. Option C is incorrect because the firewall rules are correctly configured for the virtual network.

97
MCQmedium

Your Azure Synapse Analytics dedicated SQL pool is experiencing performance degradation. Queries that previously completed in seconds now take minutes. You suspect memory pressure and concurrency issues. What should you first review to diagnose the problem?

A.sys.dm_pdw_resource_waits
B.sys.dm_pdw_waits
C.sys.dm_pdw_query_stats_xe
D.sys.dm_pdw_exec_requests
AnswerD

Shows currently running queries with resource consumption

Why this answer

Sys.dm_pdw_exec_requests provides a list of all currently executing or recent requests in the dedicated SQL pool, including their status, resource class, and elapsed time. This is the best first step to identify queries that may be causing memory pressure or concurrency issues. Option A (sys.dm_pdw_resource_waits) shows only resource waits but does not show the actual requests causing the waits.

Option B (sys.dm_pdw_waits) shows wait information but lacks the direct request context needed for diagnosis. Option C (sys.dm_pdw_query_stats_xe) provides query execution statistics but not real-time active requests, so it is less suitable for immediate troubleshooting.

98
MCQmedium

You need to ensure that an Azure Synapse Analytics serverless SQL pool automatically pauses after 2 hours of inactivity to save costs. Which feature should you configure?

A.Maintenance window
B.Data Exfiltration Prevention
C.Auto-pause feature
D.Workload Management
AnswerC

Auto-pause feature is available only for serverless SQL pools, not for dedicated SQL pools.

Why this answer

The Auto-pause feature in Azure Synapse Analytics serverless SQL pools automatically suspends the pool after a period of inactivity (default 1 hour, configurable up to 8 hours), reducing costs when not in use. Option C is correct because it directly addresses the requirement to pause after 2 hours of inactivity.

99
MCQmedium

You are reviewing an Azure Data Factory JSON definition for a linked service. The linked service uses a service principal to connect to Azure Data Lake Storage Gen1. What is a security concern with this configuration?

A.The subscription ID and resource group are specified.
B.The linked service uses a service principal instead of a managed identity.
C.Using Azure Data Lake Storage Gen1 instead of Gen2.
D.The service principal key is stored as a SecureString but is visible in the JSON definition.
AnswerD

Storing secrets in linked service JSON is insecure; should use Azure Key Vault.

Why this answer

The service principal key is stored as a SecureString, but in the JSON definition it is visible as plain text, which is a security concern. Option A is incorrect because specifying the subscription ID and resource group is necessary for resource management and not a security issue. Option B is incorrect because using a service principal is a valid and secure authentication method when the key is properly stored.

Option C is incorrect because the choice between Data Lake Storage Gen1 and Gen2 is a performance or feature decision, not a security concern.

100
MCQhard

Your Azure Data Factory pipeline uses a Copy activity to load data from an on-premises SQL Server to Azure Blob Storage. You notice that the pipeline is running slower than expected. You need to identify the bottleneck. Which Data Factory monitoring metric should you analyze first?

A.Source queue length
B.Pipeline duration
C.Activity run count
D.Data Integration Unit (DIU) consumption
AnswerD

High DIU consumption indicates the Copy activity is resource-constrained.

Why this answer

Data Integration Unit (DIU) consumption indicates whether the Copy activity is resource-bound and helps identify performance bottlenecks. Option A is wrong because source queue length reflects integration runtime queue depth, not a direct metric for Copy activity throughput. Option B is wrong because pipeline duration is a result of performance issues, not a metric to pinpoint the bottleneck first.

Option C is wrong because activity run count is unrelated to performance analysis.

101
MCQmedium

Your organization uses Azure Synapse Analytics dedicated SQL pool. You need to ensure that all data at rest in the SQL pool is encrypted using a customer-managed key stored in Azure Key Vault. What should you configure?

A.Implement Always Encrypted with column encryption keys stored in Azure Key Vault.
B.Configure Dynamic Data Masking to obfuscate sensitive data.
C.Enable Azure Storage Service Encryption with a customer-managed key.
D.Enable Transparent Data Encryption (TDE) with a customer-managed key in Azure Key Vault.
AnswerD

TDE with customer-managed key provides encryption at rest for the entire database, meeting the requirement.

Why this answer

Transparent Data Encryption (TDE) with customer-managed keys in Azure Key Vault provides the required encryption for data at rest in Azure Synapse Analytics dedicated SQL pool. Option A is wrong because Always Encrypted protects data in transit and at rest in application logic, not at rest in the database. Option B is wrong because Dynamic Data Masking does not encrypt data; it obfuscates it for users.

Option C is wrong because Azure Storage Service Encryption is for Azure Storage accounts, not for SQL pools.

102
MCQmedium

Your team has deployed an Azure Stream Analytics job that reads from an Event Hubs input and writes to Azure Synapse Analytics. The job is falling behind, causing a growing backlog in Event Hubs. You have already scaled the Stream Analytics job to maximum streaming units. What should you do to improve throughput?

A.Increase the streaming units further
B.Configure a late arrival window to drop late events
C.Increase the throughput units of the Event Hubs namespace
D.Partition the input Event Hubs and the output Synapse table, and adjust the Stream Analytics query to use PARTITION BY
AnswerD

Partitioning allows Stream Analytics to process data in parallel, increasing throughput.

Why this answer

Partitioning the input Event Hubs and the output Synapse table, and using PARTITION BY in the query, increases parallelism and allows the Stream Analytics job to process more data simultaneously. Option A is incorrect because the job is already at maximum streaming units. Option B is incorrect because a late arrival window handles out-of-order events, not throughput issues.

Option C is incorrect because while increasing Event Hubs throughput units could help if Event Hubs is the bottleneck, the most likely bottleneck is the output sink (Azure Synapse Analytics), and partitioning the output is a more direct solution.

103
MCQmedium

Your Azure Synapse Analytics dedicated SQL pool is experiencing performance degradation. You suspect that the workload is generating excessive data movement due to suboptimal distribution. Which dynamic management view (DMV) should you query to identify queries that are causing significant data movement?

A.sys.dm_pdw_node_status
B.sys.dm_pdw_exec_requests
C.sys.dm_pdw_errors
D.sys.dm_pdw_waits
AnswerB

This DMV shows the execution steps of requests, including data movement operations (shuffle moves, broadcast moves) that can degrade performance.

Why this answer

Sys.dm_pdw_exec_requests shows query steps including data movement operations. Option A is wrong because sys.dm_pdw_node_status shows node health. Option C is wrong because sys.dm_pdw_errors shows error details.

Option D is wrong because sys.dm_pdw_waits shows wait states.

104
MCQmedium

You have an Azure Synapse Analytics dedicated SQL pool that handles both high-priority real-time queries and low-priority batch jobs. You need to ensure that high-priority queries always get the resources they need, while batch jobs do not starve. What should you configure?

A.Enable result-set caching for the high-priority queries
B.Enable data compression on the tables used by batch jobs
C.Create workload groups for high-priority and low-priority queries, assigning appropriate importance and resource percentages
D.Create materialized views for the batch job queries
AnswerC

Workload groups allow you to control resource allocation and query importance.

Why this answer

Workload management with workload groups allows you to set importance and resource allocation. Option A is wrong because result-set caching does not prioritize queries. Option B is wrong because data compression reduces storage but does not affect prioritization.

Option D is wrong because materialized views improve performance but do not prioritize.

105
MCQhard

You are designing a data pipeline using Azure Synapse Pipelines. The pipeline ingests data from multiple sources, performs transformations using a notebook, and loads the results into a dedicated SQL pool. You need to ensure that if the notebook fails, the entire pipeline stops and sends an alert. What is the most efficient way to configure this?

A.Set the notebook activity's error path to a webhook activity that sends an alert, and then set a wildcard error path for the pipeline.
B.Set the notebook activity's retry count to 0, and configure an alert on the pipeline run failure.
C.Add a 'Fail' activity after the notebook activity and connect the notebook's failure output to it. Configure the Fail activity to send an alert.
D.No configuration needed; by default, a failed activity stops the entire pipeline.
AnswerC

Correct: The Fail activity terminates the pipeline with an error, and you can trigger alerts based on pipeline failure.

Why this answer

The most efficient: In Azure Synapse Pipelines (and Azure Data Factory), you can connect the failure output of the notebook activity to a 'Fail' activity. The Fail activity can be configured to send an alert (e.g., via webhook) and it stops the pipeline run immediately. Option A is incorrect because setting a wildcard error path would allow other activities to run; instead, you should explicitly route the failure to a Fail activity.

Option B is incorrect because setting retry to 0 only prevents retries, but does not automatically stop the pipeline or send an alert. Option D is incorrect because the default behavior of a failed activity is to continue pipeline execution along the default error path, not to stop entirely; you must define an explicit failure path.

106
MCQhard

An Azure Data Factory pipeline runs multiple times daily, loading data from an on-premises SQL Server to Azure Blob Storage. You notice that the pipeline sometimes fails due to transient network errors. You need to implement a retry policy with exponential backoff. Which configuration should you apply?

A.Set the pipeline's retry property to 3 and retry interval to 60 seconds.
B.Set the activity's retry property to 3 and enable exponential backoff.
C.Set the activity's retry property to 3 and retry secs to 60.
D.Set the trigger's retry policy to 3 with exponential backoff.
AnswerB

Incorrect because Azure Data Factory activity retry does not support enabling exponential backoff; the retry interval is fixed. The option describes a non-existent configuration.

Why this answer

Azure Data Factory activity retry now supports exponential backoff. You can enable it by setting the retry property and enabling exponential backoff. Option B correctly configures 3 retries with exponential backoff.

Option C only sets a fixed interval without exponential backoff. Options A and D are incorrect because retry is configured at the activity level, not pipeline or trigger level.

Exam trap

Candidates may assume that exponential backoff is not supported, but it is now available as a configuration option for activity retries in Azure Data Factory.

107
MCQmedium

You are reviewing an Azure Data Factory pipeline JSON that copies data from Azure Blob Storage to Azure SQL Database using a stored procedure. The pipeline fails with a 'Parameter supplied for object is not valid' error. What is the most likely cause?

A.The source type 'BlobSource' is not compatible with Azure Blob Storage.
B.The SQL table type 'dbo.InsertType' does not exist.
C.The stored procedure parameters are not mapped to source columns.
D.The dataset references are incorrect.
AnswerC

When using a stored procedure as a sink, source columns must be explicitly mapped to the stored procedure parameters. If this mapping is missing or incorrect, the 'Parameter supplied for object is not valid' error occurs.

Why this answer

The error 'Parameter supplied for object is not valid' in a copy activity using a stored procedure typically indicates that the stored procedure is expecting parameters that are not being provided correctly. The most common cause is that the source columns in the copy activity are not mapped to the stored procedure parameters. Option C is correct because the pipeline JSON likely lacks the necessary parameter mapping from source columns to stored procedure input parameters.

Option A is incorrect because BlobSource is valid for Azure Blob Storage. Option B is incorrect because the error is about parameter supply, not the existence of a table type. Option D is incorrect because the error relates to parameter mapping, not dataset references.

108
MCQeasy

You are designing a data pipeline in Azure Data Factory that copies data from Azure Blob Storage to Azure SQL Database. The data contains personally identifiable information (PII). What should you use to protect the data during transit?

A.Azure Information Protection
B.Encryption over HTTPS/TLS
C.Azure Disk Encryption
D.Azure Storage Service Encryption
AnswerB

Azure Data Factory uses TLS to encrypt data in transit between endpoints.

Why this answer

Azure Data Factory always encrypts data in transit using TLS. Option A is wrong because Azure Information Protection is for labeling, not transit encryption. Option C is wrong because Azure Disk Encryption is for at-rest encryption of disks.

Option D is wrong because Azure Storage Service Encryption is for at-rest encryption.

109
MCQmedium

Your team uses Azure Data Factory to orchestrate data movement. You need to monitor pipeline runs and set up alerts when a pipeline fails more than three times in an hour. What is the most efficient approach?

A.Create an alert rule in Azure Data Factory based on the 'Failed pipeline runs' metric.
B.Configure diagnostic settings to send logs to Log Analytics and create a log alert.
C.Use a Logic App to periodically check the pipeline run status and send notifications.
D.Create an Azure Monitor metric alert for the 'Failed pipeline runs' metric with a threshold of 3 in 1 hour.
AnswerD

Azure Monitor metric alerts are efficient for monitoring pipeline failures.

Why this answer

Azure Monitor alerts can be configured based on metrics like Failed pipeline runs with a threshold of 3 in 1 hour. Option A is wrong because Alert rules in Data Factory are limited. Option B is wrong because diagnostic settings send logs to Log Analytics, but you would need to create a log alert, which is less efficient than a metric alert.

Option C is wrong because a logic app is not the most efficient for simple threshold alerts.

110
Multi-Selectmedium

You are using Azure Data Factory to ingest data from a REST API into Azure Synapse Analytics. The API has a rate limit of 100 requests per minute. You need to ensure that the pipeline respects the rate limit and retries on failure. Which two settings should you configure in the copy activity? (Choose two.)

Select 2 answers
A.Enable 'Enable staging' to use a staging blob.
B.Configure the 'Batch size' to 100.
C.Set the 'Throttle' property to limit the number of concurrent connections.
D.Set the 'Retry' property to a value greater than 0.
E.Increase the 'Timeout' value to 10 minutes.
AnswersC, D

Throttling concurrent connections helps stay within the rate limit.

Why this answer

Options C and D are correct. Setting the 'Throttle' property (or 'maxConcurrentConnections') limits the number of concurrent connections to the REST API, which helps respect the rate limit of 100 requests per minute. Setting the 'Retry' property to a value greater than 0 enables the activity to retry on transient failures.

Option A is wrong because 'Enable staging' is used for large data transfers or to enable PolyBase, not for rate limiting. Option B is wrong because 'Batch size' controls the number of rows per batch for bulk operations, not the request rate. Option E is wrong because 'Timeout' specifies the maximum duration of the activity, not retry behavior.

111
Multi-Selecteasy

You are monitoring an Azure Stream Analytics job that processes streaming data from Event Hubs to Azure Synapse Analytics. Which TWO Azure Monitor metrics should you set alerts on to detect data loss or processing delays?

Select 2 answers
A.InputEvents and OutputEvents metrics
B.Duration metric
C.Data read and data written metrics
D.Pipeline run count metric
E.Backlogged input events metric
AnswersA, E

InputEvents and OutputEvents (Option A) are correct. By comparing these two metrics, you can see if every event entering the Stream Analytics job is being output, indicating potential data loss if they diverge.

Why this answer

The correct metrics for detecting data loss or processing delays in an Azure Stream Analytics job are InputEvents and OutputEvents (Option A). By comparing these, you can determine if every event entering the job is being output; a mismatch indicates potential data loss. Backlogged input events (Option E) directly measures the number of events waiting to be processed, and a high or growing value signals processing delays.

Option B (Duration) is not a direct indicator of data loss or processing delays in Stream Analytics. Option C (Data read/written) is not a metric for Stream Analytics. Option D (Pipeline run count) is not applicable to Stream Analytics streaming jobs.

112
Multi-Selectmedium

Which TWO actions should you take to secure access to an Azure Data Lake Storage Gen2 account using Microsoft Entra ID?

Select 2 answers
A.Generate a shared access signature (SAS) token with limited permissions.
B.Assign Azure RBAC roles such as Storage Blob Data Contributor to users or groups.
C.Configure a storage firewall to allow only specific IP addresses.
D.Use storage account access keys for authentication.
E.Enable hierarchical namespace on the storage account.
AnswersB, E

RBAC provides role-based access control integrated with Entra ID.

Why this answer

Correct options are B and E. Option B: Assigning Azure RBAC roles such as Storage Blob Data Contributor uses Microsoft Entra ID to grant coarse-grained access to the storage account. Option E: Enabling hierarchical namespace is necessary to use ACLs (access control lists) for fine-grained permissions, which can be integrated with Entra ID.

Option A is wrong because SAS tokens bypass Entra ID and provide access via shared key. Option C is wrong because firewall rules restrict network access, not identity. Option D is wrong because storage account access keys bypass Entra ID entirely.

113
Multi-Selecthard

Which THREE metrics should you monitor to optimize the performance of an Azure Synapse Analytics dedicated SQL pool? (Choose three.)

Select 3 answers
A.Storage used percentage
B.DWU (Data Warehouse Unit) usage percentage
C.Active queries count
D.Buffer cache hit ratio
E.Memory grant waiters count
AnswersB, C, E

DWU usage percentage indicates if the pool is under- or over-provisioned, helping to optimize performance by adjusting resources.

Why this answer

Options B, C, and E are correct. Option B: DWU usage percentage indicates whether the pool is under- or over-provisioned, helping optimize performance. Option C: Active queries count monitors concurrency and workload.

Option E: Memory grant waiters count shows queries waiting for memory, which can indicate memory pressure and affect query performance. Option A: Storage used percentage is about capacity, not performance. Option D: Buffer cache hit ratio is more relevant for SQL Server, not directly for Synapse dedicated SQL pool performance optimization.

114
MCQeasy

Your company uses Azure Databricks for data processing. You need to ensure that spark jobs cannot access certain storage accounts. What is the most secure approach?

A.Store storage account keys in Azure Key Vault and retrieve them in notebooks.
B.Use shared access keys and restrict their usage.
C.Use Azure RBAC to grant specific storage account permissions to the Azure Databricks managed identity.
D.Disable public network access on storage accounts.
AnswerC

RBAC provides fine-grained access control using managed identities.

Why this answer

The most secure approach is to use Azure RBAC to grant specific storage account permissions to the Azure Databricks managed identity. This follows the principle of least privilege by granting only the required permissions to the identity used by the spark jobs. Option A is less secure because storing keys in Key Vault still requires managing secrets and the keys provide broad access.

Option B (shared access keys) also provides broad access and is not recommended. Option D (disabling public network access) controls network-level access but does not prevent access from authorized networks or services that are allowed; it does not specifically restrict spark job access within Databricks. Therefore, option C is the most secure and best practice.

115
MCQeasy

Your Azure Data Factory pipeline is failing with the error: 'Operation on target Copy data1 failed: The remote server returned an error: (403) Forbidden.' The source is Azure Blob Storage and the sink is Azure SQL Database. You have verified the SQL Database firewall rules allow Azure services. What is the most likely cause?

A.The SQL Database firewall is blocking the Data Factory IP
B.The storage account is behind a private endpoint
C.The Data Factory managed identity lacks Storage Blob Data Contributor role on the storage account
D.The SQL Database is throttling the write operations
AnswerC

403 Forbidden indicates authentication/authorization failure

Why this answer

A 403 Forbidden error when reading from Azure Blob Storage typically indicates that the Data Factory does not have permission to access the storage. The managed identity used by Data Factory must have the Storage Blob Data Contributor role (or equivalent) on the storage account. Option A is incorrect because the error is 403, not a connectivity issue.

Option B is incorrect because a private endpoint alone does not cause a 403; it would affect network connectivity. Option D is incorrect because throttling from Azure SQL Database would produce a different error (e.g., 429 Too Many Requests).

116
MCQmedium

You have an Azure Data Factory pipeline that uses a Self-Hosted Integration Runtime (SHIR) to copy data from an on-premises Oracle database to Azure Blob Storage. The pipeline is failing with a connectivity error. You have verified that the SHIR is running and the network firewall allows outbound traffic to Azure. What is the most likely cause of the failure?

A.The SHIR is not registered with Azure Data Factory.
B.The SHIR cannot reach the Oracle database due to a network firewall.
C.The SHIR requires inbound port 443 from Azure to on-premises.
D.The SHIR does not have access to Azure Key Vault.
AnswerB

The SHIR must have network access to the on-premises database.

Why this answer

The most likely cause is that the SHIR cannot reach the on-premises Oracle database due to a network firewall. While the SHIR can connect to Azure outbound, the connection from the SHIR to the Oracle database must also be allowed through any on-premises firewalls. Option A is incorrect because if the SHIR were not registered, you would see a different error.

Option C is incorrect because the SHIR only requires outbound connectivity to Azure, not inbound. Option D is incorrect because Azure Key Vault is not required for basic connectivity; it is used for storing credentials.

117
MCQhard

You have an Azure Data Factory pipeline defined as shown. The pipeline is failing because the preCopyScript truncates the staging table before each run, but the table is empty on the first run. What change would you make to ensure the pipeline works correctly?

A.Remove the preCopyScript entirely.
B.Increase the writeBatchSize to 50000 to speed up the copy.
C.Change the preCopyScript to: IF OBJECT_ID('dbo.Staging') IS NOT NULL TRUNCATE TABLE dbo.Staging.
D.Set recursive to false in the source.
AnswerC

This conditional truncation prevents error when table is empty.

Why this answer

The preCopyScript runs on every pipeline execution. On the first run, the staging table does not exist, so TRUNCATE TABLE dbo.Staging would fail. By adding a check with IF OBJECT_ID, the script only truncates if the table exists.

This handles the first run gracefully. Option A is wrong because removing the preCopyScript would not truncate the table on subsequent runs, potentially causing duplicate data issues. Option B is wrong because increasing writeBatchSize does not solve the truncation error.

Option D is wrong because setting recursive to false affects how the source dataset handles recursive file systems, not the truncation problem.

118
MCQhard

You have an Azure Synapse Analytics dedicated SQL pool that is used for reporting. You notice that the tempdb database is growing rapidly and causing queries to fail. Which two actions should you take to mitigate the issue? (Select two.)

A.Enable result-set caching to reduce query reruns.
B.Increase the service level (DWU) of the dedicated SQL pool.
C.Reduce the degree of parallelism (MAXDOP) for the workload.
D.Move tempdb to a separate storage account.
E.Optimize queries that perform large sorts or hash joins.
AnswerC, E

Lowering MAXDOP reduces the number of concurrent operations that can consume tempdb resources.

Why this answer

Options C and E are correct. Reducing the degree of parallelism (MAXDOP) limits the number of concurrent operations, reducing tempdb usage. Optimizing queries that perform large sorts or hash joins reduces the demand on tempdb.

Option A is incorrect because result-set caching does not affect tempdb usage. Option B is incorrect because increasing DWU may provide more tempdb space but does not address the root cause of excessive tempdb usage. Option D is incorrect because moving tempdb to a separate storage account is not supported in Azure Synapse Analytics.

119
MCQmedium

Your organization uses Azure Synapse Analytics serverless SQL pool to query data in Azure Data Lake Storage Gen2. You notice that queries are taking longer than expected. You need to identify which queries are consuming the most resources and optimize them. What should you do first?

A.Use query hints to optimize execution plans.
B.Query the sys.dm_exec_requests DMV to view running queries and their resource usage.
C.Enable diagnostic settings and send query logs to Log Analytics.
D.Create statistics on all columns used in queries.
AnswerB

DMVs give real-time insight into resource consumption.

Why this answer

Querying the sys.dm_exec_requests DMV provides real-time resource consumption data for running queries in serverless SQL pool, allowing identification of the most resource-intensive queries. Option A is incorrect because query hints optimize execution but should be applied after identifying problematic queries. Option C is incorrect as diagnostic settings send logs to Log Analytics, but DMVs offer immediate insights without additional configuration.

Option D is incorrect because serverless SQL pool automatically manages statistics, and creating additional statistics is not the priority when first troubleshooting resource consumption.

120
Multi-Selectmedium

Which TWO actions should you take to secure sensitive data in Azure Data Lake Storage Gen2? (Choose two.)

Select 2 answers
A.Enable public network access from all networks for ease of use
B.Use access control lists (ACLs) to restrict access to specific directories
C.Allow anonymous access to enable sharing
D.Disable soft delete to prevent accidental retention of deleted data
E.Enable encryption at rest using customer-managed keys in Azure Key Vault
AnswersB, E

Granular permissions

Why this answer

The correct answers are B and E. Option B: Using access control lists (ACLs) in Azure Data Lake Storage Gen2 allows granular permissions at the directory and file level, enabling you to restrict access to sensitive data. Option E: Enabling encryption at rest with customer-managed keys in Azure Key Vault provides an additional layer of security by allowing you to manage your own encryption keys.

Option A is incorrect because public network access from all networks exposes data to potential threats; it should be restricted. Option C is incorrect as anonymous access should always be disabled for sensitive data. Option D is incorrect because soft delete should be enabled to protect against accidental data deletion or corruption.

Exam trap

Candidates may confuse access control methods or overlook that customer-managed keys add an extra security layer. They might also assume that disabling soft delete is a security measure, but it actually reduces data protection.

121
MCQeasy

You are monitoring an Azure Data Factory pipeline that runs daily. You notice that some runs are failing due to transient network errors. You want to automatically retry the failed activities with a 5-minute delay, up to 3 times. How should you configure this?

A.Set the pipeline's 'Concurrency' to 3 and 'Retry' to 1.
B.Leave the default settings as they are because Azure Data Factory automatically retries failed activities 3 times.
C.On each activity, set 'Retry' to 3 and 'Retry interval' to 00:05:00.
D.Configure a 'Retry' policy on the pipeline itself, setting maximum retries to 3 and retry interval to 5 minutes.
AnswerC

Correct: Activities have individual retry settings. Setting retry to 3 with 5-minute interval achieves the requirement.

Why this answer

Azure Data Factory activities have a 'Retry' property that can be set to 3, and 'Retry interval' to 00:05:00. Option A is too low (1 retry). Option B is wrong because retry is per activity, not at pipeline level.

Option D is wrong because the default retry is 0.

122
MCQmedium

You are monitoring an Azure Synapse Analytics dedicated SQL pool and notice that some queries are taking longer than expected. You need to identify queries that are experiencing significant memory pressure. Which dynamic management view (DMV) should you query?

A.sys.dm_pdw_exec_requests
B.sys.dm_pdw_wait_stats
C.sys.dm_pdw_query_stats_xe
D.sys.dm_pdw_nodes_os_performance_counters
AnswerA

This DMV includes memory_grant and memory_used columns to assess memory pressure.

Why this answer

Sys.dm_pdw_exec_requests provides information about queries including their memory grant size, which can be used to identify queries experiencing memory pressure. Option B is incorrect because sys.dm_pdw_wait_stats shows wait statistics, not memory pressure. Option C is incorrect because sys.dm_pdw_query_stats_xe is for extended events, not directly for memory grants.

Option D is incorrect because sys.dm_pdw_nodes_os_performance_counters shows OS-level performance counters, not query-level memory information.

123
MCQhard

Your Azure Synapse Analytics pipeline uses PolyBase to load data from Azure Blob Storage into a dedicated SQL pool. The load is slow and suffers from high latency. Which optimization should you apply first?

A.Split the source files into smaller chunks.
B.Use a round-robin distribution for the staging table.
C.Increase the DWU (Data Warehouse Units) of the SQL pool.
D.Create clustered columnstore indexes on the staging table.
AnswerB

Round-robin distribution avoids data movement during load, which is the primary cause of latency in PolyBase operations.

Why this answer

Using a round-robin distribution for staging tables minimizes data movement during PolyBase loads, reducing latency. Option A is not the first optimization because splitting files can help parallelism but may not directly address high latency. Option C is not the first optimization because increasing DWU can improve performance but incurs additional cost and is not specific to the load process.

Option D is incorrect because clustered columnstore indexes are beneficial for query performance, not for import speed.

124
MCQhard

You are designing a data ingestion pipeline for Azure Data Lake Storage Gen2 using Azure Databricks. The source is an on-premises SQL Server database with incremental changes captured via change data capture (CDC). The requirement is to ensure exactly-once semantics for each row while minimizing latency. Which approach should you recommend?

A.Use Azure Data Factory with a tumbling window trigger to copy data every 5 minutes.
B.Use PolyBase to create external tables and run T-SQL MERGE statements.
C.Use Azure Databricks Auto Loader with COPY INTO command.
D.Use Spark Structured Streaming in Azure Databricks to read CDC changes and write to Delta Lake.
AnswerD

Structured Streaming with Delta Lake ensures exactly-once and low latency.

Why this answer

Spark Structured Streaming in Azure Databricks, combined with Delta Lake, provides exactly-once semantics through checkpointing and transaction logs, and it is designed for low-latency streaming ingestion—ideal for CDC data. Option A is incorrect: Azure Data Factory with a tumbling window is a batch-based approach and cannot achieve exactly-once semantics for streaming data with low latency. Option B is incorrect: PolyBase is used for bulk loading data into Azure Synapse, not for streaming CDC ingestion.

Option C is incorrect: Auto Loader and COPY INTO are designed for incremental batch loads of files, not for streaming row-level changes from a database.

125
Multi-Selectmedium

Which TWO actions should you take to secure data in Azure Synapse Analytics dedicated SQL pool? (Choose two.)

Select 2 answers
A.Use PolyBase to load data from external sources.
B.Enable result-set caching for query performance.
C.Configure workload classification for resource governance.
D.Apply dynamic data masking (DDM) to obfuscate sensitive data.
E.Implement row-level security (RLS) to restrict data access.
AnswersD, E

DDM hides sensitive data from non-privileged users.

Why this answer

The correct answers are D and E. Dynamic data masking (DDM) obfuscates sensitive data, and row-level security (RLS) restricts data access at the row level. Option A is incorrect because PolyBase is used for data loading, not security.

Option B is incorrect because result-set caching improves performance but does not secure data. Option C is incorrect because workload classification governs resource allocation, not security.

126
MCQhard

Your Azure Synapse Analytics workspace uses serverless SQL pools for ad-hoc querying. Users report that queries are slow. You examine the execution plan and see that the query scans multiple partitions in the openrowset. What is the best way to improve performance?

A.Increase the MAXDOP setting
B.Create materialized views on the external tables
C.Partition the underlying data by a frequently filtered column
D.Add a WHERE clause on the partition column
AnswerD

Filtering on partition column enables partition elimination, reducing data scanned.

Why this answer

In serverless SQL pools, performance is improved by file pruning, which reduces the amount of data scanned. Adding a WHERE clause on the partition column allows the query engine to skip irrelevant partitions, thus reducing scan size. Option A is incorrect because MAXDOP controls parallelism, not data pruning.

Option B is incorrect because materialized views are not supported in serverless SQL pools. Option C is incorrect because partitioning the underlying data helps, but the question asks for the best way to improve performance given the current query behavior; adding a WHERE clause on the partition column is the most direct and effective solution.

127
MCQeasy

You need to monitor resource utilization for an Azure Synapse Analytics dedicated SQL pool. Which Azure Monitor metric shows the percentage of allocated DWU being used?

A.Memory percentage
B.Data IO percentage
C.CPU percentage
D.DWU used
AnswerD

This metric shows the percentage of allocated DWU being consumed.

Why this answer

The 'DWU used' metric shows the percentage of allocated DWU being consumed. Option A is incorrect because 'Memory percentage' is not the metric for DWU utilization. Option B is incorrect because 'Data IO percentage' is not the primary metric for overall DWU usage.

Option C is incorrect because 'CPU percentage' does not directly represent DWU consumption.

128
MCQeasy

You are using Azure Stream Analytics to process real-time data from an event hub and output to Azure Synapse Analytics. You need to ensure exactly-once delivery semantics to the output. What should you configure?

A.Set the input to 'Exactly Once' consumption mode.
B.Configure event ordering and late arrival policies.
C.Enable checkpointing in the query.
D.Set the output to 'Exactly Once' delivery mode.
AnswerD

Correct: Azure Stream Analytics provides exactly-once semantics when configured on the output.

Why this answer

Azure Stream Analytics supports exactly-once delivery to Azure Synapse Analytics by configuring the output to 'Exactly Once' delivery mode. Option A is incorrect because the input consumption mode does not control output delivery guarantees. Option B is incorrect because event ordering and late arrival policies handle timing, not delivery semantics.

Option C is incorrect because checkpointing is for managing internal query state, not for ensuring exactly-once output.

129
MCQmedium

You are monitoring an Azure Synapse Analytics dedicated SQL pool and notice that some queries are experiencing high wait times due to concurrency slots being exhausted. You need to optimize the workload to reduce contention. Which three actions should you take? (Select three.)

A.Increase the data warehouse service level (DWU).
B.Create workload groups with different importance levels.
C.Configure workload isolation to limit the amount of resources a workload group can use.
D.Use workload classification to assign queries to appropriate workload groups.
E.Enable result-set caching for frequently executed queries.
AnswerB, C, D

Creating workload groups with different importance levels allows critical queries to be prioritized, reducing contention.

Why this answer

Options B, C, and D are correct. Workload groups with different importance levels allow you to prioritize critical queries, reducing contention. Workload isolation limits resources for a group, preventing resource-intensive queries from blocking others.

Workload classification routes queries to appropriate groups based on criteria. Option A is incorrect because increasing DWU increases concurrency slots but may raise costs. Option E is incorrect because result-set caching does not affect concurrency slot usage.

130
Multi-Selectmedium

You have an Azure Data Lake Storage Gen2 account that stores sensitive customer data. You need to prevent data exfiltration to unauthorized external IP addresses. Which TWO actions should you take?

Select 2 answers
A.Use private endpoints for the storage account
B.Enable Azure Firewall on the storage account
C.Use shared access signatures (SAS) with limited permissions
D.Configure storage firewall to allow only specific virtual networks
E.Enable geo-redundant storage (GRS)
AnswersA, D

Private endpoints ensure that all traffic to the storage account remains within the Microsoft backbone network, effectively preventing access from unauthorized external IPs.

Why this answer

Network security controls: enabling the storage firewall to allow only specific virtual networks (Option D) restricts access to traffic originating from those VNets, blocking external IPs. Using private endpoints (Option A) ensures that all traffic to the storage account stays within the Microsoft backbone network, preventing exposure to the public internet. Option B is incorrect because Azure Firewall is a separate service, not a storage account setting.

Option C (SAS) provides fine-grained access control but does not prevent exfiltration from external IPs. Option E (GRS) is for data durability, not security.

Exam trap

Candidates often confuse Azure Firewall (a network security service) with storage firewall settings. Also, they might think that restricting SAS tokens alone prevents exfiltration, but SAS does not block external IPs.

131
MCQmedium

Your team is troubleshooting slow query performance on a dedicated SQL pool in Azure Synapse Analytics. The query uses a hash-distributed fact table with 60 distributions. After reviewing the execution plan, you notice a high number of data moves. Which action would most likely reduce data movement?

A.Change the distribution type to round-robin.
B.Update statistics on all columns used in joins.
C.Increase the number of distributions to 120.
D.Redistribute the fact table on the join column using hash distribution.
AnswerD

Redistributing the fact table on the join column using hash distribution ensures collocation of matching rows, directly reducing data movement.

Why this answer

Redistributing the fact table on the join column using hash distribution aligns the distribution key with the join column. This ensures that rows with the same join key value are stored on the same distribution, minimizing data movement during joins. Option A is wrong because round-robin distribution places rows randomly, which actually increases data movement for joins.

Option B is wrong because while updating statistics helps the optimizer choose better plans, it does not directly reduce data movement. Option C is wrong because increasing the number of distributions does not change the alignment of the distribution key with the join column, so data movement remains high.

132
MCQmedium

You are an Azure administrator. You apply the Azure Policy shown in the exhibit to a management group. What is the outcome of this policy?

A.It allows storage accounts only if they have a firewall rule.
B.It denies storage accounts that allow public network access.
C.It requires all storage accounts to use HTTPS only.
D.It denies the creation of any new storage account.
AnswerB

The policy denies when defaultAction equals Allow, meaning public access is allowed.

Why this answer

The policy denies the creation of storage accounts that allow public network access. Therefore, Option B is correct. Option A is incorrect because the policy does not require a firewall rule; it denies public access entirely.

Option C is incorrect because the policy does not address HTTPS enforcement. Option D is incorrect because the policy only denies storage accounts that allow public network access, not all storage accounts.

133
MCQhard

You are a data engineer for a global e-commerce company. The company uses Azure Synapse Analytics dedicated SQL pool for its data warehouse. The environment includes a large fact table 'Sales' distributed by hash on 'CustomerID', and dimension tables 'Customer' (hash-distributed on 'CustomerID') and 'Product' (replicated). Recently, queries that join Sales and Customer are performing poorly. You run a query to check data skew on the Sales table and find that one distribution has 40% more rows than the average. Additionally, the Customer table has high data movement during joins. You need to optimize the performance of these joins. What should you do?

A.Change the distribution of the Customer table to replicated.
B.Increase the data warehouse performance level (DWU) to allocate more resources.
C.Change the distribution of the Sales table to round-robin.
D.Change the distribution key of the Sales table to 'ProductID' to align with the Product table.
AnswerA

Replicated tables avoid data movement for joins.

Why this answer

To change the distribution of the Customer table to replicated. In Azure Synapse Analytics dedicated SQL pool, replicated tables are small enough to be cached on each compute node, eliminating the need to move data during joins. Since Customer is a dimension table, it is likely small enough to benefit from replication.

This directly addresses the high data movement during joins. Option B (increasing DWU) would allocate more resources but does not fix the root cause of data movement and may only mask the issue. Option C (changing Sales to round-robin) is not recommended because fact tables in star schemas should be hash-distributed on a join key to minimize data movement.

Option D (changing Sales distribution key to ProductID) would not improve the join with Customer unless the join is on ProductID, but the problem is with the Sales-Customer join; changing the distribution key to ProductID would affect the join with Product, not Customer, and could worsen the skew issue.

134
MCQmedium

You are designing an Azure Data Factory pipeline to ingest data from an on-premises SQL Server into Azure Synapse Analytics. The data must be encrypted in transit. Which integration runtime type should you use and what additional configuration is required?

A.Use Azure Integration Runtime with ExpressRoute
B.Use Self-hosted Integration Runtime with Azure VPN Gateway
C.Use Self-hosted Integration Runtime with a certificate for HTTPS
D.Use Azure Integration Runtime with a public endpoint
AnswerC

Self-hosted IR with certificate encrypts data in transit.

Why this answer

A self-hosted integration runtime is required to connect to on-premises networks. To encrypt data in transit, a certificate must be configured for HTTPS encryption. Option A is wrong because Azure Integration Runtime cannot directly access on-premises data sources.

Option B is incorrect because Azure VPN Gateway provides network-level connectivity but does not handle application-layer encryption; the self-hosted IR still needs a certificate. Option D is wrong because using a public endpoint does not ensure encryption in transit without additional configuration, and Azure IR still cannot access on-premises directly.

135
MCQhard

You have an Azure Data Factory pipeline that loads data from an on-premises SQL Server to Azure Synapse Analytics. The pipeline fails intermittently with network connectivity errors. You need to ensure reliable data transfer with minimal latency. Which solution should you recommend?

A.Set up a site-to-site VPN gateway
B.Deploy a self-hosted IR with high availability on two nodes
C.Stage data in Azure Blob Storage using sharded files
D.Use an Azure Integration Runtime instead
AnswerB

Deploying a self-hosted IR with high availability on two nodes provides redundancy and load balancing, ensuring that if one node fails, the other can take over, minimizing the impact of network connectivity errors.

Why this answer

A self-hosted integration runtime (SHIR) is required for on-premises data sources. To improve reliability, a high-availability SHIR with two or more nodes provides redundancy and load balancing. Option A is incorrect because a site-to-site VPN provides network connectivity but does not directly improve the reliability of the data transfer pipeline; the IR component is still needed.

Option C is incorrect because staging data in Blob Storage with sharded files is a performance optimization for parallel loading, but it does not address intermittent network connectivity issues. Option D is incorrect because the Azure Integration Runtime cannot access on-premises networks directly.

136
MCQeasy

You are monitoring an Azure Data Factory pipeline that runs hourly. You notice that the pipeline has been failing intermittently with an error indicating 'Activity timeout'. Which Azure Monitor metric should you set an alert on to proactively detect such failures?

A.Integration runtime queue depth metric
B.Pipeline duration metric
C.Data read and data written metrics
D.Failed pipeline runs metric
AnswerD

This metric increments each time a pipeline run fails, allowing proactive alerting.

Why this answer

The 'Failed pipeline runs' metric directly captures the number of pipeline runs that have failed, including those due to timeout errors, making it the most appropriate metric for alerting on such failures. Option A is incorrect because 'Integration runtime queue depth' indicates how many activities are queued for execution, not failures. Option B is incorrect because 'Pipeline duration' shows how long the pipeline runs, but a timeout is a specific failure type that would be captured by failed runs.

Option C is incorrect because 'Data read and data written' measure data throughput and are unrelated to pipeline failures.

137
MCQhard

You are designing a data lake architecture using Azure Data Lake Storage Gen2. Sensitive customer data must be encrypted at rest using customer-managed keys stored in Azure Key Vault. Additionally, access must be audited at the file level. Which combination of features should you implement?

A.Azure AD authentication and Azure Storage firewall
B.Azure Information Protection labels and Azure Policy
C.Customer-managed keys (CMK) in Azure Key Vault and Azure Storage analytics logs
D.Service-managed keys and Azure Monitor alerts
AnswerC

CMK provides encryption at rest, analytics logs provide audit

Why this answer

Customer-managed keys (CMK) in Azure Key Vault provide encryption at rest with customer-controlled keys, and Azure Storage analytics logs (or diagnostic settings) capture file-level audit events such as read and write operations. Option A is incorrect because Azure AD authentication controls access but does not provide encryption at rest. Option B is incorrect because Azure Information Protection is a classification and labeling solution, not an encryption mechanism for data at rest.

Option D is incorrect because service-managed keys do not give customer control over encryption, and Azure Monitor alerts are for notifications, not audit logging.

138
Multi-Selecthard

Which THREE features should you use to optimize query performance in Azure Synapse Analytics dedicated SQL pool? (Choose three.)

Select 3 answers
A.T-SQL views.
B.Geo-redundant storage (GRS).
C.Materialized views.
D.Workload management with workload groups and importance.
E.Result-set caching.
AnswersC, D, E

Materialized views precompute and store results for faster queries.

Why this answer

Options C, D, and E are correct. Materialized views precompute and store aggregated data, reducing compute for complex queries. Workload management with workload groups and importance allocates resources and prioritizes critical queries.

Result-set caching stores the results of repeated queries, eliminating recomputation. Option A (T-SQL views) is a logical abstraction and does not inherently optimize performance. Option B (geo-redundant storage) provides disaster recovery but does not affect query performance.

139
MCQhard

Your company has a data lake in Azure Data Lake Storage Gen2 that stores sensitive customer information. You need to implement fine-grained access control so that data engineers can read all data, data scientists can read only anonymized data, and auditors can view access logs. The solution must use Azure role-based access control (RBAC) and access control lists (ACLs). You also need to enable auditing of read operations. What should you do?

A.Use Azure RBAC to assign Storage Blob Data Reader to data scientists, and configure lifecycle management to move raw data to archive tier.
B.Assign Storage Blob Data Contributor RBAC role to data engineers at the storage account level, use ACLs to deny read access to raw data for data scientists, and enable diagnostic settings for read requests to Log Analytics.
C.Assign RBAC roles at the storage account level and enable Storage Analytics logs for read operations.
D.Assign RBAC roles at the container level to grant read access to all users, and use Azure Policy to audit access.
AnswerB

Provides fine-grained control and auditing.

Why this answer

To implement fine-grained access control in Azure Data Lake Storage Gen2, combine Azure RBAC roles for coarse permissions (e.g., Storage Blob Data Contributor for data engineers at the storage account level) and ACLs for fine-grained control (e.g., deny read on raw data for data scientists). Enable diagnostic settings for read requests to Log Analytics to audit read operations. Option A is incorrect because assigning Storage Blob Data Reader to data scientists would give them read access to all data, not just anonymized data, and lifecycle management does not control access.

Option C is incorrect because Storage Analytics logs are deprecated; diagnostic settings should be used instead. Option D is incorrect because granting read access to all users at the container level is overly permissive and does not provide fine-grained control; Azure Policy is for compliance, not access control.

140
MCQeasy

You need to ensure that sensitive data stored in Azure SQL Database is encrypted at rest. Which feature should you enable?

A.Always Encrypted
B.Azure Information Protection
C.Dynamic Data Masking
D.Transparent Data Encryption (TDE)
AnswerD

TDE performs real-time encryption and decryption of the database, backups, and transaction log files at rest.

Why this answer

Transparent Data Encryption (TDE) is correct because it encrypts the entire database at rest, including backups and log files. Option A (Always Encrypted) is incorrect because it encrypts data in use and in transit (client-side encryption), not at rest. Option B (Azure Information Protection) is incorrect because it is a classification and labeling service, not an encryption mechanism.

Option C (Dynamic Data Masking) is incorrect because it masks data in query results to unauthorized users, but does not encrypt the underlying data.

141
MCQhard

Your company uses Azure Data Lake Storage Gen2 with hierarchical namespace enabled. You need to ensure that only the 'data-scientists' group can read files in the 'processed' container, while denying access to all other users. You have already configured the storage account firewall to allow access only from your corporate network. What should you do next?

A.Create a private endpoint for the storage account and assign the data-scientists group to the private endpoint's access policy
B.Assign the Storage Blob Data Reader role to the data-scientists group at the storage account level and add a deny assignment for all other users
C.Use a managed identity for the data-scientists group and assign the Storage Blob Data Contributor role to the managed identity
D.Configure access control lists (ACLs) on the 'processed' container to grant read and execute permissions to the data-scientists group and set the default ACL to deny all
AnswerD

ACLs in ADLS Gen2 allow you to set fine-grained permissions at the file and directory level. By granting read and execute permissions to the data-scientists group on the 'processed' container and setting the default ACL to deny all others, only that group can read files.

Why this answer

In Azure Data Lake Storage Gen2 with hierarchical namespace, access control lists (ACLs) provide fine-grained permissions at the directory and file level. By granting read and execute permissions to the 'data-scientists' group on the 'processed' container and setting the default ACL to deny all, you ensure only that group can read files. Option A is incorrect because private endpoints control network access, not identity-based permissions.

Option B is incorrect because RBAC roles (like Storage Blob Data Reader) grant permissions at the storage account or container level, and Azure RBAC does not support deny assignments that would block specific users while allowing others at the same scope; a deny assignment would block everyone. Option C is incorrect because managed identities are used for authenticating Azure services, not for granting permissions to a security group.

142
MCQeasy

You have an Azure Data Lake Storage Gen2 account that stores log files. You need to implement a data retention policy so that logs older than 90 days are automatically deleted. What should you use?

A.Azure Policy
B.Lifecycle management policy
C.Azure Blob Storage inventory
D.Microsoft Purview
AnswerB

A lifecycle management policy can automatically delete blobs based on age.

Why this answer

A lifecycle management policy can automatically delete blobs based on age. Option A is wrong because Azure Policy enforces compliance but does not delete. Option C is wrong because Azure Blob Storage inventory provides reports but does not delete.

Option D is wrong because Azure Purview scopes metadata and data discovery, not lifecycle management.

143
MCQeasy

You need to monitor the performance of Azure Stream Analytics jobs. Which Azure Monitor metric can be used to detect if the job is falling behind in processing input data?

A.WatermarkDelay
B.InputEventsBacklog
C.OutputEvents
D.RuntimeErrors
AnswerB

This metric shows the backlog of unprocessed input events.

Why this answer

InputEventsBacklog tracks the number of input events that remain unprocessed, directly indicating whether the job is falling behind. WatermarkDelay (option A) measures the time difference between event occurrence and processing, which can indicate latency but not the backlog count. OutputEvents (option C) counts events sent to output, unrelated to backlog.

RuntimeErrors (option D) counts errors, not backlog.

144
MCQhard

Refer to the exhibit. You are creating an Azure Storage account using an ARM template with the above snippet. After deployment, a security auditor reviews the configuration and notes that the storage account is not using a customer-managed key for encryption. What is the most likely reason?

A.The 'keyVersion' is missing a specific version, so Azure Storage defaults to Microsoft-managed key.
B.The 'keySource' should be 'Microsoft.Storage' for customer-managed key.
C.The storage account requires double encryption to use customer-managed key.
D.The 'infrastructureEncryption' setting is enabled, which overrides customer-managed key.
AnswerA

For customer-managed key, a specific key version is required; an empty version may cause Azure to use the latest but if the key is not accessible, it falls back to Microsoft-managed key.

Why this answer

In the ARM template snippet, the 'keyVersion' property is empty. Azure Storage requires a specific key version to use a customer-managed key; if omitted, Azure defaults to Microsoft-managed keys if the key is not found or the vault is inaccessible. Option B is incorrect because 'keySource' should be 'Microsoft.Keyvault' for customer-managed keys, not 'Microsoft.Storage'.

Option C is incorrect because infrastructure encryption (double encryption) is independent of the key source. Option D is incorrect because enabling 'infrastructureEncryption' does not override the key source; it can be used with customer-managed keys.

145
MCQhard

You run the PowerShell command shown in the exhibit for an Azure Synapse Analytics dedicated SQL pool. Which configuration will be applied?

A.The SQL pool is configured with transactional replication and auto-pause.
B.The command fails because dedicated SQL pools do not support auto-pause.
C.The SQL pool is set to auto-pause after 15 minutes of inactivity.
D.The SQL pool is partitioned into 10 partitions with automatic cleanup.
AnswerC

The AutoPauseDelayInMinutes parameter sets auto-pause; other properties are ignored.

Why this answer

The PowerShell command Set-AzSynapseSqlPool with the -AutoPauseDelayInMinutes parameter configures the dedicated SQL pool to automatically pause after 15 minutes of inactivity. This feature is supported for dedicated SQL pools in Azure Synapse Analytics. Therefore, option C is correct.

Option A is incorrect because transactional replication is not configured by this command. Option B is incorrect because dedicated SQL pools do support auto-pause. Option D is incorrect because partitioning is not involved.

Exam trap

Candidates often confuse dedicated and serverless SQL pool capabilities. While auto-pause was historically only for serverless, dedicated SQL pools now support it via PowerShell, leading many to incorrectly choose option B.

146
MCQmedium

You are designing a security strategy for Azure Synapse Analytics. The solution must prevent users from accessing sensitive columns in a dedicated SQL pool, such as Social Security numbers, unless they have explicit permission. Which feature should you use?

A.Column-level security.
B.Azure Purview data classification.
C.Dynamic data masking.
D.Row-level security (RLS).
AnswerA

Column-level security (CLS) restricts access to specific columns by granting or denying SELECT permissions on individual columns.

Why this answer

Column-level security (CLS) restricts access to specific columns by granting or denying SELECT permissions on individual columns. Option C (Dynamic data masking) obfuscates data at query time but does not prevent access, as users can still see the data if they bypass masking. Option B (Azure Purview) is a data governance service for cataloging and classifying data, not for access control.

Option D (Row-level security) filters rows based on user context, not columns.

147
MCQhard

Refer to the exhibit. You are reviewing the workload classifier configuration for an Azure Synapse Analytics dedicated SQL pool. You notice that the 'HeavyLoader' classifier has a queryExecutionTimeoutSeconds of 0. What is the implication of this setting?

A.Queries classified as 'HeavyLoader' will wait indefinitely for resources.
B.The configuration is invalid; queryExecutionTimeoutSeconds must be greater than 0.
C.Queries classified as 'HeavyLoader' will not have a timeout.
D.Queries classified as 'HeavyLoader' will timeout immediately.
AnswerC

A value of 0 disables the query execution timeout.

Why this answer

When queryExecutionTimeoutSeconds is set to 0, it means no timeout is enforced. Queries classified as 'HeavyLoader' can run indefinitely without being terminated by the timeout mechanism. Option A is incorrect because a value of 0 does not mean indefinite waiting for resources; it refers to the timeout duration.

Option B is incorrect; 0 is a valid configuration that disables the timeout. Option D is incorrect; a timeout of 0 does not cause immediate timeout but rather no timeout.

148
MCQmedium

You have an Azure Databricks workspace with a cluster that uses a Standard_LRS managed disk. You need to ensure that data at rest is encrypted using a customer-managed key (CMK). What should you configure?

A.Configure Azure Storage Service Encryption with a customer-managed key
B.Enable double encryption with a customer-managed key in Azure Disk Encryption
C.Enable Transparent Data Encryption (TDE) in Azure SQL Database
D.Use Azure Purview to classify and encrypt data
AnswerB

Azure Databricks clusters can use Azure Disk Encryption with CMK.

Why this answer

Azure Databricks managed disks support double encryption with a customer-managed key (CMK) using Azure Disk Encryption. This provides two layers of encryption: server-side encryption with a platform-managed key and additional encryption with a customer-managed key. Option A (Azure Storage Service Encryption) applies to Azure Storage accounts, not to Azure Databricks managed disks.

Option C (TDE) is for Azure SQL Database. Option D (Azure Purview) is a data governance service, not an encryption solution.

149
MCQhard

You are a data engineer at a financial services company. Your Azure Synapse Analytics dedicated SQL pool contains a fact table named 'Transactions' with 10 billion rows. The table is hash-distributed on 'AccountID' and partitioned by month. You notice that queries filtering on 'TransactionDate' (a date column) are performing slowly despite partition elimination. You also observe that the 'Transactions' table is frequently joined with a 'DimAccount' dimension table on 'AccountID'. You need to optimize query performance for the most common workload: monthly reports that aggregate transaction amounts by account for the last 12 months. Additionally, you need to ensure that the solution minimizes maintenance overhead. What should you do?

A.Create a clustered columnstore index on the table
B.Redistribute the table on TransactionDate using hash distribution
C.Change distribution to round-robin to evenly distribute data
D.Use table replication for the Transactions table
AnswerA

Improves compression and scan performance for aggregations

Why this answer

Creating a clustered columnstore index on the 'Transactions' fact table provides column-level compression and significantly improves scan performance for aggregation queries, which is ideal for monthly reports aggregating transaction amounts. Option B is wrong because redistributing on TransactionDate using hash distribution would not improve join performance with DimAccount (which joins on AccountID) and may cause data skew if many rows share the same date. Option C is wrong because changing distribution to round-robin would eliminate collocation benefits for joins on AccountID, hurting query performance.

Option D is wrong because table replication is designed for small dimension tables, not large fact tables like 'Transactions' with billions of rows.

150
Multi-Selecthard

You are optimizing the performance of an Azure Synapse Analytics dedicated SQL pool. Which TWO actions can help reduce data movement during query execution?

Select 2 answers
A.Use hash distribution on a column that is not used in joins.
B.Use replicated tables for small dimension tables.
C.Use round-robin distribution for large fact tables.
D.Increase the resource class for the loading user.
E.Distribute fact tables on the join key columns.
AnswersB, E

Replicated tables copy data to all nodes, avoiding movement for joins.

Why this answer

Options B and E are correct. Using replicated tables for small dimension tables avoids data movement during joins because the table is copied to all distributions. Distributing fact tables on the join key columns ensures that matching rows are co-located, reducing shuffling.

Option A is incorrect: using hash distribution on a column not used in joins increases data movement because data is redistributed unnecessarily. Option C is incorrect: round-robin distribution distributes rows evenly but often requires data movement for joins. Option D is incorrect: increasing the resource class allocates more resources but does not directly reduce data movement.

← PreviousPage 2 of 3 · 223 questions totalNext →

Ready to test yourself?

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