Courseiva

CCNA Secure Monitor Optimize Data Questions

75 of 223 questions · Page 1/3 · Secure Monitor Optimize Data topic · Answers revealed

1
Multi-Selectmedium

You are securing an Azure Data Lake Storage Gen2 account that contains sensitive data. Which TWO of the following should you implement to protect data from unauthorized access?

Select 2 answers
A.Configure ACLs to grant least privilege to users and groups
B.Use private endpoints to restrict access to the storage account
C.Set the default ACL to allow read access for all authenticated users
D.Enable CORS rules to allow only specific origins
E.Enable large file shares on the storage account
AnswersA, B

ACLs allow granular permissions at the file and directory level.

Why this answer

ACLs provide fine-grained access control at the directory/file level, allowing you to grant least privilege to users and groups. Option B is correct because private endpoints ensure data traffic does not traverse the public internet, reducing exposure. Option C is wrong because a default ACL of 'read' for all authenticated users would grant broad access.

Option D is wrong because CORS rules are for web applications, not security. Option E is wrong because large file shares are for Azure Files, not ADLS Gen2.

2
MCQeasy

You are monitoring Azure Data Factory pipelines. You need to set up an alert when a pipeline run fails. What is the most efficient way to achieve this?

A.Add an activity in each pipeline to log failures to a custom table in Log Analytics.
B.Enable diagnostic settings to send pipeline runs to a Log Analytics workspace and create a log alert.
C.Create an Azure Monitor alert based on the 'Failed pipeline runs' metric.
D.Use Application Insights to monitor pipeline executions.
AnswerC

This is the simplest method using built-in metrics.

Why this answer

The most efficient way to alert on pipeline failures is to use the 'Failed pipeline runs' metric in Azure Monitor, as it is a native metric provided by Azure Data Factory without additional configuration. Option A (logging to custom table) requires extra activities and setup. Option B (diagnostic settings and log alerts) is possible but more complex than using the metric.

Option D (Application Insights) is not directly integrated for pipeline run monitoring.

3
Multi-Selecteasy

Which THREE methods can you use to authenticate an Azure Data Factory pipeline to access Azure Data Lake Storage Gen2? (Choose THREE)

Select 3 answers
A.Use a service principal with a client secret or certificate.
B.Use a shared access signature (SAS) token.
C.Use a managed identity assigned to the Data Factory.
D.Use a user account with password.
E.Use the storage account access key.
AnswersA, B, C

Service principal with client secret or certificate is a valid authentication method for ADLS Gen2.

Why this answer

The correct answers are A, B, and C. Azure Data Factory supports three authentication methods for ADLS Gen2: service principal with client secret or certificate (A), SAS token (B), and managed identity (C). Service principal uses an Azure AD application.

SAS tokens provide scoped access. Managed identity allows Data Factory to authenticate without storing credentials. User account (D) and storage account access key (E) are not valid for ADLS Gen2 authentication.

Exam trap

This question tests your knowledge of all supported authentication methods. There are three valid options: service principal, SAS token, and managed identity. Candidates may mistakenly think only two are correct.

4
MCQmedium

Your company uses Azure Data Lake Storage Gen2 and needs to implement a data retention policy that automatically deletes files older than 90 days in a specific container. What should you use?

A.Azure Data Factory pipeline with a Delete activity scheduled to run daily.
B.Azure Policy with a deny effect for files older than 90 days.
C.Azure Storage lifecycle management rule with a filter for the container and a delete action after 90 days.
D.Azure Purview data lifecycle policy.
AnswerC

Lifecycle management can automatically delete blobs based on age, reducing manual effort.

Why this answer

Azure Storage lifecycle management rules can be applied at the container level to automatically delete blobs after a specified age (90 days), providing a native, cost-effective, and automated retention solution. Option A is incorrect because Azure Data Factory can be scheduled to delete files, but it requires manual pipeline setup and incurs additional costs compared to lifecycle management. Option B is incorrect because Azure Policy with a deny effect prevents the creation or modification of resources, not the automatic deletion of existing files.

Option D is incorrect because Azure Purview is a data governance service for cataloging and lineage, not for automated data deletion.

5
MCQeasy

You need to secure data at rest for an Azure Data Lake Storage Gen2 account that contains sensitive financial data. Which configuration should you enable to ensure that data is encrypted using a customer-managed key stored in Azure Key Vault, and that access to the key is logged?

A.Enable Azure Storage encryption with Microsoft-managed keys
B.Implement client-side encryption using Azure Key Vault
C.Enable infrastructure encryption for double encryption
D.Configure Azure Storage encryption with customer-managed keys in Azure Key Vault and enable Key Vault logging
AnswerD

This allows you to control and rotate keys, and logging provides an audit trail.

Why this answer

Azure Storage encryption with customer-managed keys in Key Vault provides control and logging. Option A is wrong because Microsoft-managed keys are the default but do not provide customer control. Option B is wrong because client-side encryption requires managing keys on the client side.

Option C is wrong because infrastructure encryption adds a second layer but does not use customer-managed keys.

6
MCQhard

Refer to the exhibit. You have an Azure Data Lake Storage Gen2 account with hierarchical namespace enabled. The exhibit shows an Azure CLI command output that lists access permissions. User user@contoso.com is a member of group-analysts@contoso.com. What level of access does user@contoso.com have to the /data/analytics/ directory?

A.Access denied because of the directory-level reader role
B.Read-only access
C.Read and write access
D.No access
AnswerC

The user's root-level contributor role provides read and write access to all directories.

Why this answer

RBAC permissions are additive. The user has Storage Blob Data Contributor at the root scope, which grants read/write access to all directories. The reader role at the directory scope does not override the broader contributor role.

Option A is wrong because the user has write access via the root scope. Option B is wrong because the user has read access from the root scope already. Option D is wrong because the user has explicit permissions.

7
MCQeasy

You are monitoring an Azure Data Factory pipeline that runs daily to load data from an on-premises SQL Server to Azure Synapse Analytics. The pipeline has been failing intermittently with timeout errors. You need to configure alerts to notify the team when the pipeline fails. What is the most efficient way to achieve this?

A.Enable diagnostic settings to send pipeline logs to a Log Analytics workspace and create a log search alert.
B.Use Azure Service Health alerts to notify when Data Factory is unhealthy.
C.Create an alert rule in Azure Monitor using the 'Pipeline failed runs' metric.
D.Configure Microsoft Defender XDR to monitor pipeline activities.
AnswerC

Azure Data Factory exposes pipeline run metrics in Azure Monitor, allowing direct alert creation based on failures.

Why this answer

The most efficient way to alert on pipeline failures is to create an alert rule in Azure Monitor using the 'Pipeline failed runs' metric (Option C). This metric is specific to Data Factory and allows direct alerting without additional logging setup. Option A is inefficient because it requires enabling diagnostic settings and creating a log search alert, adding latency and cost.

Option B, Azure Service Health alerts, only notify about Azure service health issues, not pipeline failures. Option D, Microsoft Defender XDR, is a security solution unrelated to pipeline monitoring.

8
MCQmedium

Your organization uses Azure Data Lake Storage Gen2 for a data lake. You need to prevent accidental deletion of data by enabling a soft delete policy. Which configuration is required?

A.Apply an Azure Resource Manager lock.
B.Configure Azure Backup for the storage account.
C.Enable blob versioning.
D.Enable blob soft delete on the storage account.
AnswerD

Soft delete retains deleted blobs for a specified period.

Why this answer

Azure Data Lake Storage Gen2 supports blob soft delete, which protects against accidental deletion by retaining deleted blobs for a specified retention period. Option A is incorrect because Azure Resource Manager locks prevent the deletion or modification of the storage account itself, not the data within it. Option B is incorrect because Azure Backup is designed for backing up VMs, SQL databases, and other workloads, not for managing soft delete of blobs.

Option C is incorrect because blob versioning preserves previous versions of blobs, but it does not prevent deletion of the current version; soft delete is specifically for recovery from accidental deletion.

9
MCQhard

Your team uses Azure Databricks for data processing. You need to implement a cost-control strategy that automatically terminates idle clusters after 30 minutes of inactivity, but allows users to override this policy for specific workloads that require long-running clusters. What is the most efficient approach?

A.Instruct all users to set auto-termination to 30 minutes on each cluster they create.
B.Configure a global auto-termination setting in the Azure Databricks workspace that terminates all clusters after 30 minutes of inactivity.
C.Use Azure Policy to enforce a tag that triggers a function to terminate idle clusters.
D.Create a cluster policy that enforces auto-termination with a default of 30 minutes, but allows users to override the value for specific clusters.
AnswerD

Correct: Cluster policies provide a balance between governance and flexibility, allowing overrides as needed.

Why this answer

Cluster policies in Azure Databricks allow admins to define rules (e.g., auto-termination) while allowing users to choose different values within allowed limits. Option A is wrong because manual termination is not automatic. Option B is wrong because cluster policies are not enforced by Azure Policy.

Option C is wrong because auto-termination is a cluster-level setting, not a global policy.

10
MCQmedium

You have an Azure Databricks workspace that processes sensitive data. The security team requires that all access to the workspace be authenticated using Microsoft Entra ID and that all API calls be audited. Which configuration should you implement?

A.Configure workspace to use Microsoft Entra ID authentication and enable diagnostic settings for audit logs.
B.Enable VNet injection and configure network security groups.
C.Deploy Azure Private Link and disable public access.
D.Configure personal access tokens for API access and enable cluster logs.
AnswerA

