https://github.com/ditectrev/dp-203
https://github.com/ditectrev/dp-203
azure azure-certification dp-203 dp-203-practice-exam microsoft-azure
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ditectrev/dp-203
- Owner: Ditectrev
- Created: 2024-08-25T08:41:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T08:05:23.000Z (over 1 year ago)
- Last Synced: 2024-12-01T19:07:44.127Z (over 1 year ago)
- Topics: azure, azure-certification, dp-203, dp-203-practice-exam, microsoft-azure
- Homepage:
- Size: 1.59 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
### You have an Azure Synapse Analytics dedicated SQL Pool1. Pool1 contains a partitioned fact table named `dbo.Sales` and a staging table named `stg.Sales` that has the matching table and partition definitions. You need to overwrite the content of the first partition in `dbo.Sales` with the content of the same partition in `stg.Sales`. The solution must minimize load times. What should you do?
- [ ] Switch the first partition from `dbo.Sales` to `stg.Sales`.
- [x] Switch the first partition from `stg.Sales` to `dbo.Sales`.
- [ ] Update `dbo.Sales` from `stg.Sales`.
- [ ] Insert the data from `stg.Sales` into `dbo.Sales`.
### You plan to create an Azure Databricks workspace that has a tiered structure. The workspace will contain the following three workloads: A workload for data engineers who will use Python and SQL. A workload for jobs that will run notebooks that use Python, Scala, and SQL. A workload that data scientists will use to perform ad hoc analysis in Scala and R. The enterprise architecture team at your company identifies the following standards for Databricks environments: The data engineers must share a cluster. The job cluster will be managed by using a request process whereby data scientists and data engineers provide packaged notebooks for deployment to the cluster. All the data scientists must be assigned their own cluster that terminates automatically after 120 minutes of inactivity. Currently, there are three data scientists. You need to create the Databricks clusters for the workloads. Solution: You create a Standard cluster for each data scientist, a High Concurrency cluster for the data engineers, and a High Concurrency cluster for the jobs. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You are designing an Azure Stream Analytics solution that will analyze Twitter data. You need to count the tweets in each 10-second window. The solution must ensure that each tweet is counted only once. Solution: You use a session window that uses a timeout size of 10 seconds. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You plan to create an Azure Databricks workspace that has a tiered structure. The workspace will contain the following three workloads: A workload for data engineers who will use Python and SQL. A workload for jobs that will run notebooks that use Python, Scala, and SQL. A workload that data scientists will use to perform ad hoc analysis in Scala and R. The enterprise architecture team at your company identifies the following standards for Databricks environments: The data engineers must share a cluster. The job cluster will be managed by using a request process whereby data scientists and data engineers provide packaged notebooks for deployment to the cluster. All the data scientists must be assigned their own cluster that terminates automatically after 120 minutes of inactivity. Currently, there are three data scientists. You need to create the Databricks clusters for the workloads. Solution: You create a High Concurrency cluster for each data scientist, a High Concurrency cluster for the data engineers, and a Standard cluster for the jobs. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You have an Azure Data Factory instance that contains two pipelines named Pipeline1 and Pipeline2. Pipeline1 has the activities shown in the following exhibit. Pipeline2 has the activities shown in the following exhibit. You execute Pipeline2, and Stored procedure1 in Pipeline1 fails. What is the status of the pipeline runs?


- [x] Pipeline1 and Pipeline2 succeeded.
- [ ] Pipeline1 and Pipeline2 failed.
- [ ] Pipeline1 succeeded and Pipeline2 failed.
- [ ] Pipeline1 failed and Pipeline2 succeeded.
### You have an Azure Databricks resource. You need to log actions that relate to changes in compute for the Databricks resource. Which Databricks services should you log?
- [x] Clusters.
- [ ] Workspace.
- [ ] DBFS.
- [ ] SSH.
- [ ] Jobs.
### You have an Azure Synapse Analytics dedicated SQL pool that contains a table named Table1. You have files that are ingested and loaded into an Azure Data Lake Storage Gen2 container named container1. You plan to insert data from the files in container1 into Table1 and transform the data. Each row of data in the files will produce one row in the serving layer of Table1. You need to ensure that when the source data files are loaded to container1, the `DateTime` is stored as an additional column in Table1. Solution: In an Azure Synapse Analytics pipeline, you use a Get Metadata activity that retrieves the `DateTime` of the files. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You are designing an Azure Stream Analytics solution that will analyze Twitter data. You need to count the tweets in each 10-second window. The solution must ensure that each tweet is counted only once. Solution: You use a tumbling window, and you set the window size to 10 seconds. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You are designing an Azure Stream Analytics solution that will analyze Twitter data. You need to count the tweets in each 10-second window. The solution must ensure that each tweet is counted only once. Solution: You use a hopping window that uses a hop size of 10 seconds and a window size of 10 seconds. Does this meet the goal?
- [ ] Yes.
- [x] No.
### What should you do to improve high availability of the real-time data processing solution?
- [x] Deploy identical Azure Stream Analytics jobs to paired regions in Azure.
- [ ] Deploy a High Concurrency Databricks cluster.
- [ ] Deploy an Azure Stream Analytics job and use an Azure Automation runbook to check the status of the job and to start the job if it stops.
- [ ] Set Data Lake Storage to use geo-redundant storage (GRS).
### You configure monitoring for a Microsoft Azure SQL Data Warehouse implementation. The implementation uses PolyBase to load data from comma-separated value (CSV) files stored in Azure Data Lake Gen 2 using an external table. Files with an invalid schema cause errors to occur. You need to monitor for an invalid schema error. For which error should you monitor?
- [ ] `EXTERNAL TABLE access failed due to internal error: "Java exception raised on call to HdfsBridge_Connect: Error [com.microsoft.polybase.client.KerberosSecureLogin] occurred while accessing external files."`.
- [ ] `EXTERNAL TABLE access failed due to internal error: Java exception raised on call to HdfsBridge_Connect: Error [No FileSystem for scheme: wasbs] occurred while accessing external file.`
- [x] `Cannot execute the query "Remote Query" against OLE DB provider "SQLNCLI11": for linked server "(null)", Query aborted the maximum reject threshold (o rows) was reached while regarding from an external source: 1 rows rejected out of total 1 rows processed.`
- [ ] `EXTERNAL TABLE access failed due to internal error: 'Java exception raised on call to HdfsBridge_Connect: Error [Unable to instantiate LoginClass] occurred while accessing external files.`
### You need to design a data storage structure for the product sales transactions. The solution must meet the sales transaction dataset requirements. What should you include in the solution? Table type to store the product sales transactions:
- [x] Hash.
- [ ] Round-robin.
- [ ] Replicated.
### You need to design a data storage structure for the product sales transactions. The solution must meet the sales transaction dataset requirements. What should you include in the solution? When creating the table for sales transactions:
- [ ] Configure a clustered index.
- [ ] Set the distribution column to the sales date.
- [x] Set the distribution column to product ID.
### You need to implement an Azure Synapse Analytics database object for storing the sales transactions data. The solution must meet the sales transaction dataset requirements. What should you do?

- [ ] Transact-SQL DDL command to use: `CREATE EXTERNAL TABLE`. Partitioning option to use in the `WITH` clause of the DDL statement: `FORMAT_TYPE`.
- [x] Transact-SQL DDL command to use: `CREATE TABLE`. Partitioning option to use in the `WITH` clause of the DDL statement: `RANGE RIGHT FOR VALUES`.
- [ ] Transact-SQL DDL command to use: `CREATE TABLE`. Partitioning option to use in the `WITH` clause of the DDL statement: `RANGE LEFT FOR VALUES`.
- [ ] Transact-SQL DDL command to use: `CREATE VIEW`. Partitioning option to use in the `WITH` clause of the DDL statement: `RANGE LEFT FOR VALUES`.
### PLACEHOLDER
- [ ] ...
- [ ] ...
- [ ] ...
- [ ] ...
### You have an Azure Synapse Analytics dedicated SQL pool that contains a table named Table1. You have files that are ingested and loaded into an Azure Data Lake Storage Gen2 container named container1. You plan to insert data from the files in container1 into Table1 and transform the data. Each row of data in the files will produce one row in the serving layer of Table1. You need to ensure that when the source data files are loaded to container1, the DateTime is stored as an additional column in Table1. Solution: You use a dedicated SQL pool to create an external table that has an additional `DateTime` column. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You have an Azure Synapse Analytics dedicated SQL pool that contains a table named Table1. You have files that are ingested and loaded into an Azure Data Lake Storage Gen2 container named container1. You plan to insert data from the files in container1 into Table1 and transform the data. Each row of data in the files will produce one row in the serving layer of Table1. You need to ensure that when the source data files are loaded to container1, the DateTime is stored as an additional column in Table1. Solution: You use an Azure Synapse Analytics serverless SQL pool to create an external table that has an additional `DateTime` column. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You have an Azure Storage account that contains 100 GB of files. The files contain rows of text and numerical values. 75% of the rows contain description data that has an average length of 1.1 MB. You plan to copy the data from the storage account to an enterprise data warehouse in Azure Synapse Analytics. You need to prepare the files to ensure that the data copies quickly. Solution: You modify the files to ensure that each row is less than 1 MB. Does this meet the goal?
- [x] Yes.
- [ ] No.
### You have an Azure Storage account that contains 100 GB of files. The files contain rows of text and numerical values. 75% of the rows contain description data that has an average length of 1.1 MB. You plan to copy the data from the storage account to an enterprise data warehouse in Azure Synapse Analytics. You need to prepare the files to ensure that the data copies quickly. Solution: You convert the files to compressed delimited text files. Does this meet the goal?
- [x] Yes.
- [ ] No.
### You plan to create an Azure Databricks workspace that has a tiered structure. The workspace will contain the following three workloads: A workload for data engineers who will use Python and SQL. A workload for jobs that will run notebooks that use Python, Scala, and SQL. A workload that data scientists will use to perform ad hoc analysis in Scala and R. The enterprise architecture team at your company identifies the following standards for Databricks environments: The data engineers must share a cluster. The job cluster will be managed by using a request process whereby data scientists and data engineers provide packaged notebooks for deployment to the cluster. All the data scientists must be assigned their own cluster that terminates automatically after 120 minutes of inactivity. Currently, there are three data scientists. You need to create the Databricks clusters for the workloads. Solution: You create a Standard cluster for each data scientist, a Standard cluster for the data engineers, and a High Concurrency cluster for the jobs. Does this meet the goal?
- [ ] Yes.
- [x] No.
### You are designing a slowly changing dimension (SCD) for supplier data in an Azure Synapse Analytics dedicated SQL pool. You plan to keep a record of changes to the available fields. The supplier data contains the following columns. Which three additional columns should you add to the data to create a Type 2 SCD?

