exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 2 question 32 discussion

Actual exam question from Microsoft's DP-200
Question #: 32
Topic #: 2
[All DP-200 Questions]

DRAG DROP -
Your company plans to create an event processing engine to handle streaming data from Twitter.
The data engineering team uses Azure Event Hubs to ingest the streaming data.
You need to implement a solution that uses Azure Databricks to receive the streaming data from the Azure Event Hubs.
Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: Deploy the Azure Databricks service
Create an Azure Databricks workspace by setting up an Azure Databricks Service.
Step 2: Deploy a Spark cluster and then attach the required libraries to the cluster.
To create a Spark cluster in Databricks, in the Azure portal, go to the Databricks workspace that you created, and then select Launch Workspace.
Attach libraries to Spark cluster: you use the Twitter APIs to send tweets to Event Hubs. You also use the Apache Spark Event Hubs connector to read and write data into Azure Event Hubs. To use these APIs as part of your cluster, add them as libraries to Azure Databricks and associate them with your Spark cluster.
Step 3: Create and configure a Notebook that consumes the streaming data.
You create a notebook named ReadTweetsFromEventhub in Databricks workspace. ReadTweetsFromEventHub is a consumer notebook you use to read the tweets from Event Hubs.
References:
https://docs.microsoft.com/en-us/azure/azure-databricks/databricks-stream-from-eventhubs

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ck1729
Highly Voted 4 years, 1 month ago
Given answer is correct
upvoted 6 times
...
maciejt
Most Recent 3 years, 11 months ago
But you don't need a lbrary in Spark to connect to Twotter as the data is already in EvenHub that you only need to connect to
upvoted 1 times
...
syu31svc
4 years, 5 months ago
https://docs.microsoft.com/en-us/azure/azure-databricks/databricks-stream-from-eventhubs supports answer provided
upvoted 1 times
...
UKiran
4 years, 5 months ago
Its mandatory to create Spark Cluster, and then create a Notebook. As the notebook needs a cluster to run.
upvoted 1 times
...
serger
4 years, 11 months ago
Always mandatory to create a spark cluster from databricks and then you can run a notebook (the notebook should be attached to an existing spark cluster).
upvoted 4 times
...
Luke97
4 years, 11 months ago
Refer this article, https://docs.databricks.com/spark/latest/structured-streaming/streaming-event-hubs.html In order to connect Azure Event Hub via Azure Event Hubs Spark Connector in Databricks, we need to deploy Spark Cluster and install the new created library in your Databricks workspace using the Maven coordinate.
upvoted 2 times
Luke97
4 years, 11 months ago
This tutorial explains more details. https://docs.microsoft.com/en-us/azure/azure-databricks/databricks-stream-from-eventhubs
upvoted 6 times
...
...
mclawson1966
5 years, 1 month ago
why is the Spark Cluster included in the answer?
upvoted 1 times
mclawson1966
5 years, 1 month ago
I guess Spark is the only way to connect Databricks to an Event Hub?
upvoted 1 times
...
Yuri1101
5 years ago
Spark has built-in API to retrieve Twitter data
upvoted 4 times
...
gunjan075
5 years ago
i guess to run notebook in databricks you need to first create spark cluster
upvoted 4 times
...
SebK
4 years, 10 months ago
Databricks is a spark-based technology. It is always mandatory to have a spark cluster for Databricks to work.
upvoted 8 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago