Question 56

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?
  • Question 57

    You have an Azure subscription that contains an Azure Databricks workspace. The workspace contains a notebook named Notebook1. In Notebook1, you create an Apache Spark DataFrame named df_sales that contains the following columns:
    * Customer
    * Salesperson
    * Region
    * Amount
    You need to identify the three top performing salespersons by amount for a region named HQ.
    How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

    Question 58

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
    After you answer a question in this scenario, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
    You have an Azure Storage account that contains 100 GB of files. The files contain 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?
  • Question 59

    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? To answer, select the appropriate options in the answer are a.
    NOTE: Each correct selection is worth one point.

    Question 60

    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? To answer, select the appropriate options in the answer are a.
    NOTE: Each correct selection is worth one point.