- [x] Surrogate primary key.
- [ ] Foreign key.
- [x] Effective start date.
- [x] Effective end date.
- [ ] Last modified date.
- [ ] Business key.
### You are designing the folder structure for an Azure Data Lake Storage Gen2 container. Users will query data by using a variety of services including Azure Databricks and Azure Synapse Analytics serverless SQL pools. The data will be secured by subject area. Most queries will include data from the current year or current month. Which folder structure should you recommend to support fast queries and simplified folder security?
- [ ] `/{SubjectArea}/{DataSource}/{DD}/{MM}/{YYYY}/{FileData}_{YYYY}_{MM}_{DD}.csv`.
- [ ] `/{DD}/{MM}/{YYYY}/{SubjectArea}/{DataSource}/{FileData}_{YYYY}_{MM}_{DD}.csv`.
- [ ] `/{YYYY}/{MM}/{DD}/{SubjectArea}/{DataSource}/{FileData}_{YYYY}_{MM}_{DD}.csv`.
- [x] `/{SubjectArea}/{DataSource}/{YYYY}/{MM}/{DD}/{FileData}_{YYYY}_{MM}_{DD}.csv`.
### You are designing the folder structure for an Azure Data Lake Storage Gen2 account. You identify the following usage patterns: Users will query data by using Azure Synapse Analytics serverless SQL pools and Azure Synapse Analytics serverless Apache Spark pools. Most queries will include a filter on the current year or week.Data will be secured by data source. You need to recommend a folder structure that meets the following requirements: Supports the usage pattern. Simplifies folder security. Minimizes query times. Which folder structure should you recommend?
- [x] `\DataSource\SubjectArea\YYYY\WW\FileData_YYYY_MM_DD.parquet`.
- [ ] `\DataSource\SubjectArea\YYYY-WW\FileData_YYYY_MM_DD.parquet`.
- [ ] `DataSource\SubjectArea\WW\YYYY\FileData_YYYY_MM_DD.parquet`.
- [ ] `\YYYY\WW\DataSource\SubjectArea\FileData_YYYY_MM_DD.parquet`.
- [ ] `WW\YYYY\SubjectArea\DataSource\FileData_YYYY_MM_DD.parquet`.
### You need to implement the surrogate key for the retail store table. The solution must meet the sales transaction dataset requirements.
- [x] Table that has an `IDENTITY` property.
- [ ] System-versioned temporal table.
- [ ] User-defined `SEQUENCE` object.
- [ ] Table that has a `FOREIGN KEY` constraint.
### You have an Azure Stream Analytics job that is a Stream Analytics project solution in Microsoft Visual Studio. The job accepts data generated by IoT devices in the JSON format. You need to modify the job to accept data generated by the IoT devices in the Protobuf format. Which three actions should you perform from Visual Studio on sequence?

- [ ] Box 1: Add an Azure Stream Analytics Customer Deserializer Project (.NET) project to the solution. Box 2: Add .NET deserializer code for Protobuf to the custom deserializer project. Box 3: Add an Azure Stream Analytics Application project to the solution.
- [x] Box 1: Add an Azure Stream Analytics Customer Deserializer Project (.NET) project to the solution. Box 2: Add .NET deserializer code for Protobuf to the custom deserializer project. Box 3: Change the event Serialization format to Protobuf in the `input.json` file of the job and reference the DLL.
- [ ] Box 1: Change the event Serialization format to Protobuf in the `input.json` file of the job and reference the DLL. Box 2: Add an Azure Stream Analytics Customer Deserializer Project (.NET) project to the solution. Box 3: Add .NET deserializer code for Protobuf to the custom deserializer project.
- [ ] Box 1: Add an Azure Stream Analytics Application project to the solution. Box 2: Change the event Serialization format to Protobuf in the `input.json` file of the job and reference the DLL. Box 3: Add .NET deserializer code for Protobuf to the Stream Analytics project.
### You have two Azure Storage accounts named Storage1 and Storage2. Each account holds one container and has the hierarchical namespace enabled. The system has files that contain data stored in the Apache Parquet format. You need to copy folders and files from Storage1 to Storage2 by using a Data Factory copy activity. The solution must meet the following requirements: No transformations must be performed. The original folder structure must be retained. Minimize time required to perform the copy activity. How should you configure the copy activity?

- [x] Source dataset type: Parquet. Copy activity copy behavior: PreserveHierarchy.
- [ ] Source dataset type: Binary. Copy activity copy behavior: PreserveHierarchy.
- [ ] Source dataset type: Parquet. Copy activity copy behavior: FlattenHierarchy.
- [ ] Source dataset type: Binary. Copy activity copy behavior: FlattenHierarchy.
### You need to implement versioned changes to the integration pipelines. The solution must meet the data integration requirements. In which order should you perform the actions?

- [ ] Box 1: Create a feature branch. Box 2: Merge changes. Box 3: Create a repository and a main branch. Box 4: Create a pull request. Box 5: Publish changes.
- [ ] Box 1: Publish changes. Box 2: Create a repository and a main branch. Box 3: Merge changes. Box 4: Merge changes. Box 5: Publish changes.
- [x] Box 1: Create a repository and a main branch. Box 2: Create a feature branch. Box 3: Create a pull request. Box 4: Merge changes. Box 5: Publish changes.
- [ ] Box 1: Create a feature branch. Box 2: Create a pull request. Box 3: Merge changes. Box 4: Create a repository and a main branch. Box 5: Publish changes.
### You have an Azure data factory named ADF1. You currently publish all pipeline authoring changes directly to ADF1. You need to implement version control for the changes made to pipeline artifacts. The solution must ensure that you can apply version control to the resources currently defined in the UX Authoring canvas for ADF1. Which two actions should you perform?
- [x] From the UX Authoring canvas, select Set up code repository.
- [x] Create a Git repository.
- [ ] Create a GitHub action.
- [ ] Create an Azure Data Factory trigger.
- [ ] From the UX Authoring canvas, select Publish.
- [ ] From the UX Authoring canvas, run Publish All.
### You need to design a data retention solution for the Twitter feed data records. The solution must meet the customer sentiment analytics requirements. Which Azure Storage functionality should you include in the solution?
- [ ] Change feed.
- [ ] Soft delete.
- [ ] Time-based retention.
- [x] Lifecycle management.
### You need to design a data ingestion and storage solution for the Twitter feeds. The solution must meet the customer sentiment analytics requirements. What should you include in the solution?

- [ ] To increase the throughput of ingesting the Twitter feeds: Configure Event Hubs partitions. To store the Twitter feed data, use: An Azure Databricks high concurrency cluster.
- [x] To increase the throughput of ingesting the Twitter feeds: Configure Event Hubs partitions. To store the Twitter feed data, use: An Azure Data Lake Storage Gen2 account.
- [ ] To increase the throughput of ingesting the Twitter feeds: Use Event Hubs Dedicated. To store the Twitter feed data, use: An Azure General-purpose V2 storage account in the Premium tier.
- [ ] To increase the throughput of ingesting the Twitter feeds: Enable Auto-Inflate in Event Hubs. To store the Twitter feed data, use: An Azure Databricks high concurrency cluster.
### You need to implement a Type 3 slowly changing dimension (SCD) for product category data in an Azure Synapse Analytics dedicated SQL pool. You have a table that was created by using the following Transact-SQL statement. Which two columns should you add to the table?

- [ ] `[EffectiveStartDate] [datetime] NOT NULL,`.
- [x] `[CurrentProductCategory] [nvarchar] (100) NOT NULL,`.
- [ ] `[EffectiveEndDate] [datetime] NULL,`.
- [ ] `[ProductCategory] [nvarchar] (100) NOT NULL,`.
- [x] `[OriginalProductCategory] [nvarchar] (100) NOT NULL,`.
### You are implementing a star schema in an Azure Synapse Analytics dedicated SQL pool. You plan to create a table named DimProduct. DimProduct must be a Type 3 slowly changing dimension (SCD) table that meets the following requirements: The values in two columns named ProductKey and ProductSourceID will remain the same. The values in three columns named ProductName, ProductDescription, and Color can change. You need to add additional columns to complete the following table definition. Which three columns should you add?

- [ ] `[EffectiveStartDate] [datetime] NOT NULL`.
- [ ] `[EffectiveEndDate] [datetime] NOT NULL`.
- [x] `[OriginalProductDescription] NVARCHAR(2000) NOT NULL`.
- [ ] `[IsCurrentRow] [bit] NOT NULL`.
- [x] `[OriginalColor] NVARCHAR(50) NOT NULL`.
- [x] `[OriginalProductName] NVARCHAR(100) NULL`.
### You are creating dimensions for a data warehouse in an Azure Synapse Analytics dedicated SQL pool. You create a table by using the Transact-SQL statement shown in the following exhibit.

- [x] DimProduct is a [ansver choice] slowly changing dimension (SCD): Type 2. The ProductKey column is [ansver choice]: a surrogate key.
- [ ] DimProduct is a [ansver choice] slowly changing dimension (SCD): Type 0. The ProductKey column is [ansver choice]: a business key.
- [ ] DimProduct is a [ansver choice] slowly changing dimension (SCD): Type 1. The ProductKey column is [ansver choice]: an audit column.
- [ ] DimProduct is a [ansver choice] slowly changing dimension (SCD): Type 2. The ProductKey column is [ansver choice]: a business key.
### You are designing a highly available Azure Data Lake Storage solution that will induce geo-zone-redundant storage (GZRS). You need to monitor for replication delays that can affect the recovery point objective (RPO). What should you include in the monitoring solution?
- [x] Last Sync Time.
- [ ] Average Success E2E Latency.
- [ ] `5xx`: Server Error errors
- [ ] Availability.
### You are monitoring an Azure Stream Analytics job. The Backlogged Input Events count has been 20 for the last hour. You need to reduce the Backlogged Input Events count. What should you do?
- [ ] Drop late arriving events from the job.
- [ ] Add an Azure Storage account to the job.
- [x] Increase the streaming units for the job.
- [ ] Stop the job.
### You are monitoring an Azure Stream Analytics job. You discover that the Backlogged Input Events metric is increasing slowly and is consistently non-zero. You need to ensure that the job can handle all the events. What should you do?
- [ ] Change the compatibility level of the Stream Analytics job.
- [x] Increase the number of streaming units (SUs).
- [ ] Remove any named consumer groups from the connection and use `$default`.
- [ ] Create an additional output stream for the existing input stream.
### You are building an Azure Stream Analytics job to identify how much time a user spends interacting with a feature on a webpage. The job receives events based on user actions on the webpage. Each row of data represents an event. Each event has a type of either 'start' or 'end'. You need to calculate the duration between start and end events. How should you complete the query?

- [ ] Box 1: DATEPART. Box 2: TOPONE.
- [x] Box 1: DATEDIFF. Box 2: LAST.
- [ ] Box 1: DATEADD. Box 2: LAST.
- [ ] Box 1: DATEADD. Box 2: ISFIRST.
### You have the following table named Employees. You need to calculate the employee_type value based on the hire_date value. How should you complete the Transact-SQL statement?


- [ ] Box 1: `ELSE`. Box 2: `CASE`.
- [ ] Box 1: `CASE`. Box 2: `OVER`.
- [ ] Box 1: `ELSE`. Box 2: `OVER`.
- [x] Box 1: `CASE`. Box 2: `ELSE`.
### You are building an Azure Stream Analytics job to retrieve game data. You need to ensure that the job returns the highest scoring record for each five-minute time interval of each game. How should you complete the Stream Analytics query?