Entra ID authentication ensures identity-based access, and diagnostic settings capture API call logs.

Why this answer

It directly addresses both requirements: Microsoft Entra ID authentication ensures all access is authenticated via Entra ID, and enabling diagnostic settings captures audit logs for all API calls. Option B (VNet injection) provides network isolation, not authentication or auditing. Option C (Private Link) ensures private connectivity, not authentication or auditing.

Option D (personal access tokens) bypasses Entra ID, and cluster logs do not capture API audit trails.

11
MCQeasy

Your organization uses Azure Data Factory to orchestrate data pipelines. You need to ensure that sensitive data is not exposed in pipeline logs. What should you configure?

A.Store connection strings in Azure Key Vault.
B.Enable 'Secure output' on pipeline activities.
C.Set a retention policy for pipeline logs.
D.Use data flow debug logs with session logs.
AnswerB

Secure output masks sensitive data in activity logs.

Why this answer

Enabling 'Secure output' on pipeline activities prevents sensitive data from being written to Azure Data Factory logs. Option A is incorrect because while storing connection strings in Azure Key Vault is a security best practice, it does not prevent sensitive data from appearing in pipeline logs. Option C is incorrect because setting a retention policy for logs controls how long logs are kept, but does not prevent sensitive data exposure.

Option D is incorrect because data flow debug logs are for debugging and do not mask sensitive data in pipeline logs.

12
MCQmedium

Your company uses Azure Purview for data governance. You need to ensure that sensitive data in Azure Data Lake Storage Gen2 is automatically detected and classified. What should you configure in Purview?

A.Apply sensitivity labels to the storage account using Microsoft Purview Information Protection.
B.Enable Microsoft Defender for Cloud's data sensitivity discovery.
C.Use Azure Policy to enforce tagging of resources containing sensitive data.
D.Create a scan rule set that includes built-in classification rules for sensitive data types.
AnswerD

Purview scanning with classification rules automatically detects sensitive data patterns.

Why this answer

In Microsoft Purview, you can create scan rule sets that include built-in classification rules to automatically detect sensitive data types during scanning. Option A is incorrect because sensitivity labels are applied after classification, not for detection. Option B is incorrect because Microsoft Defender for Cloud's data sensitivity discovery is a different feature; Purview itself handles classification.

Option C is incorrect because Azure Policy enforces compliance rules, not data classification at the file level.

13
Multi-Selecthard

Your Azure Synapse Analytics dedicated SQL pool is experiencing high resource utilization. You need to identify queries that are consuming excessive memory. Which THREE DMVs should you query?

Select 3 answers
A.sys.dm_pdw_sql_requests
B.sys.dm_pdw_nodes_resource_usage
C.sys.dm_pdw_request_steps
D.sys.dm_pdw_exec_requests
E.sys.dm_pdw_waits
AnswersA, C, D

Correct – sys.dm_pdw_sql_requests shows distributed SQL requests, which include memory usage details per distribution.

Why this answer

To identify queries consuming excessive memory in Azure Synapse Dedicated SQL pool, you can query sys.dm_pdw_exec_requests to view all requests, sys.dm_pdw_request_steps to view the steps of requests, and sys.dm_pdw_sql_requests to view the distributed SQL requests. Option B (sys.dm_pdw_nodes_resource_usage) shows node-level resource usage, and Option E (sys.dm_pdw_waits) shows waiting queries, but neither directly identifies memory-intensive queries.

14
MCQeasy

You need to monitor the performance of your Azure Synapse Analytics dedicated SQL pool. Which metric should you use to identify queued queries due to concurrency limits?

A.Queued queries
B.DWU percentage
C.Active queries
D.Memory percentage
AnswerA

This metric directly shows queries waiting for concurrency slots.

Why this answer

'Queued queries' metric directly shows the number of queries waiting due to concurrency limits. Option B is wrong because DWU percentage shows resource usage, not queuing. Option C is wrong because active queries show running queries.

Option D is wrong because memory percentage shows memory pressure.

15
MCQmedium

You are monitoring an Azure Synapse Analytics dedicated SQL pool and notice that queries are experiencing excessive wait time due to concurrency slots being exhausted. What is the recommended approach to improve concurrency without increasing cost?

A.Create additional workload groups and assign queries to them.
B.Classify queries using workload classification and assign lower importance to reduce concurrency slot usage.
C.Scale up the dedicated SQL pool to a higher service level.
D.Change the distribution type of tables to round-robin.
AnswerB

Lower importance queries use fewer slots, allowing more concurrent queries.

Why this answer

By classifying queries with workload classification and assigning lower importance to background or non-critical queries, those queries consume fewer concurrency slots, freeing slots for higher-priority queries without additional cost. Option A is incorrect because workload groups manage resources but do not directly reduce per-query concurrency slot usage; they allocate resources among groups but total concurrency slots remain fixed. Option C is incorrect because scaling up increases cost without necessarily improving concurrency efficiency.

Option D is incorrect because table distribution type (e.g., round-robin) affects query performance and data movement, not concurrency slot consumption.

16
MCQmedium

Your company uses Azure Synapse Analytics serverless SQL pool to query data in Azure Data Lake Storage Gen2. You need to monitor query performance and identify queries that are consuming excessive resources. Which Azure tool should you use?

A.Azure Monitor Metrics for the serverless SQL pool.
B.Synapse Studio monitoring hub.
C.Azure Log Analytics queries against diagnostic logs.
D.SQL Server Management Studio Query Performance Insight.
AnswerB

Synapse Studio provides detailed monitoring for serverless SQL pool.

Why this answer

Synapse Studio monitoring hub provides built-in dashboards for serverless SQL pool queries, showing execution details, resource consumption, and query performance. This is the most direct and integrated tool for monitoring serverless SQL pool queries in Azure Synapse Analytics. Azure Monitor Metrics provides pool-level metrics but not query-level details.

Azure Log Analytics can be used with diagnostic settings to analyze logs, but it requires additional configuration and is not the primary tool for ad-hoc query monitoring. SQL Server Management Studio Query Performance Insight is designed for dedicated SQL pools, not serverless.

17
MCQhard

Refer to the exhibit. You are reviewing an Azure Policy definition that was created to audit diagnostic settings for Azure Data Lake Storage Gen2. The policy is assigned to a management group containing several storage accounts. You notice that the policy is not flagging storage accounts that lack diagnostic settings. What is the most likely cause?

A.The existence condition incorrectly checks for a specific log category 'StorageRead' instead of any diagnostic setting.
B.The 'field' property in the 'if' condition should be 'type' equals 'Microsoft.Storage/storageAccounts/blobServices' for Data Lake.
C.The effect parameter is not assigned a value; the default 'AuditIfNotExists' is not applied.
D.The policy type is 'Custom', which requires special permissions to evaluate.
AnswerA

The policy should audit if no diagnostic setting exists, not check for a specific category.

Why this answer

The existence condition checks for a specific log category 'StorageRead' rather than checking for any diagnostic setting. Azure Policy for auditing diagnostic settings should verify that at least one diagnostic setting exists, not that a particular category is configured. This causes storage accounts with diagnostic settings that do not include 'StorageRead' (or with no settings at all) to not be flagged.

Option B is incorrect because the 'field' property 'type' with value 'Microsoft.Storage/storageAccounts' is appropriate for auditing diagnostic settings on the storage account level, not blobServices. Option C is incorrect because the effect parameter defaults to 'AuditIfNotExists' even without explicit assignment, so that is not the issue. Option D is incorrect because custom policy type does not require special permissions beyond those needed to assign policies; evaluation occurs normally.

18
MCQmedium

You are designing a data pipeline in Azure Data Factory that reads data from an Azure SQL Database and writes to Azure Synapse Analytics dedicated SQL pool. The pipeline will run hourly and process incremental changes. You need to ensure that the pipeline handles retries for transient failures and logs all activities for audit purposes. What should you configure?

A.Enable auditing on the Azure SQL Database and Azure Synapse SQL pool.
B.Configure a tumbling window trigger to rerun the pipeline on failure.
C.Enable pipeline logging to an Azure Storage account and set retry policy on copy activity.
D.Use an Azure Monitor alert to notify on failures.
AnswerC

Logs capture all events; retry handles transient errors.

Why this answer

Enabling pipeline logging to an Azure Storage account captures all activity for audit purposes, and setting a retry policy on the copy activity handles transient failures. Option A is incorrect because Azure SQL Database and Synapse SQL pool auditing logs database access, not pipeline activity. Option B is incorrect because a tumbling window trigger schedules runs at intervals but does not log activities or handle retries by itself; retries must be configured separately.

Option D is incorrect because an Azure Monitor alert notifies on failures but does not log pipeline activities or provide automated retries.

19
MCQhard

You are optimizing an Azure Synapse Analytics dedicated SQL pool. A frequent query scans a large fact table and filters on a date column. You notice that the query uses a full table scan. What is the most effective way to improve query performance?

A.Create a nonclustered index on the date column.
B.Create a clustered columnstore index on the table.
C.Change the distribution to round-robin.
D.Partition the table on the date column.
AnswerD

Enables partition pruning, reducing data scanned.

Why this answer

Partitioning the table on the date column enables partition elimination, which allows the query to scan only the relevant partitions instead of the entire table. Option A is incorrect because a nonclustered index on the date column can help with point lookups but is less effective for large scans and filtering on a range of dates. Option B is incorrect because a clustered columnstore index improves compression and scan performance but does not provide partition elimination for date filtering.