- [x] SELECT: `TopOne OVER(PARTITION BY Game ORDER BY Score Desc)`. GROUP BY: `Tumbling(minute, 5)`.
- [ ] SELECT: `CollectTop(1)OVER(ORDER BY Score Desc)`. `GROUP BY: Tumbling(minute, 5)`.
- [ ] SELECT: `TopOne OVER(PARTITION BY Game ORDER BY Score Desc)`. `GROUP BY: Hopping(minute, 5)`.
- [ ] SELECT: `CollectTop(1)OVER(ORDER BY Score Desc)`. GROUP BY: `Windows(TumblingWindow(minute,5),Hopping(minute,5))`.
### You need to design an analytical storage solution for the transactional data. The solution must meet the sales transaction dataset requirements. What should you include in the solution?

- [ ] Table type to store retail store data: Hash. Table type to store promotional data: Round-robin.
- [ ] Table type to store retail store data: Replicated. Table type to store promotional data: Hash.
- [ ] Table type to store retail store data: Hash. Table type to store promotional data: Replicated.
- [x] Table type to store retail store data: Round-robin. Table type to store promotional data: Hash.
### You have files and folders in Azure Data Lake Storage Gen2 for an Azure Synapse workspace as shown in the following exhibit. You create an external table named `ExtTable` that has `LOCATION='/topfolder/'`. When you query ExtTable by using an Azure Synapse Analytics serverless SQL pool, which files are returned?

- [ ] File2.csv and File3.csv only.
- [x] File1.csv and File4.csv only.
- [ ] File1.csv, File2.csv, File3.csv, and File4.csv.
- [ ] File1.csv only.
### You build a data warehouse in an Azure Synapse Analytics dedicated SQL pool. Analysts write a complex SELECT query that contains multiple JOIN and CASE statements to transform data for use in inventory reports. The inventory reports will use the data and additional WHERE parameters depending on the report. The reports will be produced once daily. You need to implement a solution to make the dataset available for the reports. The solution must minimize query times. What should you implement?
- [x] Materialized view.
- [ ] Replicated table.
- [ ] In ordered clustered columnstore index.
- [ ] Result set chaching.
### You are designing an Azure Synapse Analytics dedicated SQL pool. You need to ensure that you can audit access to Personally Identifiable information (PII). What should you include in the solution?
- [ ] Dynamic data masking.
- [ ] Row-level security (RLS).
- [x] Sensitivity classifications.
- [ ] Column-level security.
### You plan to create an Azure Synapse Analytics dedicated SQL pool. You need to minimize the time it takes to identify queries that return confidential information as defined by the company's data privacy regulations and the users who executed the queues. Which two components should you include in the solution?
- [x] Sensitivity-classification labels applied to columns that contain confidential information.
- [ ] Resource tags for databases that contain confidential information.
- [x] Audit logs sent to a Log Analytics workspace.
- [ ] Dynamic data masking for columns that contain confidential information.
### You plan to create a table in an Azure Synapse Analytics dedicated SQL pool. Data in the table will be retained for five years. Once a year, data that is older than five years will be deleted. You need to ensure that the data is distributed evenly across partitions. The solution must minimize the amount of time required to delete old data. How should you complete the Transact-SQL statement?

- [x] Box 1: HASH. Box 2: OrderDateKey.
- [ ] Box 1: OrderDateKey. Box 2: CustomerKey.
- [ ] Box 1: CustomerKey. Box 2: HASH.
- [ ] Box 1: CustomerKey. Box 2: HASH.
### You use Azure Stream Analytics to receive Twitter data from Azure Event Hubs and to output the data to an Azure Blob storage account. You need to output the count of tweets during the last five minutes every five minutes. Each tweet must only be counted once. Which windowing function should you use?
- [ ] Five-minute Session window.
- [ ] Five-minute Sliding window.
- [x] Five-minute Tumbling window.
- [ ] Five-minute Hopping window that has one-minute hop.
### You use Azure Stream Analytics to receive data from Azure Event Hubs and to output the data to an Azure Blob Storage account. You need to output the count of records received from the last five minutes every minute. Which windowing function should you use?
- [ ] Session.
- [ ] Tumbling.
- [ ] Sliding.
- [x] Hopping.
### What should you recommend using to secure sensitive customer contact information?
- [ ] Data labels.
- [x] Column-level security.
- [ ] Row-level security.
- [ ] Transparent Data Encryption (TDE).
### You have an Azure Synapse Analytics dedicated SQL pool mat contains a table named `dbo.Users`. You need to prevent a group of users from reading user email addresses from `dbo.Users`. What should you use?
- [ ] Row-level security (RLS).
- [x] Column-level security.
- [ ] Dynamic data masking.
- [ ] Transparent Data Encryption (TDE).
### You are designing a security model for an Azure Synapse Analytics dedicated SQL pool that will support multiple companies. You need to ensure that users from each company can view only the data of their respective company. Which two objects should you include in the solution?
- [ ] Custom role-based access control (RBAC) role.
- [ ] Asymmetric keys.
- [x] Predicate function.
- [ ] Column encryption key.
- [x] Security policy.
### You need to design the partitions for the product sales transactions. The solution must meet the sales transaction dataset requirements. What should you include in the solution?

- [ ] Partition product sales transactions data by: Promotion ID. Store product sales transactions data in: An Azure Synapse Analytics serverless SQL pool.
- [x] Partition product sales transactions data by: Sales date. Store product sales transactions data in: An Azure Synapse Analytics dedicated SQL pool.
- [ ] Partition product sales transactions data by: Product ID. Store product sales transactions data in: An Azure Synapse Analytics serverless SQL pool.
- [ ] Partition product sales transactions data by: Promotion ID. Store product sales transactions data in: An Azure Data Lake Storage Gen2 account linked.
### You have an Azure Storage account and a data warehouse in Azure Synapse Analytics in the UK South region. You need to copy blob data from the storage account to the data warehouse by using Azure Data Factory. The solution must meet the following requirements: Ensure that the data remains in the UK South region at all times. Minimize administrative effort. Which type of integration runtime should you use?
- [x] Azure integration runtime.
- [ ] Azure-SSIS integration runtime.
- [ ] Self-hosted integration runtime.
### You have an Azure SQL database named Database1 and two Azure event hubs named HubA and HubB. The data consumed from each source is shown in the following table. You need to implement Azure Stream Analytics to calculate the average fare per mile by driver. How should you configure the Stream Analytics input for each source?


- [ ] HubA: Reference. HubB: Stream. Databasel: Stream.
- [ ] HubA: Reference. HubB: Reference. Databasel: Stream.
- [x] HubA: Stream. HubB: Stream. Databasel: Reference.
- [ ] HubA: Reference. HubB: Stream. Databasel: Reference.
### You create an Azure Databricks cluster and specify an additional library to install. When you attempt to load the library to a notebook, the library in not found. You need to identify the cause of the issue. What should you review?
- [ ] Notebook logs.
- [x] Cluster event logs.
- [ ] Global init scripts logs.
- [ ] Workspace logs.
### You are designing an Azure Databricks table. The table will ingest an average of 20 million streaming events per day. You need to persist the events in the table for use in incremental load pipeline jobs in Azure Databricks. The solution must minimize storage costs and incremental load times. What should you include in the solution?
- [ ] Partition by DateTime fields.
- [x] Sink to Azure Queue storage.
- [ ] Include a watermark column.
- [ ] Use a JSON format for physical data storage.
### You are building an Azure Stream Analytics job that queries reference data from a product catalog file. The file is updated daily. The reference data input details for the file are shown in the Input exhibit. The storage account container view is shown in the Refdata exhibit. You need to configure the Stream Analytics job to pick up the new reference data. What should you configure?


- [x] Path pattern: {date}/product.csv. Date format: YYYY-MM-DD.
- [ ] Path pattern: product.csv. Date format: YYYY/MM/DD.
- [ ] Path pattern: {date}/product.csv. Date format: YYYY/MM/DD.
- [ ] Path pattern: */product.csv. Date format: YYYY/MM/DD.
### You are designing a solution that will copy Parquet files stored in an Azure Blob storage account to an Azure Data Lake Storage Gen2 account. The data will be loaded daily to the data lake and will use a folder structure of `{Year}/{Month}/{Day}/`. You need to design a daily Azure Data Factory data load to minimize the data transfer between the two accounts. Which two configurations should you include in the design?
- [ ] Delete the files in the destination before loading new data.
- [x] Filter by the last modified date of the source files.
- [ ] Delete the source files after they are copied.
- [x] Specify a file naming pattern for the destination.
### You have an Azure Synapse Analytics workspace named WS1. You have an Azure Data Lake Storage Gen2 container that contains JSON-formatted files in the following format. You need to use the serverless SQL pool in WS1 to read the files. How should you complete the Transact-SQL statement?

- [x] Box 1: `openrowset`. Box 2: `openjson`.
- [ ] Box 1: `openquery`. Box 2: `openrowset`.
- [ ] Box 1: `openjson`. Box 2: `opendatasource`.
- [ ] Box 1: `openquery`. Box 2: `openrowset`.
### You need to implement an Azure Databricks cluster that automatically connects to Azure Data lake Storage Gen2 by using Azure Active Directory (Azure AD) integration. How should you configure the new clutter?

- [ ] Tier: Premium. Advanced option to enable: Table Access Gentrol.
- [ ] Tier: Standard. Advanced option to enable: Table Access Gentrol.
- [x] Tier: Premium. Advanced option to enable: Azure Data Lake Storage Credential Passthrough.
- [ ] Tier: Standard. Advanced option to enable: Azure Data Lake Storage Credential Passthrough.
### You plan to create a real-time monitoring app that alerts users when a device travels more than 200 meters away from a designated location. You need to design an Azure Stream Analytics job to process the data for the planned app. The solution must minimize the amount of code developed and the number of technologies used. What should you include in the Stream Analytics job?

- [ ] Input type: Reference. Function: Windowing.
- [x] Input type: Stream. Function: Geospatial.
- [ ] Input type: Reference. Function: Geospatial.
- [ ] Input type: Stream. Function: Aggregate.
### You have an Azure Synapse Analytics workspace named WS1 that contains an Apache Spark pool named Pool1. You plan to create a database named D61 in Pool1. You need to ensure that when tables are created in DB1, the tables are available automatically as external tables to the built-in serverless SQL pod. Which format should you use for the tables in DB1?
- [x] Parquet.
- [ ] CSV.
- [ ] ORC.
- [ ] JSON.
### You have a self-hosted integration runtime in Azure Data Factory. The current status of the integration runtime has the following configurations: Status: Running Type: Self-Hosted Version: 4.4.7292.1 Running / Registered Node(s): 1/1 High Availability Enabled: False Linked Count: 0 Queue Length: 0 Average Queue Duration. 0.00s The integration runtime has the following node details: Name: X-M Status: Running Version: 4.4.7292.1 Available Memory: 7697MB CPU Utilization: 6% Network (In/Out): 1.21KBps/0.83KBps Concurrent Jobs (Running/Limit): 2/14 Role: Dispatcher/Worker Credential Status.

- [ ] If the X-M node becomes unavailable, all executed pipelines will be: switch to another integration runtime. Box 2: left as is.
- [ ] If the X-M node becomes unavailable, all executed pipelines will be: exceed the CPU limit. Box 2: left as is.
- [ ] If the X-M node becomes unavailable, all executed pipelines will be: fail until the node comes back online. Box 2: raised.
- [x] If the X-M node becomes unavailable, all executed pipelines will be: fail until the node comes back online. Box 2: lowered.
### You are designing an Azure Databricks interactive cluster. The cluster will be used infrequently and will be configured for auto-termination. You need to ensure that the cluster configuration is retained indefinitely after the cluster is terminated. The solution must minimize costs. What should you do?
- [ ] Clone the cluster after it is terminated.
- [ ] Terminate the cluster manually when processing completes.
- [ ] Create an Azure runbook that starts the cluster every 90 days.
- [x] Pin the cluster.
### You are developing an application that uses Azure Data Lake Storage Gen 2. You need to recommend a solution to grant permissions to a specific application for a limited time period. What should you include in the recommendation?
- [ ] Azure Active Directory (Azure AD) identities.
- [x] Shared Access Signatures (SAS).
- [ ] Account keys.
- [ ] Role assignments.
### You have two Azure Data Factory instances named ADFdev and ADFprod. ADFdev connects to an Azure DevOps Git repository. You publish changes from the main branch of the Git repository to ADFdev. You need to deploy the artifacts from ADFdev to ADFprod. What should you do first?
- [ ] From ADFdev, modify the Git configuration.
- [ ] From ADFdev, create a linked service.
- [x] From Azure DevOps, create a release pipeline.
- [ ] From Azure DevOps, update the main branch.
### You develop a dataset named DBTBL1 by using Azure Databricks. DBTBL1 contains the following columns: SensorTypeID GeographyRegionID Year Month Day HourMinute Temperature WindSpeed Other You need to store the data to support daily incremental load pipelines that vary for each GeographyRegionID. The solution must minimize storage costs. How should you complete the code?

- [x] Box 1: `.partitionBy`. Box 2: `("Year", "Month", "Day", "GeographyRegionID")`. Box 3: `.saveAsTable(*/DBTBL1")`.
- [ ] Box 1: `.partitionBy`. Box 2: `("GeographyRegionID", "Year", "Month", "Day")`. Box 3: `.parquet("/DBTBL1")`.
- [ ] Box 1: `.sortBy`. Box 2: `("*")`. Box 3: `.json("/DBTBL1")`.
- [ ] Box 1: `.bucketBy`. Box 2: `("GeographyRegionID")`. Box 3: `.csv("/DBTBL1")`.
### You have an Azure Synapse Analytics serverless SQL pool that contains a database named db1. The data model for db1 is shown in the following exhibit.


- [ ] To convert the data model to a star schema: `join DimGeography and DimCustomer`. Once the data model is converted into a star schema, there will be [...] tables: 6.
- [ ] To convert the data model to a star schema: `join DimGeography and FactOrders`. Once the data model is converted into a star schema, there will be [...] tables: 5.
- [x] To convert the data model to a star schema: `join DimGeography and DimCustomer`. Once the data model is converted into a star schema, there will be [...] tables: 5.
- [ ] To convert the data model to a star schema: `union DimGeography and FactOrders`. Once the data model is converted into a star schema, there will be [...] tables: 6.
### You have an Azure Synapse Analytics dedicated SQL pool that contains the users shown in the following table. User1 executes a query on the database, and the query returns the results shown in the following exhibit. User1 is the only user who has access to the unmasked data.




- [ ] When User2 queries the `YearlyIncome` column, the values returned will be: the values stored in the database. When User1 queries the `BirthDate` column, the values returned will be: a random number.
- [ ] When User2 queries the `YearlyIncome` column, the values returned will be: a random number. When User1 queries the `BirthDate` column, the values returned will be: 1900-01-01.
- [x] When User2 queries the `YearlyIncome` column, the values returned will be: 0. When User1 queries the `BirthDate` column, the values returned will be: the values stored in the database.
- [ ] When User2 queries the `YearlyIncome` column, the values returned will be: XXXX. When User1 queries the `BirthDate` column, the values returned will be: a random number.
### Which Azure Data Factory components should you recommend using together to import the daily inventory data from the SQL server to Azure Data Lake Storage?

- [ ] Integration runtime type: Azure integration runtime. Trigger type: Tumbling window trigger. Activity type: Stored procedure activity.
- [ ] Integration runtime type: Azure integration runtime. Trigger type: Schedule trigger. Activity type: Lookup activity.
- [ ] Integration runtime type: Azure-SSIS integration runtime. Trigger type: Event-based trigger. Activity type: Copy activity.
- [x] Integration runtime type: Self-hosted integration runtime. Trigger type: Schedule trigger. Activity type: Copy activity.
### You need to ensure that the Twitter feed data can be analyzed in the dedicated SQL pool. The solution must meet the customer sentiment analytics requirements. Which three Transaction-SQL DDL commands should you run in sequence?

- [ ] Box 1: `CREATE EXTERNAL DATA SOURCE`. Box 2: `CREATE EXTERNAL TABLE AS SELECT`. Box 3: `CREATE EXTERNAL FILE FORMAT`.
- [ ] Box 1: `CREATE EXTERNAL DATA SOURCE`. Box 2: `CREATE EXTERNAL FILE FORMAT`. Box 3: `CREATE EXTERNAL TABLE AS SELECT`.
- [x] Box 1: `CREATE EXTERNAL DATA SOURCE`. Box 2: `CREATE EXTERNAL FILE FORMAT`. Box 3: `CREATE TABLE`.
- [ ] Box 1: `CREATE DATABASE SCOPED CREDENTIAL`. Box 2: `CREATE EXTERNAL DATA SOURCE`. Box 3: `CREATE EXTERNAL FILE FORMAT`.
### You are designing a dimension table for a data warehouse. The table will track the value of the dimension attributes over time and preserve the history of the data by adding new rows as the data changes. Which type of slowly changing dimension (SCD) should use?
- [ ] Type 0.
- [ ] Type 1.
- [x] Type 2.
- [ ] Type 3.
### You have an Azure data factory. You need to examine the pipeline failures from the last 60 days. What should you use?
- [ ] the Activity log blade for the Data Factory resource.
- [ ] the Monitor & Manage app in Data Factory.
- [ ] the Resource health blade for the Data Factory resource.
- [x] Azure Monitor.
### You are building an Azure Synapse Analytics dedicated SQL pool that will contain a fact table for transactions from the first half of the year 2020. You need to ensure that the table meets the following requirements: Minimizes the processing time to delete data that is older than 10 years Minimizes the I/O for queries that use year-to-date values How should you complete the Transact-SQL statement?

- [x] Box 1: `PARTITION`. Box 2: `[TransactionDateID]`.
- [ ] Box 1: `DISTRIBUTION`. Box 2 `ROUND_ROBIN`.
- [ ] Box 1: `CLUSTERED COLUMNSTORE INDEX`. Box 2: `HASH([TransactionTypeID])`.
- [ ] Box 1: `TRUNCATE_TARGET`. Box 2: `HASH ([TransactionTypeID])`.
### You have an Azure Synapse Analytics dedicated SQL pool named Pool1 and a database named DB1. DB1 contains a fact table named Table1. You need to identify the extent of the data skew in Table1. What should you do in Synapse Studio?
- [ ] Connect to the built-in pool and run dbcc pdw_showspaceused.
- [ ] Connect to the built-in pool and run dbcc checkalloc.
- [ ] Connect to Pool1 and query sys.dm_pdw_node_scacus.
- [x] Connect to Pool1 and query sys.dm_pdw_nodes_db_partition_scacs.
### You are planning the deployment of Azure Data Lake Storage Gen2. You have the following two reports that will access the data lake: Report1: Reads three columns from a file that contains 50 columns. Report2: Queries a single record based on a timestamp. You need to recommend in which format to store the data in the data lake to support the reports. The solution must minimize read times. What should you recommend for each report?

- [ ] Report1: Avro. Report2: CSV.
- [ ] Report1: Avro. Report2: CSV.
- [ ] Report1: TSV. Report2: .Avro
- [x] Report1: CSV. Report2: Avro.
### You are designing an Azure Databricks cluster that runs user-defined local processes. You need to recommend a cluster configuration that meets the following requirements: Minimize query latency. Maximize the number of users that can run queues on the cluster at the same time « Reduce overall costs without compromising other requirements Which cluster type should you recommend?
- [ ] Standard with Auto termination.
- [ ] Standard with Autoscaling.
- [x] High Concurrency with Autoscaling.
- [ ] High Concurrency with Auto Termination.
### You have an enterprise data warehouse in Azure Synapse Analytics that contains a table named FactOnlineSales. The table contains data from the start of 2009 to the end of 2012. You need to improve the performance of queries against FactOnlineSales by using table partitions. The solution must meet the following requirements: Create four partitions based on the order date. Ensure that each partition contains all the orders places during a given calendar year. How should you complete the T-SQL command?

- [ ] Box 1: `LEFT`. Box 2: `20090101,20121231`.
- [x] Box 1: `LEFT`. Box 2: `20090101,20100101,20110101,20120101`.
- [ ] Box 1: `RIGHT`. Box 2: `20100101,20110101,20120101`.
- [ ] Box 1: `RIGHT`. Box 2: .`20100101,20110101,20120101`
### You have an Azure Data Lake Storage Gen2 account named adls2 that is protected by a virtual network. You are designing a SQL pool in Azure Synapse that will use adls2 as a source. What should you use to authenticate to adls2?
- [ ] a Shared Access Signature (SAS).
- [x] a managed identity.
- [ ] a shared key.
- [ ] an Azure Active Directory (Azure AD) user.
### You plan to ingest streaming social media data by using Azure Stream Analytics. The data will be stored in files in Azure Data Lake Storage, and then consumed by using Azure Datiabricks and PolyBase in Azure Synapse Analytics. You need to recommend a Stream Analytics data output format to ensure that the queries from Databricks and PolyBase against the files encounter the fewest possible errors. The solution must ensure that the tiles can be queried quickly and that the data type information is retained. What should you recommend?
- [x] Parquet.
- [ ] Avro.
- [ ] CSV.
- [ ] JSON.
### You are designing a monitoring solution for a fleet of 500 vehicles. Each vehicle has a GPS tracking device that sends data to an Azure event hub once per minute. You have a CSV file in an Azure Data Lake Storage Gen2 container. The file maintains the expected geographical area in which each vehicle should be. You need to ensure that when a GPS position is outside the expected area, a message is added to another event hub for processing within 30 seconds. The solution must minimize cost. What should you include in the solution?

- [ ] Service: An Azure Synapse Analytics Apache Spark pool. Window: Hopping. Analysis type: Polygon overlap.
- [ ] Service: An Azure Synapse Analytics serverless SQL pool. Window: Session. Analysis type: Point within polygon.
- [x] Service: Azure Stream Analytics. Window: Hopping. Analysis type: Point within polygon.
- [ ] Service: Azure Stream Factory. Window: No window. Analysis type: Event pattern matching.
### You need to trigger an Azure Data Factory pipeline when a file arrives in an Azure Data Lake Storage Gen2 container. Which resource provider should you enable?
- [ ] Microsoft.Sql.
- [ ] Microsoft-Automation.
- [x] Microsoft.EventGrid.
- [ ] Microsoft.EventHub.
### You are designing an anomaly detection solution for streaming data from an Azure IoT hub. The solution must meet the following requirements: Send the output to Azure Synapse. Identify spikes and dips in time series data. Minimize development and configuration effort. Which should you include in the solution?
- [ ] Azure Databricks.
- [x] Azure Stream Analytics.
- [ ] Azure SQL Database.
### You have an Azure Active Directory (Azure AD) tenant that contains a security group named Group1. You have an Azure Synapse Analytics dedicated SQL pool named dw1 that contains a schema named schema1. You need to grant Group1 read-only permissions to all the tables and views in schema1. The solution must use the principle of least privilege. Which three actions should you perform in sequence?