Option C is incorrect because round-robin distribution distributes data evenly but does not optimize for filtering on a specific column.

20
Multi-Selectmedium

Which TWO Azure services can be used to monitor and analyze query performance in Azure Synapse Analytics dedicated SQL pool?

Select 2 answers
A.SQL Data Sync
B.Azure Policy
C.Azure Advisor
D.Azure Monitor with Log Analytics
E.Dynamic Management Views (DMVs)
AnswersD, E

Can collect and analyze query performance logs.

Why this answer

The correct answers are D and E. Azure Monitor with Log Analytics collects and analyzes telemetry data, including query performance metrics from Azure Synapse Analytics. Dynamic Management Views (DMVs) provide detailed insights into query execution statistics, such as wait types and resource usage.

Option A (SQL Data Sync) is for data synchronization across databases, not monitoring. Option B (Azure Policy) is for governance and compliance, not performance analysis. Option C (Azure Advisor) offers optimization recommendations but not real-time monitoring.

21
MCQmedium

You are designing a data lake architecture using Azure Data Lake Storage Gen2. You need to implement a least-privilege security model. Which authorization mechanism should you use for granular control?

A.Use storage account keys for access.
B.Use Azure RBAC roles at the storage account level.
C.Use POSIX-like access control lists (ACLs).
D.Use shared access signatures (SAS) with stored access policies.
AnswerC

ACLs provide granular permissions on files and directories.

Why this answer

POSIX-like ACLs provide granular permissions at the file and directory level, enabling least-privilege access control. Option A is incorrect because storage account keys grant full access to the entire storage account, violating least privilege. Option B is incorrect because Azure RBAC roles at the storage account level offer coarse-grained control, not granular file/directory permissions.

Option D is incorrect because shared access signatures with stored access policies provide time-limited access but lack the detailed ACL capabilities for individual files and directories.

22
MCQmedium

You are monitoring an Azure Synapse Analytics dedicated SQL pool using dynamic management views (DMVs). You want to identify queries that are experiencing excessive memory grants causing concurrency issues. Which DMV should you query?

A.sys.dm_pdw_waits
B.sys.dm_pdw_exec_requests
C.sys.dm_pdw_resource_waits
D.sys.dm_pdw_workload_management_workload_groups_details
AnswerB

Correct. sys.dm_pdw_exec_requests includes columns for memory grants, allowing identification of memory-heavy queries.

Why this answer

(sys.dm_pdw_exec_requests) is correct because it contains the total_request_memory_granted column, which can be used to identify queries with excessive memory grants contributing to concurrency issues. Option A (sys.dm_pdw_waits) only shows wait types, not memory grants. Option C (sys.dm_pdw_resource_waits) shows resource wait statistics but not actual grant amounts.

Option D (sys.dm_pdw_workload_management_workload_groups_details) provides workload group configuration and metrics, not per-query memory grant details.

23
Multi-Selecteasy

Which THREE best practices should be followed when designing a data lake in Azure Data Lake Storage Gen2 for optimal performance?

Select 3 answers
A.Disable hierarchical namespace to improve performance.
B.Use a deep directory structure with many subfolders.
C.Use Parquet file format for analytics workloads.
D.Use a naming convention that avoids special characters and high cardinality.
E.Partition data by date to enable partition elimination.
AnswersC, D, E

Parquet is columnar and efficient for analytics.

Why this answer

Options C, D, and E are correct. Parquet format is columnar and provides efficient compression and query performance. Partitioning by date allows partition elimination, reducing data scanned.

A naming convention that avoids special characters and high cardinality prevents throttling and improves parallelism. Option A is incorrect because disabling hierarchical namespace is not a best practice; hierarchical namespace enables folder-level security and is required for ADLS Gen2. Option B is incorrect because a deep directory structure can cause performance issues due to metadata overhead; a flat or shallow structure is recommended.

24
MCQmedium

You are using Azure Data Factory to load data from an on-premises SQL Server to Azure Synapse Analytics. The data size is 500 GB, and you need to minimize the load time. The network bandwidth is limited. Which approach should you use?

A.Use a self-hosted integration runtime and copy directly to Synapse.
B.Use a self-hosted integration runtime and stage the data in Azure Blob Storage before loading to Synapse.
C.Use Azure ExpressRoute to improve network bandwidth.
D.Use an Azure integration runtime and copy to Azure Data Lake Storage, then to Synapse.
AnswerB

Staging improves performance by splitting the copy into two phases.

Why this answer

Using a self-hosted integration runtime with staging via Azure Blob Storage allows you to stage the data in Azure before loading to Synapse, which is faster over limited bandwidth. Option A (copy directly) is slower due to the bandwidth limitation. Option C (Azure ExpressRoute) requires additional setup and cost, but the question asks for the approach that minimizes load time with limited bandwidth, and staging is the most efficient.

Option D (Azure Data Lake Storage) is similar to staging but not as optimized for the scenario.

25
MCQeasy

You are running an Azure Stream Analytics job that reads from an Event Hub and writes to a Power BI dataset. The job is falling behind and processing latency is increasing. What should you do to improve performance?

A.Increase the number of Streaming Units (SUs) allocated to the job.
B.Use a reference data input to filter events.
C.Change the output to Azure Blob Storage instead of Power BI.
D.Decrease the size of events sent to the Event Hub.
AnswerA

More SUs increase processing capacity.

Why this answer

Increasing the number of Streaming Units (SUs) allocates more compute resources to the Azure Stream Analytics job, directly improving throughput and reducing processing latency. Option B (use reference data) does not address throughput; it is used for enriching streams with static data. Option C (change output to Blob Storage) avoids Power BI throughput limits but does not fix the job's compute performance.

Option D (decrease event size) is not typically under the control of the job configuration and may not be feasible.

26
MCQeasy

You need to ensure that data in an Azure Data Lake Storage Gen2 account is encrypted at rest using a customer-managed key. Which feature should you configure?

A.Azure Key Vault integration with Storage Service Encryption
B.Azure Information Protection
C.Azure Storage Service Encryption with Microsoft-managed keys
D.Azure Disk Encryption
AnswerA

Azure Storage Service Encryption supports customer-managed keys stored in Azure Key Vault.

Why this answer

Azure Key Vault integration with Storage Service Encryption. This feature allows ADLS Gen2 to use customer-managed keys stored in Azure Key Vault for encryption at rest. Option B is incorrect because Azure Information Protection is for data classification and labeling, not encryption.

Option C is incorrect because Storage Service Encryption with Microsoft-managed keys is the default, but the requirement specifies customer-managed keys. Option D is incorrect because Azure Disk Encryption applies to VM disks, not ADLS Gen2 storage.

27
MCQeasy

Your organization uses Azure Data Lake Storage Gen2 and needs to prevent accidental deletion of data by enabling soft delete. You also need to ensure that deleted blobs are recoverable for 30 days. What should you configure?

A.Enable blob snapshots and set them to expire after 30 days.
B.Use Azure Backup to create daily backups of the storage account.
C.Enable container soft delete with a retention period of 30 days.
D.Enable blob soft delete and set retention period to 30 days.
AnswerD

Correct. Enabling blob soft delete with a retention period of 30 days allows recovery of deleted blobs within that timeframe, meeting both requirements.

Why this answer

Blob soft delete enables recovery of deleted blobs within a specified retention period (30 days in this case). Option A is incorrect because blob snapshots are point-in-time copies that require manual management and do not provide automatic recovery of deleted blobs. Option B is incorrect because Azure Backup is designed for virtual machines and other Azure resources, not for blob-level recovery in Data Lake Storage Gen2.

Option C is incorrect because container soft delete deletes entire containers, not individual blobs.

Exam trap

A common trap is confusing blob soft delete with container soft delete. Container soft delete protects entire containers, while blob soft delete protects individual blobs. For this question, blob soft delete is required.

28
MCQmedium

You have an Azure Data Factory pipeline that copies data from an on-premises SQL Server to Azure Blob Storage. The pipeline runs successfully but you notice that the data transfer is taking longer than expected. You need to improve the transfer performance without increasing the cost significantly. Which configuration change should you make?

A.Enable staged copy with an Azure Blob Storage staging location.
B.Use PolyBase to load the data into Blob Storage.
C.Increase the number of concurrent connections on the SQL Server.
D.Increase the Data Integration Units (DIU) for the copy activity.
AnswerA

Enabling staged copy with an Azure Blob Storage staging location allows data to be buffered, enabling parallel uploads and retries, which improves transfer performance.

Why this answer

Enabling staged copy with an Azure Blob Storage staging location improves performance by allowing parallel uploads and retries. Option B is wrong because PolyBase is used for loading data into Azure Synapse Analytics or SQL Data Warehouse, not Blob Storage. Option C is wrong because increasing concurrent connections on SQL Server may not address the bottleneck and could impact source performance.

Option D is wrong because increasing Data Integration Units (DIU) would increase cost without necessarily improving performance if the bottleneck is elsewhere (e.g., network or source).

29
MCQhard

You are designing a data processing solution using Azure Databricks with Delta Live Tables (DLT). The solution must handle late-arriving data and ensure that updates to the delta table are processed exactly once. Which DLT pipeline setting should you configure?

A.Set the pipeline mode to 'Trigger once'.
B.Set the pipeline mode to 'Continuous' and enable 'Exactly once' delivery.
C.Use Auto Loader with 'file arrival' mode.
D.Configure the DLT pipeline with 'Delta Live Tables' and use 'APPLY CHANGES INTO' with a watermark.
AnswerD