- [x] Box 1: Create a database user in dw1 that represents Group1 and user the FROM EXTERNAL PROVIDER clause. Box 2: Create adatabase role named Role1 and grand Role1 SELECT premissions to schema1. Box 3: Assing Role1 to the Group1 database user.
- [ ] Box 1: Assign Rolel to the Groupl database user. Box 2: Create a database role named Role1 and grant Rolel SELECT permissions to schemal. Box 3: Assign the Azure role-based access control (Azure RBAC) Reader role for dwl to Group1.
- [ ] Box 1: Assign the Azure role-based access control (Azure RBAC) Reader role for dwl to Group1. Box 2: Assign Rolel to the Groupl database user. Box 3: Create a database role named Role1 and grant Rolel SELECT permissions to schemal.
- [ ] Box 1: Assign the Azure role-based access control (Azure RBAC) Reader role for dwl to Group1. Box 2: Create a database role named Role1 and grant Rolel SELECT permissions to schemal. Box 3: Assign Rolel to the Groupl database user.
### You need to output files from Azure Data Factory. Which file format should you use for each type of output?

- [ ] Columnar format: Avro. JSON with a timestamp: GZip.
- [x] Columnar format: Parquet. JSON with a timestamp: Avro.
- [ ] Columnar format: GZip. JSON with a timestamp: Parquet.
- [ ] Columnar format: Avro. JSON with a timestamp: Parquet.
### You plan to create an Azure Data Lake Storage Gen2 account You need to recommend a storage solution that meets the following requirements: Provides the highest degree of data resiliency Ensures that content remains available for writes if a primary data center fails What should you include in the recommendation?

- [x] Replication machanism: Zone-redundant storage (ZRS). Failover process: Failover automatically initiated by an Azure Automation job.
- [ ] Replication machanism: Change feed. Failover process: Failover initiated by Microsoft.
- [x] Replication machanism: Read-access geo-zone-redundant storage (RA-GRS). Failover process: Failover manually initiated by the customer.
- [ ] Replication machanism: Read-access geo-redundant storage (RA-GRS). Failover process: Failover initiated by Microsoft.
### You plan to develop a dataset named Purchases by using Azure databricks Purchases will contain the following columns: ProductID ItemPrice lineTotal Quantity StorelD Minute Month Hour Year Day You need to store the data to support hourly incremental load pipelines that will vary for each StoreID. the solution must minimize storage costs. How should you complete the rode?

- [ ] Box 1: `.bucketBy`. Box `2("StoreID","Year","Month","Day","Hour")` Box 3: `.csv("/Purchases")`.
- [ ] Box 1: `.partitionBy`. Box 2: `("StoreID","Hour")`. Box 3: `.json("/Purchases")`.
- [x] Box 1: `.partitionBy`. Box 2: `("StoreID", , "Year", "Month", "Day", "Hour")`. Box 3: `.parquet(*/Purchases")`.
- [ ] Box 1: `.range`. Box 2: `("*")`. Box 3: `.saveAsTable("/Purchases")`.
### Solution: In an Azure Synapse Analytics pipeline, you use a data flow that contains a Derived Column transformation.
- [x] Yes.
- [ ] No.
### You are designing an Azure Data Lake Storage Gen2 container to store data for the human resources (HR) department and the operations department at your company. You have the following data access requirements: After initial processing, the HR department data will be retained for seven years. The operations department data will be accessed frequently for the first six months, and then accessed once per month. You need to design a data retention solution to meet the access requirements. The solution must minimize storage costs.

- [x] HR: Archive storage after one day and delete storage after 2,555 days. Operations: Cool storage after 180 days.
- [ ] HR: Delete after 180 days. Operations: Cool storage after one day.
- [ ] HR: Delete after 180 days. Operations: Archive storage after one day and delete storage after 2,555 days.
- [ ] HR: Cool storage after 180 days. Operations: Archive storage after 2,555 days.
### You are designing an application that will store petabytes of medical imaging data When the data is first created, the data will be accessed frequently during the first week. After one month, the data must be accessible within 30 seconds, but files will be accessed infrequently. After one year, the data will be accessed infrequently but must be accessible within five minutes. You need to select a storage strategy for the data. The solution must minimize costs. Which storage tier should you use for each time frame?

- [x] First week: Hot. After one month: Cool. After one year: Cool.
- [ ] First week: Cool. After one month: Hot. After one year: Archive.
- [ ] First week: Hot. After one month: Hot. After one year: Archive.
- [ ] First week: Cool. After one month: Archive. After one year: Hot.
### You are designing a sales transactions table in an Azure Synapse Analytics dedicated SQL pool. The table will contains approximately 60 million rows per month and will be partitioned by month. The table will use a clustered column store index and round-robin distribution. Approximately how many rows will there be for each combination of distribution and partition?
- [x] 1 million.
- [ ] 5 million.
- [ ] 20 million.
- [ ] 60 million.
### You implement an enterprise data warehouse in Azure Synapse Analytics. You have a large fact table that is 10 terabytes (TB) in size. Incoming queries use the primary key SaleKey column to retrieve data as displayed in the following table: You need to distribute the large fact table across multiple nodes to optimize performance of the table. Which technology should you use?
- [ ] hash distributed table with clustered index.
- [x] hash distributed table with clustered Columnstore index.
- [ ] round robin distributed table with clustered index.
- [ ] round robin distributed table with clustered Columnstore index.
- [ ] heap table with distribution replicate.
### You have an Azure Data Factory instance named ADF1 and two Azure Synapse Analytics workspaces named WS1 and WS2. ADF1 contains the following pipelines: P1: Uses a copy activity to copy data from a nonpartitioned table in a dedicated SQL pool of WS1 to an Azure Data Lake Storage Gen2 account P2: Uses a copy activity to copy data from text-delimited files in an Azure Data Lake Storage Gen2 account to a nonpartitioned table in a dedicated SQL pool of WS2 You need to configure P1 and P2 to maximize parallelism and performance. Which dataset settings should you configure for the copy activity if each pipeline?

- [ ] P1: Set the Copy method to Bulk insert. P2: Set the Partition option to Dynamic range.
- [ ] P1: Set the Copy method to PolyBase. P2: Set the Copy method to Bulk insert.
- [ ] P1: Set the Copy method to Bulk insert. P2: Set the Copy method to PolyBase.
- [x] P1: Set the Copy method to PolyBase. P2: Set the Copy method to Bulk insert.
### Solution: You copy the files to a table that has a columnstore index.
- [ ] Yes.
- [x] No.
### You have an Azure Data Factory pipeline that performs an incremental load of source data to an Azure Data Lake Storage Gen2 account. Data to be loaded is identified by a column named LastUpdatedDate in the source table. You plan to execute the pipeline every four hours. You need to ensure that the pipeline execution meets the following requirements: Automatically retries the execution when the pipeline run fails due to concurrency or throttling limits. Supports backfilling existing data in the table. Which type of trigger should you use?
- [ ] event.
- [ ] on-demand.
- [ ] schedule.
- [x] tumbling window.
### You plan to implement an Azure Data Lake Gen2 storage account. You need to ensure that the data lake will remain available if a data center fails in the primary Azure region. The solution must minimize costs. Which type of replication should you use for the storage account?
- [x] geo-redundant storage (GRS).
- [ ] zone-redundant storage (ZRS).
- [ ] locally-redundant storage (LRS).
- [ ] geo-zone-redundant storage (GZRS).
### You have an Azure Data Lake Storage Gen2 container. Data is ingested into the container, and then transformed by a data integration application. The data is NOT modified after that. Users can read files in the container but cannot modify the files. You need to design a data archiving solution that meets the following requirements: New data is accessed frequently and must be available as quickly as possible. Data that is older than five years is accessed infrequently but must be available within one second when requested. Data that is older than seven years is NOT accessed. After seven years, the data must be persisted at the lowest cost possible. Costs must be minimized while maintaining the required availability. How should you manage the data?

- [ ] Five-year-old data: Delete the blob. Seven-year-ild data: Move to cool storage.
- [ ] Five-year-old data: Delete the blob. Seven-year-ild data: Move to cool storage.
- [x] Five-year-old data: Move to cool storage. Seven-year-ild data: Move to archive storage.
- [ ] Five-year-old data: Delete the blob. Seven-year-ild data: Move to archive storage.
### You have an Azure Stream Analytics query. The query returns a result set that contains 10,000 distinct values for a column named clusterID. You monitor the Stream Analytics job and discover high latency. You need to reduce the latency. Which two actions should you perform?
- [ ] Add a pass-through query.
- [ ] Add a temporal analytic function.
- [x] Scale out the query by using PARTITION BY.
- [ ] Convert the query to a reference query.
- [x] Increase the number of streaming units.
### You are designing a statistical analysis solution that will use custom proprietary1 Python functions on near real-time data from Azure Event Hubs. You need to recommend which Azure service to use to perform the statistical analysis. The solution must minimize latency. What should you recommend?
- [ ] Azure Stream Analytics.
- [ ] Azure SQL Database.
- [x] Azure Databricks.
- [ ] Azure Synapse Analytics.
### You have an Azure subscription that contains the following resources: An Azure Active Directory (Azure AD) tenant that contains a security group named Group1 An Azure Synapse Analytics SQL pool named Pool1 You need to control the access of Group1 to specific columns and rows in a table in Pool1. Which Transact-SQL commands should you use?

- [ ] Ton control access to the columns: CREATE SECURITY POLICY. Tocontrol access to the rows: CREATE PARTITION FUNCTION.
- [ ] Ton control access to the columns: CREATE SECURITY POLICY.Tocontrol access to the rows: CREATE SECURITY POLICY.
- [ ] Ton control access to the columns: CREATE SECURITY POLICY. Tocontrol access to the rows: CREATE SECURITY POLICY.
- [x] Ton control access to the columns: GRANT. Tocontrol access to the rows: CREATE SECURITY POLICY.
### You have an Azure Synapse Analytics dedicated SQL pool named SA1 that contains a table named Table1. You need to identify tables that have a high percentage of deleted rows. What should you run?
- [ ] sys.pdw_nodes_column_store_segments.
- [ ] sys.dm_db_column_store_row_group_operational_stats.
- [x] sys.pdw_nodes_column_store_row_groups.
- [ ] sys.dm_bd_column_store_row_group_physical_stats.
### You have data stored in thousands of CSV files in Azure Data Lake Storage Gen2. Each file has a header row followed by a properly formatted carriage return (/r) and line feed (/n). You are implementing a pattern that batch loads the files daily into an enterprise data warehouse in Azure Synapse Analytics by using PolyBase. You need to skip the header row when you import the files into the data warehouse. Before building the loading pattern, you need to prepare the required database objects in Azure Synapse Analytics. Which three actions should you perform in sequence?

- [ ] Box 1: Create an external data source that uses the abfs location. Box 2: Use CREATE EXTERNAL TABLE AS SELECT (CETAS) and configure the reject options to specify reject values or percentages. Box 3: Create an external file format and set the Firat_Row option.
- [x] Box 1: Create an external data source that uses the abfs location. Box 2: Create an external file format and set the Firat_Row option. Box 3: Use CREATE EXTERNAL TABLE AS SELECT (CETAS) and configure the reject options to specify reject values or percentages.
- [ ] Box 1: Use CREATE EXTERNAL TABLE AS SELECT (CETAS) and configure the reject options to specify reject values or percentages. Box 2: Create an external data source that uses the abfs location. Box 3: Use CREATE EXTERNAL TABLE AS SELECT (CETAS) and configure the reject options to specify reject values or percentages.
- [ ] Box 1: Create an external file format and set the Firat_Row option. Box 2: Use CREATE EXTERNAL TABLE AS SELECT (CETAS) and configure the reject options to specify reject values or percentages. Box 3: Create an external data source that uses the abfs location.
### You have a SQL pool in Azure Synapse that contains a table named dbo.Customers. The table contains a column name Email. You need to prevent nonadministrative users from seeing the full email addresses in the Email column. The users must see values in a format of aXXX@XXXX.com instead. What should you do?
- [ ] From Microsoft SQL Server Management Studio, set an email mask on the Email column.
- [x] From the Azure portal, set a mask on the Email column.
- [ ] From Microsoft SQL Server Management studio, grant the SELECT permission to the users for all the columns in the dbo.Customers table except Email.
- [ ] From the Azure portal, set a sensitivity classification of Confidential for the Email column.
### Solution: You use an Azure Data Factory schedule trigger to execute a pipeline that executes mapping data Flow, and then inserts the data info the data warehouse.
- [ ] Yes.
- [x] No.
### You are designing an application that will use an Azure Data Lake Storage Gen 2 account to store petabytes of license plate photos from toll booths. The account will use zone-redundant storage (ZRS). You identify the following usage patterns: The data will be accessed several times a day during the first 30 days after the data is created. The data must meet an availability SU of 99.9%. After 90 days, the data will be accessed infrequently but must be available within 30 seconds. After 365 days, the data will be accessed infrequently but must be available within five minutes.

- [x] First 30 days: Hot. After 90 days: Cool. After 365 days: Cool.
- [ ] First 30 days: Hot. After 90 days: Archive. After 365 days: Archive.
- [ ] First 30 days: Cool. After 90 days: Cool. After 365 days: Archive.
- [ ] First 30 days: Cool. After 90 days: Hot. After 365 days: Archive.
### A company has a real-time data analysis solution that is hosted on Microsoft Azure. The solution uses Azure Event Hub to ingest data and an Azure Stream Analytics cloud job to analyze the data. The cloud job is configured to use 120 Streaming Units (SU). You need to optimize performance for the Azure Stream Analytics job. Which two actions should you perform?
- [ ] Implement event ordering.
- [ ] Implement Azure Stream Analytics user-defined functions (UDF).
- [ ] Implement query parallelization by partitioning the data output.
- [x] Scale the SU count for the job up.
- [ ] Scale the SU count for the job down.
- [x] Implement query parallelization by partitioning the data input.
### You have a Microsoft SQL Server database that uses a third normal form schema. You plan to migrate the data in the database to a star schema in an Azure Synapse Analytics dedicated SQI pool. You need to design the dimension tables. The solution must optimize read operations. What should you include in the solution?

- [x] Transform data for the dimension tables by: Denormalizing to a second normal form. For the primary key in the dimension tables, use: New IDENTITY columns.
- [ ] Transform data for the dimension tables by: Maintaining to a third normal form. For the primary key in the dimension tables, use: A new computed column.
- [ ] Transform data for the dimension tables by: Maintaining to a third normal form. For the primary key in the dimension tables, use: New IDENTITY columns.
- [ ] Transform data for the dimension tables by: Normalizing to a fourth normal form. For the primary key in the dimension tables, use: The business key column from the source sys.
### You have an Azure subscription that contains an Azure Data Lake Storage account. The storage account contains a data lake named DataLake1. You plan to use an Azure data factory to ingest data from a folder in DataLake1, transform the data, and land the data in another folder. You need to ensure that the data factory can read and write data from any folder in the DataLake1 file system. The solution must meet the following requirements: Minimize the risk of unauthorized user access. Use the principle of least privilege. Minimize maintenance effort. How should you configure access to the storage account for the data factory?

- [ ] Use: a Shared Access Signature (SAS). to authenticate by using: a stored access policy.
- [x] Use: Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra. to authenticate by using: a managed identity.
- [ ] Use: a shared key. to authenticate by using: an Authorization header.
- [ ] Use: a Shared Access Signature (SAS). to authenticate by using: an Authorization header.
### You have an Azure data solution that contains an enterprise data warehouse in Azure Synapse Analytics named DW1. Several users execute ad hoc queries to DW1 concurrently. You regularly perform automated data loads to DW1. You need to ensure that the automated data loads have enough memory available to complete quickly and successfully when the adhoc queries run. What should you do?
- [ ] Hash distribute the large fact tables in DW1 before performing the automated data loads.
- [ ] Assign a smaller resource class to the automated data load queries.
- [x] Assign a larger resource class to the automated data load queries.
- [ ] Create sampled statistics for every column in each table of DW1.
### You plan to create an Azure Data Factory pipeline that will include a mapping data flow. You have JSON data containing objects that have nested arrays. You need to transform the JSON-formatted data into a tabular dataset. The dataset must have one tow for each item in the arrays. Which transformation method should you use in the mapping data flow?
- [ ] unpivot.
- [x] flatten.
- [ ] new branch.
- [ ] alter row.
### You have a C# application that process data from an Azure IoT hub and performs complex transformations. You need to replace the application with a real-time solution. The solution must reuse as much code as possible from the existing application.
- [ ] Azure Databricks.
- [ ] Azure Event Grid.
- [x] Azure Stream Analytics.
- [ ] Azure Data Factory.
### You are implementing an Azure Stream Analytics solution to process event data from devices. The devices output events when there is a fault and emit a repeat of the event every five seconds until the fault is resolved. The devices output a heartbeat event every five seconds after a previous event if there are no faults present. A sample of the events is shown in the following table. You need to calculate the uptime between the faults. How should you complete the Stream Analytics SQL query?

- [ ] Box 1: `WHERE WHERE LAG(EventType, 1) OVER (LIMIT DURATION(second, 5)) <> EventType`. Box 2: `SessionWindow(second, 5, 50000) OVER (PARTITION BY DeviceID)`.
- [ ] Box 1: `WHERE EventType='HeartBeat'`. Box 2: `SessionWindow(second, 5, 50000) OVER (PARTITION BY DeviceID)`.
- [x] Box 1: `WHERE EventType='HeartBeat'`. Box 2: `TumblingWindow(second, 5)`.
- [ ] Box 1: `WHERE IsFirst(second, 5) = 1`. Box 2: `HAVING DATEDIFF(second, MINE(EventTime), MAX(EventTime)) > 5`.
### You are designing an Azure Stream Analytics solution that receives instant messaging data from an Azure Event Hub. You need to ensure that the output from the Stream Analytics job counts the number of messages per time zone every 15 seconds. How should you complete the Stream Analytics query?

- [ ] `FROM MessageStream`: `LAST`. `GROUP BY TimeZone,`: `HOPPINGWINDOW`.
- [ ] `FROM MessageStream`: `OVER`. `GROUP BY TimeZone,`: `SESSIONWINDOW`.
- [ ] `FROM MessageStream`: `SYSTEM.TIMESTAMP()`. `GROUP BY TimeZone,`: `SLIDINGWINDOW`.
- [x] `FROM MessageStream`: `TIMESTAMP BY`. `GROUP BY TimeZone,`: `TUMBLINGWINDOW`.
### You have an Azure Databricks workspace named workspace! in the Standard pricing tier. Workspace! contains an all-purpose cluster named cluster. You need to reduce the time it takes for cluster 1 to start and scale up. The solution must minimize costs. What should you do first?
- [ ] Upgrade workspace! to the Premium pricing tier.
- [ ] Create a cluster policy in workspace1.
- [x] Create a pool in workspace1.
- [ ] Configure a global init script for workspace1.
### You have an Azure Data Lake Storage Gen2 account that contains a JSON file for customers. The file contains two attributes named FirstName and LastName. You need to copy the data from the JSON file to an Azure Synapse Analytics table by using Azure Databricks. A new column must be created that concatenates the FirstName and LastName values. You create the following components: A destination table in Azure Synapse An Azure Blob storage container A service principal Which five actions should you perform in sequence next in is Databricks notebook?

- [ ] Box 1: Read the file into a data frame. Box 2: Write the results to a table in Azure Synapse. Box 3: Write the results to a table in Azure Synapse. Box 4: Mount the Data Lake Storage onto DBFS. Box 5: Mount the Data Lake Storage onto DBFS.
- [ ] Box 1: Perform transformations on the data frame. Box 2: Write the results to a table in Azure Synapse. Box 3: Mount the Data Lake Storage onto DBFS. Box 4: Specify a temporary folder to stage the data. Box 5: Perform transformations on the data frame.
- [x] Box 1: Mount the Data Lake Storage onto DBFS. Box 2: Read the file into a data frame. Box 3: Perform transformations on the data frame. Box 4: Specify a temporary folder to stage the data. Box 5: Write the results to a table in Azure Synapse.
- [ ] Box 1: Perform transformations on the data frame. Box 2: Read the file into a data frame. Box 3: Write the results to a table in Azure Synapse. Box 4: Specify a temporary folder to stage the data. Box 5: Mount the Data Lake Storage onto DBFS.
### You have an Azure event hub named retailhub that has 16 partitions. Transactions are posted to retailhub. Each transaction includes the transaction ID, the individual line items, and the payment details. The transaction ID is used as the partition key. You are designing an Azure Stream Analytics job to identify potentially fraudulent transactions at a retail store. The job will use retailhub as the input. The job will output the transaction ID, the individual line items, the payment details, a fraud score, and a fraud indicator. You plan to send the output to an Azure event hub named fraudhub. You need to ensure that the fraud detection solution is highly scalable and processes transactions as quickly as possible. How should you structure the output of the Stream Analytics job?

- [ ] Number of partitions: 32. Partition key: Transaction ID.
- [ ] Number of partitions: 1. Partition key: Fraud indicator.
- [ ] Number of partitions: 8. Partition key: Fraud score.
- [x] Number of partitions: 16. Partition key: Transaction ID.
### You have an Azure Storage account that generates 200,000 new files daily. The file names have a format of {YYYY}/{MM}/{DD}/{HH}/{CustomerID}.csv. You need to design an Azure Data Factory solution that will load new data from the storage account to an Azure Data Lake once hourly. The solution must minimize load times and costs. How should you configure the solution?