APPLY CHANGES INTO handles late-arriving data with exactly-once semantics.

Why this answer

DLT pipelines support exactly-once processing and handle late data via watermarking and append-only or update modes. Option A is wrong because 'Trigger once' processes data one time only, not continuous. Option B is wrong because 'Continuous' mode processes data as it arrives but may not guarantee exactly-once without proper configuration.

Option C is wrong because 'File arrival' is not a DLT setting.

30
Multi-Selecthard

Which THREE security features are available in Azure Data Lake Storage Gen2 to protect data at rest and in transit? (Choose three.)

Select 3 answers
A.Azure Storage firewalls and virtual network rules
B.Azure Information Protection
C.Encryption at rest using Storage Service Encryption (SSE)
D.Azure ADLS Gen2 supports HTTPS for data in transit.
E.Azure Policy
AnswersA, C, D

Restrict access to specific networks.

Why this answer

Options A, C, and D are correct. Azure Storage firewalls and virtual network rules provide network-level security to restrict access. Encryption at rest using Storage Service Encryption (SSE) protects data at rest with AES-256 encryption.

HTTPS ensures data in transit is encrypted. Option B (Azure Information Protection) is a classification and labeling service, not a built-in storage security feature. Option E (Azure Policy) is for governance and compliance, not direct data protection.

31
MCQhard

Refer to the exhibit. You deploy the ARM template to create a storage account. After deployment, a developer reports that they cannot access the storage account from an Azure Databricks notebook running in the same virtual network as specified in the subnet rule. What is the most likely reason?

A.The storage account uses customer-managed keys from Key Vault, which requires additional permissions.
B.The firewall default action is Deny, and there are no IP rules allowing the Databricks cluster's public IP.
C.The Databricks cluster is not using a managed virtual network with a service endpoint to the storage account.
D.The storage account has hierarchical namespace enabled, which blocks non-ADLS Gen2 tools.
AnswerC

Correct. The most likely reason is that the Databricks cluster is not using a managed virtual network with a service endpoint to the storage account, so traffic from the cluster is not recognized as coming from the allowed subnet.

Why this answer

The storage account firewall is configured with a default deny and a subnet rule allowing traffic from a specific virtual network subnet. For an Azure Databricks notebook to access the storage account, the Databricks workspace must be deployed with a managed virtual network and the cluster must use that same subnet with a service endpoint to the storage account. If the Databricks cluster is not using a managed virtual network or the subnet is not correctly configured, the traffic will be blocked.

Option A is incorrect because customer-managed keys from Key Vault do not block access; they are for encryption. Option B is incorrect because the firewall's default deny is expected, but the subnet rule should allow traffic from the Databricks VNet, not the cluster's public IP (Databricks clusters in a managed VNet use private IPs). Option D is incorrect because hierarchical namespace (ADLS Gen2) does not block access; it enables it.

32
MCQmedium

Your team uses Azure Synapse Analytics serverless SQL pool to query data in Azure Data Lake Storage Gen2. You notice that queries are running slower than expected. You need to improve query performance by reducing the amount of data scanned. Which two features should you implement? (Select two.)

A.Partition the data in the data lake and use partition elimination in queries.
B.Enable result-set caching for the serverless SQL pool.
C.Enable auto-optimize on the Delta Lake tables.
D.Create materialized views on the serverless SQL pool.
E.Use file pruning by specifying file paths in the OPENROWSET query.
AnswerA, E

Partition elimination allows the query to skip irrelevant partitions, reducing data scanned.

Why this answer

Options A and E are correct. Partition elimination (A) reduces data scanned by skipping irrelevant partitions. File pruning (E) reduces data scanned by reading only specified files via OPENROWSET.

Option B is wrong because result-set caching caches query results but does not reduce the amount of data scanned on the first execution. Option C is wrong because auto-optimize is a feature for Delta Lake tables and is not applicable to serverless SQL pool queries. Option D is wrong because materialized views are not supported in serverless SQL pool, and even if they were, they would not reduce the data scanned by the original query.

33
Multi-Selecthard

Which THREE metrics should you monitor for an Azure Synapse Analytics dedicated SQL pool to ensure optimal performance?

Select 3 answers
A.tempdb usage
B.DWU usage
C.Queued queries
D.Login failures
E.Total storage size
AnswersA, B, C

High tempdb usage can slow queries.

Why this answer

Options A, B, and C are correct. tempdb usage (A) indicates contention and performance issues. DWU usage (B) shows resource utilization and can help determine if scaling is needed. Queued queries (C) indicate concurrency bottlenecks and performance degradation.

Option D (Login failures) is not a performance metric, it's security. Option E (Total storage size) is capacity monitoring, not performance.

34
MCQhard

Your organization uses Azure Data Lake Storage Gen2 with hierarchical namespace enabled. You need to implement a security strategy that allows users to read only specific folders within a container. Which authorization method should you use?

A.Storage account shared key
B.Azure RBAC roles (e.g., Storage Blob Data Contributor) at the container level
C.Shared access signatures (SAS) with folder-level permissions
D.Access control lists (ACLs) on the folder
AnswerD

ACLs allow granular permissions at directory level

Why this answer

ACLs (Access Control Lists) in Azure Data Lake Storage Gen2 can be applied to individual folders, enabling granular read permissions. Option A is incorrect because a storage account shared key grants full access to the entire account. Option B is incorrect because Azure RBAC roles like Storage Blob Data Contributor apply at the container level, affecting all folders within.

Option C is incorrect because shared access signatures (SAS) can be scoped to a container or a file, but not to a specific folder within a container.

35
MCQeasy

You need to monitor the performance of an Azure Stream Analytics job in real time. Which Azure service should you use to track the job's resource utilization (e.g., SU % utilization) and set up alerts when the job is approaching its capacity?

A.Azure Monitor
B.Azure Advisor
C.Microsoft Sentinel
D.Azure Log Analytics
AnswerA

Azure Monitor provides real-time metrics (e.g., SU % utilization) and alerting capabilities for Stream Analytics jobs.

Why this answer

Azure Monitor provides real-time metrics such as SU % utilization for Azure Stream Analytics jobs and allows you to set up alerts based on these metrics. Option B is incorrect because Azure Advisor offers best practice recommendations, not real-time monitoring and alerts. Option C is incorrect because Microsoft Sentinel is a SIEM tool for security analytics.

Option D is incorrect because Azure Log Analytics is used for log analysis, not primarily for real-time metric alerts on resource utilization.

36
Multi-Selectmedium

Which TWO Azure services can be used to monitor Azure Data Factory pipeline runs and set up alerts?

Select 2 answers
A.Log Analytics
B.Microsoft Sentinel
C.Azure Policy
D.Azure Monitor
E.Azure Advisor
AnswersA, D

Log Analytics queries logs and can trigger alerts.

Why this answer

Log Analytics and Azure Monitor are the correct choices because they directly support monitoring and alerting for Azure Data Factory pipeline runs. Microsoft Sentinel is a SIEM that consumes logs from Log Analytics but is not a primary monitoring service for ADF. Azure Policy enforces governance rules and does not provide monitoring.

Azure Advisor offers recommendations for optimization, not real-time monitoring or alerts.

37
MCQmedium

Your organization uses Azure Synapse Analytics to run large-scale queries. You need to implement a solution that automatically pauses the dedicated SQL pool when no activity is detected for a specified period, and resumes it when a connection is attempted. What should you configure?

A.You cannot configure auto-pause for a dedicated SQL pool.
B.Use Azure Automation to run a PowerShell script that pauses and resumes the pool.
C.Create an Azure Function that pauses the pool on a schedule.
D.Set the auto-pause delay in the SQL pool properties.
AnswerA

Auto-pause is only for serverless SQL pools.

Why this answer

Azure Synapse Analytics dedicated SQL pool does not support auto-pause; auto-pause is only available for serverless SQL pools. Option B (Azure Automation runbook) could be used as a custom solution but is not a built-in feature. Option C (Azure Functions) also provides a custom approach but is not a native configuration.

Option D (setting auto-pause delay) applies only to serverless SQL pools, not dedicated SQL pools. Therefore, the only accurate statement is that you cannot configure auto-pause for a dedicated SQL pool.

38
MCQmedium

You are designing a data ingestion pipeline for Azure Synapse Analytics. The pipeline will load sensitive financial data from an on-premises SQL Server to a dedicated SQL pool. The data must be encrypted at rest and in transit. Which combination of features should you use?

A.Use Always Encrypted in SQL Server and Azure Key Vault for column encryption.
B.Enable Azure Disk Encryption on the source server and use a VPN gateway.
C.Implement client-side encryption using Azure Storage client library and store keys in Microsoft Purview.
D.Use Azure Synapse Transparent Data Encryption (TDE) and enforce TLS 1.2 for connections.
AnswerD

TDE encrypts data at rest in Synapse, and TLS secures data in transit.

Why this answer

Transparent Data Encryption (TDE) encrypts data at rest in the dedicated SQL pool, and enforcing TLS 1.2 ensures encryption in transit. Option A is wrong because Always Encrypted is for column-level encryption, not for the entire pipeline. Option B is wrong because Azure Disk Encryption is for IaaS VMs, not for Azure Synapse.

Option C is wrong because client-side encryption is not built-in for Synapse ingestion.

39
MCQmedium

You are designing a solution to monitor the performance of Azure Synapse Analytics dedicated SQL pools. You need to identify queries that are consuming more than 100 GB of memory and have been running for more than 30 minutes. Which DMV should you query?