- [x] Load methodology: Incremental Load. Trigger: Tumbling window.
- [ ] Load methodology: Full Load. Trigger: Tumbling window.
- [ ] Load methodology: Incremental Load. Trigger: Fixed schedule.
- [ ] Load methodology: Load Individual files as they arrive. Trigger: New file.
### You plan to implement an Azure Data Lake Storage Gen2 container that will contain CSV files. The size of the files will vary based on the number of events that occur per hour. File sizes range from 4.KB to 5 GB. You need to ensure that the files stored in the container are optimized for batch processing. What should you do?
- [ ] Compress the files.
- [x] Merge the files.
- [ ] Convert the files to JSON
- [ ] Convert the files to Avro.
### You are developing a solution using a Lambda architecture on Microsoft Azure. The data at test layer must meet the following requirements: Data storage: Serve as a repository or high volumes of large files in various formats. Implement optimized storage for big data analytics workloads. Ensure that data can be organized using a hierarchical structure. Batch processing: Use a managed solution for in-memory computation processing. Natively support Scala, Python, and R programming languages. Provide the ability to resize and terminate the cluster automatically. Analytical data store: Support parallel processing. Use columnar storage. Support SQL-based languages. You need to identify the correct technologies to build the Lambda architecture. Which technologies should you use?

- [x] Data storage: Azure Data Lake Store. Batch processing: HDInsight Spark. Analytical data store: Azure Synapse Analytics.
- [ ] Data storage: Azure SQL Database. Batch processing: HDInsight Hadoop. Analytical data store: HDInsinght HBase.
- [ ] Data storage: Azure Blob Storage. Batch processing: Azure Databricks. Analytical data store: Azure Analysis Services.
- [ ] Data storage: Azure Data Lake Store. Batch processing: HDInsight Interactive Query. Analytical data store: Azure Cosmos DB.
### A company plans to use Platform-as-a-Service (PaaS) to create the new data pipeline process. The process must meet the following requirements: Ingest: Access multiple data sources. Provide the ability to orchestrate workflow. Provide the capability to run SQL Server Integration Services packages. Store: Optimize storage for big data workloads. Provide encryption of data at rest. Operate with no size limits. Prepare and Train: Provide a fully-managed and interactive workspace for exploration and visualization. Provide the ability to program in R, SQL, Python, Scala, and Java. Provide seamless user authentication with Azure Active Directory. Model & Serve: Implement native columnar storage. Support for the SQL language Provide support for structured streaming. You need to build the data integration pipeline. Which technologies should you use?

- [ ] Ingest: Logic Apps. Store: Azure Data Lake Storage. Prepare and Train: HDInsight Apache Spark cluster. Model and Serve: HDInsight Apache Kafka cluster.
- [ ] Ingest: Azure Data Factory. Store: Azure Blob Storage. Prepare and Train: Azure Databricks. Model and Serve: Azure Synapse Analytics.
- [x] Ingest: Azure Data Factory. Store: Azure Data Lake Storage. Prepare and Train: Azure Databricks. Model and Serve: Azure Databricks.
- [ ] Ingest: Azure Automation. Store: Azure files. Prepare and Train: HDInsight Apache Storm cluster. Model and Serve: Azure Data Lake Storage.
### From a website analytics system, you receive data extracts about user interactions such as downloads, link clicks, form submissions, and video plays. The data contains the following columns. You need to design a star schema to support analytical queries of the data. The star schema will contain four tables including a date dimension. To which table should you add each column?

- [ ] EventCategory: DimChannel. ChannelGrouping: FactEvents. TotalEvents: FactEvents.
- [x] EventCategory: DimEvent. ChannelGrouping: DimChannel. TotalEvents: FactEvents.
- [ ] EventCategory: FactEvents. ChannelGrouping: DimEvent. TotalEvents: DimEvent.
- [ ] EventCategory: FactEvents. ChannelGrouping: DimChannel. TotalEvents: DimEvent.
### You have a table named SalesFact in an enterprise data warehouse in Azure Synapse Analytics. SalesFact contains sales data from the past 36 months and has the following characteristics: Is partitioned by month Contains one billion rows Has clustered columnstore indexes At the beginning of each month, you need to remove data from SalesFact that is older than 36 months as quickly as possible. Which three actions should you perform in sequence in a stored procedure?

- [ ] Box 1: Switch the partition containing the stale data from SalesFact to SalesFact_Work. Box 2: Drop the SalesFact_Work table. Box 3: Switch the partition containing the stale data from SalesFact to SalesFact_Work.
- [ ] Box 1: Drop the SalesFact_Work table. Box 2: Create an empty table named SalesFact_Work that has the same schema as SalesFact. Box 3: Drop the SalesFact_Work table.
- [x] Box 1: Create an empty table named SalesFact_Work that has the same schema as SalesFact. Box 2: Switch the partition containing the stale data from SalesFact to SalesFact_Work. Box 3: Drop the SalesFact_Work table.
- [ ] Box 1: Switch the partition containing the stale data from SalesFact to SalesFact_Work. Box 2: Create an empty table named SalesFact_Work that has the same schema as SalesFact. Box 3: Create an empty table named SalesFact_Work that has the same schema as SalesFact.
### You are responsible for providing access to an Azure Data Lake Storage Gen2 account. Your user account has contributor access to the storage account, and you have the application ID and access key. You plan to use PolyBase to load data into an enterprise data warehouse in Azure Synapse Analytics. You need to configure PolyBase to connect the data warehouse to storage account. Which three components should you create in sequence?

- [ ] Box 1: an external data source. Box 2: a database scoped credential. Box 3: an external file format.
- [ ] Box 1: an external file format. Box 2: an external data source. Box 3: a database scoped credential.
- [x] Box 1: an asymetric key. Box 2: a database scoped credential. Box 3: an external data source.
- [ ] Box 1: a database scoped credential. Box 2: an external data source. Box 3: an external file format.
### You have a data warehouse in Azure Synapse Analytics. You need to ensure that the data in the data warehouse is encrypted at rest. What should you enable? What should you enable?
- [ ] Advanced Data Security for this database.
- [x] Transparent Data Encryption (TDE).
- [ ] Secure transfer required.
- [ ] Dynamic Data Masking.
### You are designing a date dimension table in an Azure Synapse Analytics dedicated SQL pool. The date dimension table will be used by all the fact tables. Which distribution type should you recommend to minimize data movement?
- [ ] HASH.
- [x] REPLICATE.
- [ ] ROUND ROBIN.
### You plan to monitor an Azure data factory by using the Monitor & Manage app. You need to identify the status and duration of activities that reference a table in a source database. Which three actions should you perform in sequence?

- [x] Box 1: From the Data Factory authoring Ul, generate a user property for Source on all activities. Box 2: From the Data Factory monitoring app, add the Source user property to the Pipeline Runs table. Box 3: From the Data Factory authoring Ul, publish the pipelines.
- [ ] Box 1: From the Data Factory authoring Ul, publish the pipelines. Box 2: From the Data Factory authoring Ul, publish the pipelines. Box 3: From the Data Factory authoring Ul, generate a user property for Source on all activities.
- [ ] Box 1: From the Data Factory authoring Ul, generate a user property for Source on all activities. Box 2: From the Data Factory monitoring app, add the Source user property to the Pipeline Runs table. Box 3: From the Data Factory authoring Ul, generate a user property for Source on all activities.
- [ ] Box 1: From the Data Factory authoring Ul, publish the pipelines. Box 2: From the Data Factory authoring Ul, generate a user property for Source on all activities. Box 3: From the Data Factory monitoring app, add the Source user property to the Pipeline Runs table.
### You are processing streaming data from vehicles that pass through a toll booth. You need to use Azure Stream Analytics to return the license plate, vehicle make, and hour the last vehicle passed during each 10-minute window. How should you complete the query?

- [ ] Box 1: `COUNT`. Box 2: `HoppingWindow`. Box 3: `DATEADD`.
- [ ] Box 1: `MIN`. Box 2: `SessionWindow`. Box 3: `DATEPART`.
- [ ] Box 1: `TOPONE`. Box 2: `SlidingWindow`. Box 3: `DATENAME`.
- [x] Box 1: `MAX`. Box 2: `TumblingWindow`. Box 3: `DATEDIFF`.
### You are implementing Azure Stream Analytics windowing functions. Which windowing function should you use for each requirement?

- [ ] Segment the data stream into distinct time segments that repeat but do not overlap: Sliding. Segment the data stream into distinct time segments that repeat and can overlap: Hopping. Segment the data stream to produce an output only when an event occurs: Tumbling.
- [x] Segment the data stream into distinct time segments that repeat but do not overlap: Tumbling. Segment the data stream into distinct time segments that repeat and can overlap: Hopping. Segment the data stream to produce an output only when an event occurs: Hopping.
- [ ] Segment the data stream into distinct time segments that repeat but do not overlap: Hopping. Segment the data stream into distinct time segments that repeat and can overlap: Sliding. Segment the data stream to produce an output only when an event occurs: Tumbling.
- [ ] Segment the data stream into distinct time segments that repeat but do not overlap: Sliding. Segment the data stream into distinct time segments that repeat and can overlap: Tumbling. Segment the data stream to produce an output only when an event occurs: Hopping.
### You need to create an Azure Data Factory pipeline to process data for the following three departments at your company: Ecommerce, retail, and wholesale. The solution must ensure that data can also be processed for the entire company. How should you complete the Data Factory data flow script?

- [ ] Box 1: `dept=='ecommerce', dept=='retail', dept-- 'wholesale'`. Box 2: `disjoint: false`. Box 3: `ecommerce, retail, wholesale, all`.
- [ ] Box 1: `ecommerce, retail, wholesale, all`. Box 2: `disjoint: false`. Box 3: `dept=='ecommerce', dept=='retail', dept-- 'wholesale'`.
- [x] Box 1: `dept=='ecommerce', dept=='retail', dept-- 'wholesale'`. Box 2: `disjoint: true`. Box 3: `ecommerce, retail, wholesale, all`.
- [ ] Box 1: `dept=='ecommerce', dept=='wholesale', dept-- 'retail'`. Box 2: `disjoint: true`. Box 3: `ecommerce, retail, wholesale, all`.
### You have a data model that you plan to implement in a data warehouse in Azure Synapse Analytics as shown in the following exhibit. All the dimension tables will be less than 2 GB after compression, and the fact table will be approximately 6 TB. Which type of table should you use for each table?

- [ ] Dim_Customer: Replicated. Dim_Employee: Hash distributed. Dim_Time: Round-robin. Fact_DailyBookings: Replicated.
- [ ] Dim_Customer: Round-robin. Dim_Employee: Round-robin. Dim_Time: Round-robin. Fact_DailyBookings: Round-robin.
- [x] Dim_Customer: Replicated. Dim_Employee: Replicated. Dim_Time: Replicated. Fact_DailyBookings: Hash distributed.
- [ ] Dim_Customer: Round-robin. Dim_Employee: Hash distributed. Dim_Time: Round-robin. Fact_DailyBookings: Replicated.
### You are designing an enterprise data warehouse in Azure Synapse Analytics that will contain a table named Customers. Customers will contain credit card information. You need to recommend a solution to provide salespeople with the ability to view all the entries in Customers. The solution must prevent all the salespeople from viewing or inferring the credit card information. What should you include in the recommendation?
- [ ] data masking.
- [ ] Always Encrypted.
- [x] column-level security.
- [ ] row-level security.
### You have an enterprise data warehouse in Azure Synapse Analytics. You need to monitor the data warehouse to identify whether you must scale up to a higher service level to accommodate the current workloads Which is the best metric to monitor?
- [ ] Data 10 percentage.
- [ ] CPU percentage.
- [ ] DWU used.
- [x] DWU percentage.
### A company plans to use Apache Spark analytics to analyze intrusion detection data. You need to recommend a solution to analyze network and system activity data for malicious activities and policy violations. The solution must minimize administrative efforts. What should you recommend?
- [ ] Azure Data Lake Storage.
- [x] Azure Databricks.
- [ ] Azure HDInsight.
- [ ] Azure Data Factory.
### You have an Azure Factory instance named DF1 that contains a pipeline named PL1.PL1 includes a tumbling window trigger. You create five clones of PL1. You configure each clone pipeline to use a different data source. You need to ensure that the execution schedules of the clone pipeline match the execution schedule of PL1. What should you do?
- [ ] Add a new trigger to each cloned pipeline.
- [x] Associate each cloned pipeline to an existing trigger.
- [ ] Create a tumbling window trigger dependency for the trigger of PL1.
- [ ] Modify the Concurrency setting of each pipeline.
### You are designing a streaming data solution that will ingest variable volumes of data. You need to ensure that you can change the partition count after creation. Which service should you use to ingest the data?
- [x] Azure Event Hubs Dedicated.
- [ ] Azure Stream Analytics.
- [ ] Azure Data Factory.
- [ ] Azure Synapse Analytics.
### You have the following Azure Data Factory pipelines ingest Data from System 1 Ingest Data from System2 Populate Dimensions Populate facts ingest Data from System1 and Ingest Data from System1 have no dependencies. Populate Dimensions must execute after Ingest Data from System1 and Ingest Data from System* Populate Facts must execute after the Populate Dimensions pipeline. All the pipelines must execute every eight hours. What should you do to schedule the pipelines for execution?
- [ ] Add an event trigger to all four pipelines.
- [ ] Create a parent pipeline that contains the four pipelines and use an event trigger.
- [x] Create a parent pipeline that contains the four pipelines and use a schedule trigger.
- [ ] Add a schedule trigger to all four pipelines.
### You have an Azure Synapse Analytics serverless SQL pool named Pool1 and an Azure Data Lake Storage Gen2 account named storage1. The AllowedBlobpublicAccess porperty is disabled for storage1. You need to create an external data source that can be used by Azure Active Directory (Azure AD) users to access storage1 from Pool1. What should you create first?
- [ ] an external resource pool
- [ ] a remote service binding
- [x] database scoped credentials
- [ ] an external library
### You need to schedule an Azure Data Factory pipeline to execute when a new file arrives in an Azure Data Lake Storage Gen2 container. Which type of trigger should you use?
- [ ] on-demand
- [ ] tumbling window
- [ ] schedule
- [x] event
### You are building an Azure Analytics query that will receive input data from Azure IoT Hub and write the results to Azure Blob storage. You need to calculate the difference in readings per sensor per hour. How should you complete the query?

- [ ] Box 1: `LAG`. Box 2: `OFFSET`.
- [x] Box 1: `LAG`. Box 2: `LIMIT DURATION`.
- [ ] Box 1: `LAST`. Box 2: `OFFSET`.
- [ ] Box 1: `LEAD`. Box 2: `WHEN`.
### You use Azure Data Factory to prepare data to be queried by Azure Synapse Analytics serverless SQL pools. Files are initially ingested into an Azure Data Lake Storage Gen2 account as 10 small JSON files. Each file contains the same data attributes and data from a subsidiary of your company. You need to move the files to a different folder and transform the data to meet the following requirements: Provide the fastest possible query times. Automatically infer the schema from the underlying files. How should you configure the Data Factory copy activity?

- [ ] Copy behavior: Merge files. Sink file type: CSV.
- [x] Copy behavior: Preserve hierarchy. Sink file type: Parquet.
- [ ] Copy behavior: Merge files. Sink file type: Parquet.
- [ ] Copy behavior: Preserve hierarchy. Sink file type: JSON.
### You have an Azure data factory. You need to ensure that pipeline-run data is retained for 120 days. The solution must ensure that you can query the data by using the Kusto query language. Which four actions should you perform in sequence?

- [ ] Box 1: From the Azure portal, add a diagnostic setting. Box 2: Create an Azure Storage account that| has a lifecycle policy. Box 3: Send the data to a Log Analytics workspace. Box 4: Send the data to a Log Analytics workspace.
- [ ] Box 1: Send the data to a Log Analytics workspace. Box 2: From the Azure portal, add a diagnostic setting. Box 3: Send the data to a Log Analytics workspace. Box 4: From the Azure portal, add a diagnostic setting.
- [x] Box 1: Create an Azure Storage account that| has a lifecycle policy. Box 2: Create a Log Analytics workspace that has Data Retention set to 120 days. Box 3: From the Azure portal, add a diagnostic setting. Box 4: Send the data to a Log Analytics workspace.
- [ ] Box 1: Create a Log Analytics workspace that has Data Retention set to 120 days. Box 2: Create an Azure Storage account that| has a lifecycle policy. Box 3: Create an Azure Storage account that| has a lifecycle policy. Box 4: From the Azure portal, add a diagnostic setting.
### You need to collect application metrics, streaming query events, and application log messages for an Azure Databrick cluster. Which type of library and workspace should you implement?

- [ ] Library: Microsoft Azure Management Monitoring Library. Workspace: Azure Machine Learning.
- [x] Library: Azure Databricks Monitoring Library. Workspace: Azure Log Analytics.
- [ ] Library: PyTorch. Workspace: Azure Databricks.
- [ ] Library: TensorFlow. Workspace: Azure Machine Learning.
### What should you recommend to prevent users outside the Litware on-premises network from accessing the analytical data store?
- [ ] a server-level virtual network rule.
- [ ] a database-level virtual network rule.
- [ ] a database-level firewall IP rule.
- [x] a server-level firewall IP rule.
### You develop data engineering solutions for a company. A project requires the deployment of data to Azure Data Lake Storage. You need to implement role-based access control (RBAC) so that project members can manage the Azure Data Lake Storage resources. Which three actions should you perform?
- [x] Assign Azure AD security groups to Azure Data Lake Storage.
- [ ] Configure end-user authentication for the Azure Data Lake Storage account.
- [ ] Configure service-to-service authentication for the Azure Data Lake Storage account.
- [x] Create security groups in Azure Active Directory (Azure AD) and add project members.
- [x] Configure access control lists (ACL) for the Azure Data Lake Storage account.
### You are designing a real-time dashboard solution that will visualize streaming data from remote sensors that connect to the internet. The streaming data must be aggregated to show the average value of each 10-second interval. The data will be discarded after being displayed in the dashboard. The solution will use Azure Stream Analytics and must meet the following requirements: Minimize latency from an Azure Event hub to the dashboard. Minimize the required storage. Minimize development effort. What should you include in the solution?

- [ ] Azure Stream Analytics input type: Azure Stream Analytics. Azure Stream Analytics output type: Azure Event Hub. Aggregation query location: Microsoft Power BI.
- [ ] Azure Stream Analytics input type: Azure Stream Analytics. Azure Stream Analytics output type: Azure Stream Analytics. Aggregation query location: Azure Event Hub.
- [ ] Azure Stream Analytics input type: Microsoft Power BI.Azure Stream Analytics output type: Azure Event Hub. Aggregation query location: Azure Event Hub.
- [x] Azure Stream Analytics input type: Azure Event Hub. Azure Stream Analytics output type: Microsoft Power BI. Aggregation query location: Azure Stream Analytics.
### You have an Azure Synapse workspace named MyWorkspace that contains an Apache Spark database named mytestdb. You run the following command in an Azure Synapse Analytics Spark pool in MyWorkspace. CREATE TABLE mytestdb.myParquetTable( EmployeeID int, EmployeeName string, EmployeeStartDate date) USING Parquet You then use Spark to insert a row into mytestdb.myParquetTable. The row contains the following data. One minute later, you execute the following query from a serverless SQL pool in MyWorkspace. SELECT EmployeeID FROM mytestdb.dbo.myParquetTable WHERE name = 'Alice'; What will be returned by the query?
- [x] 24.
- [ ] an error.
- [ ] a null value.
### You have a SQL pool in Azure Synapse. You plan to load data from Azure Blob storage to a staging table. Approximately 1 million rows of data will be loaded daily. The table will be truncated before each daily load. You need to create the staging table. The solution must minimize how long it takes to load the data to the staging table. How should you configure the table?

- [x] Distribution: Hash. Indexing: Clustered columnstore. Partitioning: Date.
- [ ] Distribution: Replicated. Indexing: Clustered. Partitioning: Date.
- [ ] Distribution: Replicated. Indexing: Heap. Partitioning: None.
- [ ] Distribution: Round-robin. Indexing: Clustered. Partitioning: None.
### You are designing a partition strategy for a fact table in an Azure Synapse Analytics dedicated SQL pool. The table has the following specifications: Contain sales data for 20,000 products. Use hash distribution on a column named ProduclID, Contain 2.4 billion records for the years 20l9 and 2020. Which number of partition ranges provides optimal compression and performance of the clustered columnstore index?
- [x] 40.
- [ ] 240.
- [ ] 400.
- [ ] 2,400.
### You use Azure Data Lake Storage Gen2. You need to ensure that workloads can use filter predicates and column projections to filter data at the time the data is read from disk. Which two actions should you perform?
- [ ] Reregister the Microsoft Data Lake Store resource provider.
- [ ] Reregister the Azure Storage resource provider.
- [ ] Create a storage policy that is scoped to a container.
- [x] Register the query acceleration feature.
- [x] Create a storage policy that is scoped to a container prefix filter.
### You have an Azure Synapse Analystics dedicated SQL pool that contains a table named Contacts. Contacts contains a column named Phone. You need to ensure that users in a specific role only see the last four digits of a phone number when querying the Phone column. What should you include in the solution?
- [ ] a default value.
- [x] dynamic data masking.
- [ ] row-level security (RLS).
- [ ] column encryption.
- [ ] table partitions.
### You have an Azure Synapse Analytics dedicated SQL pool. You need to ensure that data in the pool is encrypted at rest. The solution must NOT require modifying applications that query the data. What should you do?
- [ ] Enable encryption at rest for the Azure Data Lake Storage Gen2 account.
- [x] Enable Transparent Data Encryption (TDE) for the pool.
- [ ] Use a customer-managed key to enable double encryption for the Azure Synapse workspace.
- [ ] Create an Azure key vault in the Azure subscription grant access to the pool.
### You build an Azure Data Factory pipeline to move data from an Azure Data Lake Storage Gen2 container to a database in an Azure Synapse Analytics dedicated SQL pool. Data in the container is stored in the following folder structure. /in/{YYYY}/{MM}/{DD}/{HH}/{mm} The earliest folder is /in/2021/01/01/00/00. The latest folder is /in/2021/01/15/01/45. You need to configure a pipeline trigger to meet the following requirements: Existing data must be loaded. Data must be loaded every 30 minutes. Late-arriving data of up to two minutes must he included in the load for the time at whic