A.sys.dm_pdw_resource_waits
B.sys.dm_pdw_nodes
C.sys.dm_pdw_exec_requests
D.sys.dm_pdw_waits
AnswerC

Contains memory and duration columns for queries.

Why this answer

Sys.dm_pdw_exec_requests, is correct because it provides detailed information about active or recently completed queries, including memory consumption (estimated_memory_kb) and duration (start_time, total_elapsed_time). You can filter this DMV to find queries with memory > 100 GB and runtime > 30 minutes. Option A (sys.dm_pdw_resource_waits) shows resource wait statistics, not memory usage.

Option B (sys.dm_pdw_nodes) provides node-level information, not query details. Option D (sys.dm_pdw_waits) shows wait types for queries, not memory or duration.

40
MCQmedium

You are optimizing an Azure Data Factory pipeline that moves data from Azure Blob Storage to Azure SQL Database. The pipeline currently uses a Copy activity with a staging setting enabled. You notice high DTU consumption on the Azure SQL Database during the copy operation. How can you reduce the impact on the source database?

A.Configure the Copy activity to use staging with Azure Blob Storage and then use a stored procedure to bulk insert.
B.Use PolyBase to load data directly from Blob Storage to Azure SQL Database.
C.Enable parallel copy in the Copy activity settings.
D.Increase the DTU of the Azure SQL Database to handle the load.
AnswerA

Staging allows the copy to offload transformation to Blob Storage, and bulk insert reduces DTU consumption.

Why this answer

Staging the copy to Azure Blob Storage and then using a stored procedure for bulk insert reduces the direct load on Azure SQL Database, lowering DTU consumption during the copy. Option B is incorrect because PolyBase is designed for Azure Synapse Analytics, not Azure SQL Database. Option C (parallel copy) can increase throughput but also increases DTU usage, not reducing it.

Option D (increasing DTU) is a scaling measure, not a reduction technique.

41
Multi-Selecthard

Which TWO actions should you take to secure access to Azure Data Lake Storage Gen2 when using Azure Synapse Analytics serverless SQL pools? (Choose two.)

Select 2 answers
A.Enable firewall rules and virtual network service endpoints for the storage account.
B.Use managed identity authentication from the serverless SQL pool to the storage account.
C.Use a service principal with a client secret to access the storage account.
D.Generate a shared access signature (SAS) token for the storage account and store it securely.
E.Use Azure Active Directory (Azure AD) passthrough authentication for the serverless pool.
AnswersA, B

Network restrictions reduce the attack surface.

Why this answer

To secure access to Azure Data Lake Storage Gen2 from Azure Synapse Analytics serverless SQL pools, two effective actions are: (A) Enable firewall rules and virtual network service endpoints to restrict network access to the storage account, and (B) Use managed identity authentication from the serverless SQL pool to the storage account, which eliminates the need to store credentials and provides secure, Azure AD-based authentication. Option C (service principal with client secret) is less secure than managed identity because it requires managing secrets. Option D (shared access signature token) is not recommended for long-term access as tokens can be leaked and need to be rotated.

Option E (Azure AD passthrough authentication) is not supported for serverless SQL pools; it is only available for dedicated SQL pools.

42
MCQeasy

You have an Azure Synapse Analytics serverless SQL pool. You need to monitor the number of queries that are currently executing. Which dynamic management view should you query?

A.sys.dm_resource_governor_workload_groups
B.sys.dm_exec_query_stats
C.sys.dm_exec_requests
D.sys.dm_exec_sessions
AnswerC

sys.dm_exec_requests shows currently executing requests in the serverless SQL pool, including state, command, and session ID.

Why this answer

Sys.dm_exec_returns detailed information about each request currently executing on the serverless SQL pool, including its state, command, and session ID. This DMV is specifically designed for monitoring active queries.

Option A (sys.dm_resource_governor_workload_groups) shows workload group configuration and resource statistics, not current requests.

Option B (sys.dm_exec_query_stats) provides cumulative performance statistics for cached query plans, not currently executing queries.

Option D (sys.dm_exec_sessions) contains session-level information but does not indicate which sessions are actively executing a request.

43
MCQhard

You are configuring Microsoft Purview to scan an Azure Data Explorer (ADX) cluster. You define the JSON shown in the exhibit. However, the scan fails with an authentication error. What is the most likely cause?

A.The ADX cluster is behind a firewall and Purview cannot connect.
B.The database name in the scan configuration is incorrect.
C.The ADX cluster does not have a managed identity enabled for Purview.
D.The region of the ADX cluster does not match the Purview account region.
AnswerC

Purview uses managed identity for authentication; it must be enabled.

Why this answer

Purview requires a system-assigned managed identity (or user-assigned) to be enabled on the ADX cluster and granted permissions. Option A (firewall) could be a cause, but the error is authentication specifically. Option B (region mismatch) is not a common issue.

Option D (incorrect database) would cause a different error.

44
MCQeasy

You are designing a data pipeline that uses Azure Data Factory to copy data from an Azure SQL database to Azure Data Lake Storage Gen2. The data contains personally identifiable information (PII) that must be masked. Which Data Factory feature should you use?

A.Use a copy activity with a query to select only non-PII columns.
B.Use a stored procedure activity to mask data in the source before copy.
C.Enable staging on the copy activity to use PolyBase.
D.Use a mapping data flow to apply a mask transformation on PII columns.
AnswerD

Data flows support mask transformations.

Why this answer

Mapping Data Flows in Azure Data Factory provide built-in transformations for data masking, such as the Mask transformation, which can obfuscate PII columns during the data flow. Option A is incorrect because a copy activity with a query can only filter columns but does not support masking; it simply selects a subset of columns without transformation. Option B is incorrect because while a stored procedure activity can execute masking logic on the source, it requires additional setup and does not integrate seamlessly with Data Factory's native transformation capabilities.

Option C is incorrect because staging with PolyBase is used to improve bulk copy performance, not for data masking.

45
Multi-Selecteasy

Which TWO Azure services can be used to audit data access and changes in Azure Data Lake Storage Gen2? (Choose two.)

Select 2 answers
A.Microsoft Entra ID sign-in logs.
B.Azure Backup reports.
C.Storage account diagnostic settings.
D.Azure Monitor and Microsoft Sentinel.
E.Azure Policy.
AnswersC, D

Diagnostic settings log read/write operations.

Why this answer

Options C and D are correct. Storage account diagnostic settings enable logging of read, write, and delete operations to Azure Data Lake Storage Gen2, which can be used for auditing. Azure Monitor collects these logs and integrates with Microsoft Sentinel for advanced security monitoring and threat detection.

Option A is incorrect because Microsoft Entra ID sign-in logs track user authentication, not data access at the storage level. Option B is incorrect because Azure Backup reports focus on backup status, not auditing data changes. Option E is incorrect because Azure Policy enforces compliance rules but does not audit data access or modification events.

46
MCQeasy

Your company uses Azure Data Lake Storage Gen2 as a data lake. You need to monitor for unauthorized access attempts and ensure compliance with regulatory requirements. You want to be alerted when someone attempts to access data without proper permissions. What should you configure?

A.Assign RBAC roles to limit access and rely on Azure Activity Log.
B.Configure Azure Policy to audit storage account access.
C.Enable diagnostic settings for the storage account, send logs to Log Analytics, and create an alert rule for 'StorageRead' failures.
D.Enable Azure Sentinel and connect storage logs.
AnswerC

Diagnostic logs capture detailed access, alerts can be set on specific conditions.

Why this answer

Enabling diagnostic settings for the storage account and sending logs to Log Analytics allows you to create alert rules that trigger on 'StorageRead' failures, indicating unauthorized access attempts. Option A is incorrect because while RBAC roles limit access, the Azure Activity Log only records management plane operations, not data plane access such as read failures. Option B is incorrect because Azure Policy is for governance and compliance of resource configurations, not for monitoring and alerting on access events.

Option D is incorrect because although Azure Sentinel could be used, it is a more complex SIEM solution; the question asks for what should be configured, and the simpler, direct approach is to use diagnostic settings with Log Analytics alerts.

47
MCQeasy

You are monitoring an Azure Data Factory pipeline that runs hourly. You notice that the pipeline occasionally fails due to transient errors. Which monitoring solution should you use to get alerts on failures and analyze trends over time?

A.Azure Event Grid subscription for pipeline failures
B.Azure Monitor with Log Analytics workspace
C.Azure Dashboard pinned with pipeline metrics
D.Azure Data Factory Monitor in the Azure portal
AnswerB

Provides alerting and long-term trend analysis via KQL queries.

Why this answer

Azure Monitor with alerts and Log Analytics provides historical analysis and alerting. Option A (Data Factory Monitor) is for real-time monitoring but lacks long-term trend analysis. Option C (Azure Dashboard) is a visualization tool.

Option D (Event Grid) is for event-driven notifications, not analysis.

48
Multi-Selectmedium

Which TWO actions should you take to secure data at rest in Azure Synapse Analytics dedicated SQL pools?

Select 2 answers
A.Use Always Encrypted with secure enclaves for specific columns.
B.Implement column-level security to filter sensitive columns.
C.Enable Transparent Data Encryption (TDE) on the SQL pool.
D.Configure Dynamic Data Masking on tables containing sensitive data.
E.Assign Azure RBAC roles to restrict access to the storage account.
AnswersA, C

Always Encrypts protects data at rest and in use.

Why this answer

Always Encrypted with secure enclaves encrypts sensitive columns at rest and during query processing. Option C is correct: Transparent Data Encryption (TDE) encrypts the entire database at rest. Options B, D, and E are incorrect: column-level security and Dynamic Data Masking control access or mask output but do not encrypt at rest; Azure RBAC manages permissions, not encryption.

Exam trap

Candidates often confuse Always Encrypted with Dynamic Data Masking or mistake TDE for a column-level solution. Remember: TDE encrypts the whole database, Always Encrypted protects specific columns.

49
MCQhard

A company uses Azure Synapse Analytics serverless SQL pool to query data in Azure Data Lake Storage Gen2. They notice that queries are slow and want to improve performance by reducing the amount of data read. What is the most effective strategy?

A.Partition the data by a frequently filtered column and use file elimination in queries.
B.Increase the number of compute nodes in the serverless pool.
C.Use OPENROWSET with CSV format instead of Parquet.
D.Create external tables using CETAS and query them.
AnswerA

Partitioning the data in the lake and using partition elimination reduces data read.

Why this answer

Partitioning the data in the lake and using partition elimination reduces data read. Option B is wrong because increasing the number of compute nodes is not possible in serverless; it's auto-scaling. Option C is wrong because OPENROWSET with CSV reads all files; it does not reduce data read.

Option D is wrong because CETAS is for creating external tables, not for improving query performance directly.

50
Multi-Selecteasy

Which TWO Azure features can be used to encrypt data at rest in Azure Blob Storage? (Choose two.)

Select 2 answers
A.Azure Disk Encryption
B.Azure Information Protection
C.Customer-managed keys in Azure Key Vault
D.Storage Service Encryption (SSE)
E.Transport Layer Security (TLS)
AnswersC, D

Customer-managed keys in Azure Key Vault allow you to control the encryption keys used for Storage Service Encryption.

Why this answer

Options C and D are correct. D: Storage Service Encryption (SSE) encrypts data at rest by default. C: Customer-managed keys in Azure Key Vault provide additional control over encryption keys.

Option A is wrong because Azure Disk Encryption is for VMs, not Blob Storage. Option B is wrong because Azure Information Protection is for classification and labeling, not encryption at rest. Option E is wrong because TLS is for data in transit.

51
Multi-Selecthard

You are optimizing the performance of an Azure Synapse Analytics dedicated SQL pool. Which THREE of the following actions will most likely improve query performance?

Select 3 answers
A.Create materialized views for frequently used aggregations
B.Use a smaller distribution column to improve data distribution
C.Partition large fact tables on a date column
D.Enable result-set caching for repetitive queries
E.Convert all tables to heap tables to avoid index maintenance
AnswersA, C, D

Materialized views store precomputed results, speeding up queries.

Why this answer

Materialized views precompute and store aggregated results, reducing the need to scan large tables on every query. Option C is correct because partitioning large fact tables on a date column enables partition elimination, which reduces the amount of data scanned for queries that filter on the partition key. Option D is correct because result-set caching allows repeated queries to return cached results directly without recomputation.

Option B is incorrect: using a smaller distribution column does not necessarily improve data distribution and can cause data skew if the column has low cardinality. Option E is incorrect: converting all tables to heap tables removes indexes, which typically degrades query performance; heaps are primarily used for staging or loading data, not for performance optimization.

52
MCQeasy

You need to ensure that an Azure Data Factory pipeline retries a failed activity up to three times with a 5-minute delay between retries. How should you configure the activity?

A.Configure the Retry policy on the pipeline activity as 'Exponential' with count 3
B.Set retry to 3 and retryIntervalInSeconds to 300 in the activity policy
C.Set the activity timeout to 15 minutes and enable retry
D.Set maxRetries to 3 and delay to 5 minutes in the pipeline JSON
AnswerB

This configures 3 retries with 300 seconds (5 minutes) interval.

Why this answer

The correct configuration is to set the retry property to 3 and retryIntervalInSeconds to 300 in the activity policy. This ensures up to three retries with a 5-minute (300-second) delay between each attempt. Option A is incorrect because Azure Data Factory supports a fixed retry interval, not exponential backoff via the Retry policy.

Option C is incorrect because timeout is separate from retry configuration; retry is configured at the activity level. Option D is incorrect because the correct property name is 'retry' not 'maxRetries', and the delay is specified in seconds as 'retryIntervalInSeconds'.

53
Multi-Selecthard

Your organization uses Azure Data Lake Storage Gen2 with hierarchical namespace enabled. You need to implement a monitoring strategy to detect and alert on unusual access patterns that could indicate a security breach. Which THREE services or features should you use? (Choose three.)

Select 3 answers
A.Enable Microsoft Defender for Storage to get security alerts about unusual access patterns.
B.Apply Azure Policy to enforce encryption and access policies.
C.Ingest the logs into Microsoft Sentinel and create analytics rules for anomalous patterns.
D.Enable diagnostic settings on the storage account to collect read, write, and delete logs.
E.Use Azure Monitor Metrics to track storage account transactions and latency.
AnswersA, C, D

Correct: Defender for Storage provides built-in threat detection for Azure Storage.

Why this answer

Options A, C, and D are correct. A: Microsoft Defender for Storage provides security alerts for unusual access patterns. C: Ingesting logs into Microsoft Sentinel allows creation of analytics rules to detect anomalous patterns.

D: Diagnostic settings on the storage account collect read, write, and delete logs necessary for analysis. Option B is incorrect because Azure Policy is used for governance and enforcement of policies, not for monitoring access patterns. Option E is incorrect because Azure Monitor Metrics track transaction counts and latency but do not include detailed access logs required for detecting unusual patterns.

54
MCQhard

You are a data engineer for a healthcare company. You have a production Azure Synapse Analytics dedicated SQL pool (DW500c) that hosts patient data. The pool is used for both ETL and reporting. You need to ensure that reporting queries always get resources even during heavy ETL loads. You also need to monitor query performance and set up alerts when certain queries exceed a threshold. You have configured workload management using workload groups and classifiers. However, reporting queries are still waiting for resources when ETL is running. You check the sys.dm_pdw_exec_requests DMV and see that ETL queries are using the largest resource class. You need to modify the configuration to guarantee resources for reporting. What should you do?

A.Create a new workload group for reporting with min_percentage_resource set to 30%
B.Set importance to HIGH for the reporting workload group
C.Increase the DWU setting to DW1000c
D.Change the classifier for reporting queries to use the same workload group as ETL but with a different resource class
AnswerA

Guarantees a minimum resource allocation for reporting.

Why this answer

Creating a separate workload group for reporting with a minimum percentage of resources (min_percentage_resource) guarantees a baseline amount of resources for reporting queries, isolating them from ETL even when ETL is using a large resource class. This is the correct solution. Option B (importance) can help order queries within the same group but does not guarantee resource availability if the group has no minimum.

Option C (increasing DWU) adds more overall resources but does not isolate; reporting may still be starved if ETL uses them. Option D (changing classifier) does not guarantee resources because both queries would compete in the same group.

55
MCQeasy

Your company uses Azure Data Lake Storage Gen2. You need to ensure that data at rest is encrypted using a customer-managed key stored in Azure Key Vault. What should you configure?

A.Use Azure Policy to audit storage accounts without encryption.
B.Enable 'Azure Storage encryption' with customer-managed keys in the storage account's encryption blade.
C.Implement client-side encryption in the application code.
D.Enable 'Infrastructure encryption' for double encryption.
AnswerB

This configures server-side encryption with CMK.

Why this answer

Azure Storage encryption with customer-managed keys is configured in the encryption blade of the storage account. This ensures data at rest is encrypted using a key stored in Azure Key Vault. Option A is incorrect because Azure Policy can audit or enforce encryption but does not configure customer-managed keys.

Option C is incorrect because client-side encryption encrypts data before it reaches Azure Storage, not at rest. Option D is incorrect because infrastructure encryption provides a second encryption layer but does not use customer-managed keys for the primary encryption.

56
MCQhard

You are designing a data lake in Azure Data Lake Storage Gen2 for a large enterprise. You need to ensure that only authorized users can access the data, and you must implement the principle of least privilege. Which security mechanism should you use to grant fine-grained access to specific directories and files without modifying the underlying storage account firewall settings?

A.Azure RBAC roles combined with POSIX-like ACLs
B.Managed identities for Azure resources
C.Storage account firewall rules
D.Shared access signatures (SAS)
AnswerA

RBAC roles grant coarse permissions (e.g., Storage Blob Data Contributor) while ACLs provide fine-grained permissions on directories and files, enabling least privilege.

Why this answer

Azure RBAC combined with POSIX-like ACLs allows fine-grained permissions at the directory and file level, supporting the principle of least privilege without modifying firewall settings. Option D is incorrect because shared access signatures (SAS) grant time-limited access but are not fine-grained at the directory/file level and can be complex to manage. Option B is incorrect because managed identities provide identity-based access but still require RBAC or ACLs for fine-grained control.

Option C is incorrect because storage account firewall rules apply at the account level, not at the directory or file level.

57
MCQeasy

You are configuring Azure Synapse Analytics dedicated SQL pool. To optimize query performance for a large fact table that is frequently filtered on date and region columns, which table distribution and indexing strategy should you recommend?

A.Hash distribution on date column with clustered index.
B.Replicated distribution with heap index.
C.Round-robin distribution with clustered index.
D.Hash distribution on region column with clustered columnstore index.
AnswerD

Hash distribution on a high-cardinality column improves joins and filtering; columnstore is efficient for large tables.

Why this answer

The best recommendation because hash distribution on the region column evenly distributes the data across distributions (assuming high cardinality), and clustering with a columnstore index provides excellent compression and query performance for large fact tables, especially when filtered on non-distribution columns like date. Option A (hash on date) risks data skew if date cardinality is low. Option B (replicated) is designed for small dimension tables, not large fact tables.

Option C (round-robin) distributes rows randomly, preventing partition elimination and reducing filter performance.

58
Multi-Selecthard

You are optimizing an Azure Synapse Analytics dedicated SQL pool that is experiencing high concurrency and frequent resource class contention. You need to improve query performance and reduce contention without changing the workload. Which two actions should you take? (Choose two.)

Select 2 answers
A.Increase the DWU (Data Warehouse Units) to allocate more resources.
B.Implement workload isolation to separate critical queries into dedicated resource groups.
C.Create materialized views to pre-aggregate data.
D.Use workload classification to assign importance and resource allocation to different queries.
E.Enable result set caching to reduce repeated query execution.
AnswersB, D

Workload isolation creates dedicated resource groups for critical queries, ensuring they have reserved resources and reducing contention with other workloads.

Why this answer

Options B and D are correct. Workload isolation and workload classification help manage resource allocation and reduce contention. Option A is wrong because increasing DWU may help but does not address contention directly.

Option C is wrong because materialized views improve performance but do not reduce contention. Option E is wrong because result set caching helps read workloads but not contention.

59
MCQmedium

You are configuring security for an Azure Synapse Analytics workspace that uses a serverless SQL pool. The workspace is connected to Azure Data Lake Storage Gen2 via a managed identity. You need to ensure that only the Synapse workspace can access the storage account, and no other Azure service or user can access it directly. The storage account should not be accessible from the public internet. What should you do?

A.Configure the storage account firewall to allow only the Synapse workspace's public IP address.
B.Enable 'Allow trusted Microsoft services to access this storage account' on the firewall.
C.Use Azure RBAC to assign the Storage Blob Data Contributor role to the Synapse workspace managed identity.
D.Configure a private endpoint for the storage account in the same virtual network as the Synapse workspace, and disable public network access.
AnswerD

Private endpoint ensures private connectivity; disabling public access restricts others.

Why this answer

Configure a private endpoint for the storage account in the same virtual network as the Synapse workspace, and disable public network access. This ensures that only the Synapse workspace, which is connected via the private endpoint, can access the storage account. The managed identity is used for authentication, but the private endpoint restricts network access.

Option A is incorrect because public IP addresses can change and do not provide secure, private connectivity. Option B is incorrect because allowing trusted Microsoft services would permit other Azure services to access the storage account, not just the Synapse workspace. Option C is incorrect because RBAC alone does not restrict network access; the storage account would still be publicly accessible.

60
MCQmedium

Your Azure Synapse Analytics dedicated SQL pool is experiencing performance degradation. You notice that some queries are being queued due to resource class conflicts. What should you implement to optimize performance and reduce queuing?

A.Scale the dedicated SQL pool to a higher DWU level
B.Configure workload management with workload groups and classifiers
C.Create materialized views for the most common aggregations
D.Enable result-set caching for frequently run queries
AnswerB

Workload management allows you to assign appropriate resources to queries based on their priority, reducing conflicts.

Why this answer

Workload management with workload groups and classifiers allows you to assign queries to different resource classes and prioritize them, directly addressing resource class conflicts and reducing queuing. Option A is incorrect: scaling the pool to a higher DWU increases overall resources but does not specifically manage resource class contention; it may also incur additional cost without solving the root issue. Option C is incorrect: materialized views improve query performance by pre-aggregating data but do not affect concurrency or queuing.

Option D is incorrect: result-set caching reduces repeated computation for identical queries but does not resolve queuing caused by resource class conflicts.

61
MCQeasy

You have an Azure Data Factory pipeline that copies data from an FTP server to Azure Blob Storage. The pipeline runs successfully most of the time, but occasionally fails with a 'FTP server connection refused' error during peak hours. You need to minimize these failures with minimal cost. What should you do?

A.Add a retry policy to the copy activity with a backoff interval.
B.Set up Azure ExpressRoute to improve network reliability.
C.Migrate the FTP server to SFTP.
D.Increase the parallel copy count in the copy activity.
AnswerA

Retry with backoff handles transient connection failures.

Why this answer

Adding a retry policy with a backoff interval handles transient connection issues. Option D is wrong because increasing parallel copies does not solve connection refused errors. Option B is wrong because Azure ExpressRoute is costly and unnecessary for FTP.

Option C is wrong because migrating to SFTP may not resolve connection refused if the server is overloaded.

62
MCQhard

You are designing a data processing solution using Azure Synapse Analytics serverless SQL pool. The solution will query data stored in Parquet files in Azure Data Lake Storage Gen2. You need to ensure that the queries are optimized for performance. Which action should you take?

A.Increase the MAXDOP setting in the query.
B.Convert the Parquet files to CSV format for faster parsing.
C.Create materialized views on the external tables.
D.Partition the Parquet files by date and use partition pruning in the query.
AnswerD

Partitioning by date enables partition pruning, reducing data scanned and improving query performance.

Why this answer

Partitioning Parquet files by a commonly filtered column, such as date, allows Azure Synapse serverless SQL pool to perform partition pruning, which eliminates scanning unnecessary partitions and reduces the amount of data read. Option A is incorrect because increasing MAXDOP (maximum degree of parallelism) can lead to resource contention and may not improve query performance in serverless SQL pool. Option B is incorrect because Parquet is a columnar format optimized for analytics and is more efficient than CSV for querying large datasets.

Option C is incorrect because materialized views are not supported in serverless SQL pool; they are only available in dedicated SQL pool.

63
Multi-Selectmedium

Which TWO actions should you take to ensure that data at rest is encrypted in Azure Synapse Analytics dedicated SQL pool?

Select 2 answers
A.Enable Always Encrypted with secure enclaves.
B.Enable infrastructure-level encryption using double encryption.
C.Apply column-level encryption using ENCRYPTBYPASSPHRASE.
D.Create a customer-managed key in Azure Key Vault.
E.Enable Transparent Data Encryption (TDE) using service-managed keys.
AnswersB, E

Azure Storage double encryption provides additional layer at rest.

Why this answer

The correct actions are B and E. Transparent Data Encryption (TDE) with service-managed keys (Option E) encrypts the entire dedicated SQL pool at rest by default. Infrastructure-level encryption using double encryption (Option B) adds a second layer of encryption at the infrastructure level, providing extra protection.

Option A (Always Encrypted with secure enclaves) is for client-side encryption during queries, not at rest. Option C (column-level encryption with ENCRYPTBYPASSPHRASE) encrypts specific columns, not the entire pool. Option D (creating a customer-managed key in Azure Key Vault) is a prerequisite for TDE with customer-managed keys, but the action to enable encryption itself is TDE; Option E with service-managed keys already achieves at-rest encryption without requiring a customer-managed key.

64
Multi-Selecthard

Your organization uses Azure Purview for data governance. You need to ensure that sensitive data is properly classified and that access to it is monitored. Which THREE actions should you take? (Choose three.)

Select 3 answers
A.Define Azure Policy initiatives to enforce classification on all storage accounts.
B.Use Azure Sentinel to classify data as it is ingested.
C.Create custom sensitivity labels in Microsoft Purview Information Protection and apply them to data sources.
D.Integrate Azure Purview with Microsoft Defender for Cloud Apps to monitor access to sensitive data.
E.Set up automated scanning in Azure Purview to discover and classify sensitive data.
AnswersC, D, E

Correct: Sensitivity labels help enforce protection policies and are used in monitoring.

Why this answer

The correct answers are C, D, and E. Creating custom sensitivity labels in Microsoft Purview Information Protection (option C) allows data to be tagged with sensitivity levels. Integrating Azure Purview with Microsoft Defender for Cloud Apps (option D) provides monitoring of access to sensitive data.

Automated scanning in Azure Purview (option E) discovers and classifies data automatically. Option A is incorrect because Azure Policy is used for governance and compliance enforcement, not for data classification or monitoring. Option B is incorrect because Azure Sentinel is a security information and event management (SIEM) solution, not a data classification tool.

65
MCQeasy

You are designing a data pipeline in Azure Data Factory that processes streaming data from Azure Event Hubs and stores it in Azure Data Lake Storage Gen2. The data must be encrypted at rest and in transit. Which configuration ensures encryption in transit?

A.Enable encryption at rest using Azure Storage Service Encryption.
B.Use HTTPS endpoint for Azure Data Lake Storage Gen2.
C.Configure the Azure Data Factory integration runtime to use TLS 1.2.
D.Deploy Azure Firewall to inspect traffic between Event Hubs and Data Lake.
AnswerB

HTTPS (HTTP over TLS) encrypts data in transit between clients and Azure Data Lake Storage Gen2.

Why this answer

HTTPS ensures encryption in transit for Azure Data Lake Storage Gen2. Option A is wrong because encryption at rest does not cover data in transit. Option C is wrong because while TLS 1.2 is important, the integration runtime configuration does not directly apply to the storage endpoint; the storage account itself must use HTTPS.

Option D is wrong because Azure Firewall does not provide encryption; it filters traffic.

66
MCQeasy

You need to monitor the performance of an Azure Data Factory pipeline that copies data from an on-premises SQL Server to Azure Blob Storage. The pipeline runs on a self-hosted integration runtime. Which metric is most important to monitor to ensure the self-hosted IR is not a bottleneck?

A.Pipeline duration metric
B.Queue depth for the self-hosted IR
C.Number of active connections to the IR
D.Data read and data written metrics for the pipeline
AnswerB

High queue depth indicates the IR is unable to process activities quickly enough.

Why this answer

Queue depth for the self-hosted IR is the most important metric to monitor because it indicates how many activities are queued waiting for the IR to process. A high queue depth suggests the IR is overloaded and becoming a bottleneck. In contrast, pipeline duration (A) reflects total time but does not isolate IR performance.

Active connections (C) measure concurrent loads but not queuing. Data read/written (D) track throughput, but a bottleneck may appear even with high throughput if the IR cannot keep up.

67
MCQeasy

An organization is using Azure Synapse Analytics and wants to implement column-level security to restrict access to sensitive columns. Which feature should they use?

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

Column-level security in Azure Synapse Analytics uses GRANT statements on specific columns to restrict access to sensitive data.

Why this answer

Column-level security in Azure Synapse Analytics is implemented using GRANT statements on specific columns, restricting access to sensitive columns. Option A is incorrect because dynamic data masking obfuscates data at query time but does not prevent access. Option B is incorrect because Azure Purview is a data governance service, not for access control.

Option D is incorrect because row-level security filters rows, not columns.

68
MCQmedium

You are optimizing cost for an Azure Data Lake Storage Gen2 account that stores historical data. The data is accessed infrequently after 30 days and must be retained for 7 years. Which lifecycle management rule should you apply?

A.Move blobs to archive tier immediately after 30 days.
B.Delete blobs after 30 days.
C.Move blobs to premium tier after 30 days.
D.Move blobs to cool tier after 30 days, then to archive tier after 1 year.
AnswerD

This is correct: cool tier after 30 days reduces costs for infrequent access, and archive after 1 year maximizes long-term savings while retaining data for 7 years.

Why this answer

It moves blobs to the cool tier after 30 days (saving costs for infrequent access) and then to the archive tier after 1 year (maximizing savings for long-term retention), meeting both the access pattern and 7-year retention requirement. Option A is wrong because moving directly to archive after 30 days makes data unavailable for immediate access and incurs high retrieval costs if needed. Option B is wrong because deleting after 30 days violates the 7-year retention policy.

Option C is wrong because the premium tier is designed for high performance, not cost savings on cold data.

69
MCQhard

You are reviewing an Azure Data Factory pipeline JSON. Based on the exhibit, what will be the behavior of the Copy activity when copying files from a source folder that contains subfolders?

A.The copy will use staging to improve performance.
B.Only files in the root folder will be copied.
C.Files will be copied preserving the source folder structure.
D.All files from all subfolders will be copied into a single folder in the sink.
AnswerD

FlattenHierarchy merges all files into one folder.

Why this answer

The Copy activity is configured with recursive: true, which copies all files from all subfolders, and the sink is set to FlattenHierarchy, which places all files into a single folder without preserving the source folder structure. Option A is incorrect because staging is disabled. Option B is incorrect because recursive: true causes files from subfolders to be copied.

Option C is incorrect because FlattenHierarchy does not preserve folder structure.

70
MCQmedium

You are reviewing a script to create an external data source in Azure Synapse Analytics serverless SQL pool. Based on the exhibit, what is the purpose of the SAS token?

A.To provide read access to the container for querying data.
B.To provide write access to the container for storing query results.
C.To encrypt the connection between the serverless pool and storage.
D.To authenticate the user to the serverless SQL pool.
AnswerA

The SAS includes 'sp=rl' which grants read and list permissions.

Why this answer

The SAS token grants read and list permissions (sp=rl) to the container, which allows the serverless SQL pool to read data from the container. Option B is incorrect because the SAS token does not have write permission (sp=rl, no write). Option C is incorrect because the SAS token does not encrypt the connection; it provides delegated access.

Option D is incorrect because the SAS token is used in the credential to access storage, not to authenticate to the serverless SQL pool.

71
Multi-Selectmedium

You are monitoring the performance of an Azure Data Factory pipeline that uses a Copy activity to load data into Azure Synapse Analytics. Which THREE metrics should you monitor to identify potential performance bottlenecks?

Select 3 answers
A.Throughput (data read/written per second).
B.Integration runtime CPU utilization.
C.Pipeline run duration.
D.Copy activity duration.
E.Data read and written metrics.
AnswersA, D, E

Throughput indicates the speed of data transfer.

Why this answer

Options A, D, and E are correct. Throughput (data read/written per second), Copy activity duration, and Data read and written metrics are direct indicators of performance bottlenecks in the Copy activity. Option B is incorrect because Integration runtime CPU utilization is not a standard metric exposed by Azure Data Factory for monitoring Copy activity performance; it reflects runtime resource usage but not directly the data transfer performance.

Option C is incorrect because Pipeline run duration includes overhead from orchestration, such as pipeline activity scheduling and coordination, and is not a precise measure of the Copy activity's data transfer performance.

72
MCQhard

Contoso Ltd. runs a real-time analytics solution on Azure Databricks with data streaming from Event Hubs. They need to ensure that all data in transit between Event Hubs and Databricks is encrypted using TLS 1.2 or higher. Currently, the Event Hubs namespace is configured with the default TLS version (1.0). The Databricks cluster uses a public endpoint. Compliance requires that only TLS 1.2 is accepted. You need to configure the environment to enforce TLS 1.2 without disrupting ongoing streaming. What should you do?

A.Update the Event Hubs namespace to require TLS 1.2, then modify the Databricks streaming job's connection string to include 'TransportType=AmqpTls' and restart the streaming job.
B.Change the Event Hubs namespace minimum TLS version to 1.2 in the Azure portal, then reboot the Databricks cluster.
C.In the Event Hubs namespace, set 'Minimum TLS version' to 1.2 and redeploy the Databricks cluster with a new init script that forces TLS 1.2.
D.Use Azure CLI to set the Event Hubs namespace TLS version to 1.2 and update the Databricks cluster's Spark configuration to use TLS 1.2.
AnswerA

Enforces TLS 1.2 with minimal disruption.

Why this answer

To enforce TLS 1.2 without disrupting ongoing streaming, you must first update the Event Hubs namespace to require TLS 1.2 via the 'Minimum TLS version' setting. Then, configure the Databricks streaming job's connection string to include 'TransportType=AmqpTls' to ensure the client uses TLS 1.2. Finally, restart the streaming job to apply the new connection settings.

Option A correctly describes these steps. Option B incorrectly suggests rebooting the cluster, which is unnecessary and would disrupt streaming. Option C incorrectly suggests redeploying the cluster with an init script, which is not needed and causes disruption.

Option D includes an unnecessary Spark configuration change; the connection string parameter (TransportType=AmqpTls) is sufficient.

73
Multi-Selecthard

Which THREE methods can you use to monitor and optimize the performance of an Azure Data Lake Storage Gen2 account?

Select 3 answers
A.Use Azure Advisor to get performance recommendations.
B.Enable Azure Monitor metrics for the storage account.
C.Implement lifecycle management policies to move data to cooler tiers.
D.Use Azure SQL Analytics to query storage logs.
E.Configure Storage Analytics logs for read and write requests.
AnswersB, C, E

Metrics like latency and throughput help monitor performance.

Why this answer

Options B, C, and E are correct. Azure Monitor metrics (B) provide performance data such as latency and throughput for the storage account. Lifecycle management policies (C) optimize costs by automatically moving data to cooler tiers based on access patterns, which can improve performance for frequently accessed data.

Storage Analytics logs (E) capture detailed information about read and write requests, helping to identify performance bottlenecks. Option A (Azure Advisor) offers recommendations but is not a direct monitoring method; it is an advisory tool. Option D (Azure SQL Analytics) is designed for monitoring Azure SQL Database, not Azure Data Lake Storage Gen2.

74
MCQeasy

You need to monitor the performance of an Azure Stream Analytics job that processes real-time IoT data. Which metric indicates the number of events that are being dropped or delayed due to insufficient processing capacity?

A.Watermark delay.
B.Output events.
C.Backlogged input events.
D.Input events.
AnswerC

Backlogged input events shows the number of events that are queued but not yet processed, indicating capacity issues.

Why this answer

Backlogged input events (C) measures the number of events that are queued awaiting processing, indicating that the job is unable to keep up with the input rate. High backlog suggests insufficient processing capacity, leading to dropped or delayed events. Watermark delay (A) measures the time lag in processing, but does not directly count events dropped.

Input events (D) is the total received, not dropped/delayed. Output events (B) is the total sent.

75
Multi-Selecthard

Which THREE metrics should you monitor to evaluate the performance of an Azure Stream Analytics job?

Select 3 answers
A.Input Events Backlogged
B.Output Events
C.Conversion Errors
D.SU (Memory) Utilization
E.Watermark Delay (seconds)
AnswersA, B, E

Shows backlog of unprocessed events.

Why this answer

Watermark Delay (indicates latency), Input Events Backlogged (backlog of unprocessed events), and Output Events (throughput) are key performance metrics for an Azure Stream Analytics job. Option C (Conversion Errors) and Option D (SU (Memory) Utilization) are not performance metrics; Conversion Errors is an error metric, and SU Utilization is a resource metric.

Page 1 of 3 · 223 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Secure Monitor Optimize Data questions.