exam questions

Exam AI-100 All Questions

View all questions & answers for the AI-100 exam

Exam AI-100 topic 1 question 21 discussion

Actual exam question from Microsoft's AI-100
Question #: 21
Topic #: 1
[All AI-100 Questions]

You need to build a solution to monitor Twitter. The solution must meet the following requirements:
✑ Send an email message to the marketing department when negative Twitter messages are detected.
✑ Run sentiment analysis on Twitter messages that mention specific tags.
✑ Use the least amount of custom code possible.
Which two services should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Azure Databricks
  • B. Azure Stream Analytics
  • C. Azure Functions
  • D. Azure Cognitive Services
  • E. Azure Logic Apps
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️
References:
https://docs.microsoft.com/en-us/azure/stream-analytics/streaming-technologies https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends

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
Ody
Highly Voted 5 years, 8 months ago
Should be Logic Apps (Azure has a dedicated Twitter connector) and Cognitive Services to score for sentiment.
upvoted 51 times
Ubaid
5 years, 5 months ago
What about the custom code requirement. ?
upvoted 2 times
Exposer
5 years, 5 months ago
Logic App is the answer for that.
upvoted 5 times
...
...
SwatiMS
5 years, 3 months ago
I agree
upvoted 1 times
...
robn
4 years, 3 months ago
agreed
upvoted 1 times
...
...
junkz
Highly Voted 5 years, 3 months ago
both logic apps and stream analytics are here are mechanisms for capturing and routing the data. noe of them are actually doing the analysis, tht is done by the cognitive services. so with request asking for 2 services and least ammount of code, i would say logic apps+cognitive
upvoted 12 times
giusecozza
5 years ago
It's a valid theory, but you'd need an azure function to classify sentiment scores, which means custom code: https://docs.microsoft.com/it-it/azure/azure-functions/functions-twitter-email Using a twitter client application instead, you could get negative tweets through a simple SQL-like query, in Stream Analytics, and then send the output to Logic Apps (via Event Hubs) for email sending: https://github.com/uglide/azure-content/blob/master/articles/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends.md A very tricky question :) I think all depends on what it is meant for "least amount of custom code possible"
upvoted 2 times
...
...
rveney
Most Recent 1 year, 11 months ago
two services that should be included in the solution to monitor Twitter and meet the given requirements are B. Azure Stream Analytics and D. Azure Cognitive Services.
upvoted 1 times
...
berserkguts
4 years ago
this was in the AI-100 exam i took today, May 31
upvoted 1 times
Sora92
3 years, 12 months ago
Hope you did well in the exam. I was wondering, are most of the questions in the exam from these questions? or were there many new questions?
upvoted 2 times
...
...
allanm
4 years ago
Given answer is correct - https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends "Real-time Twitter trend analysis is a great example of an analytics tool because the hashtag subscription model enables you to listen to specific keywords (hashtags) and develop sentiment analysis of the feed."
upvoted 1 times
...
aliounegdiop
4 years ago
I think it should be Text Analytics ( cognitive services ) and Logic APP....I was dome tweets analysis but I used the stream analytics and event hub that send the data to the blob storage.....Logic App has its connector already
upvoted 1 times
...
sushmitha9812381236
4 years, 1 month ago
I feel it is Azure logic apps and cognitive services
upvoted 1 times
...
TaherAli2020
4 years, 2 months ago
https://docs.microsoft.com/en-us/azure/azure-functions/functions-twitter-email use Azure Functions with Logic Apps and Cognitive Services on Azure to run sentiment analysis from Twitter posts. An HTTP trigger function categorizes tweets as green, yellow, or red based on the sentiment score. An email is sent when poor sentiment is detected. steps: Create a Cognitive Services API Resource. Create a function that categorizes tweet sentiment. Create a logic app that connects to Twitter. Add sentiment detection to the logic app. Connect the logic app to the function. Send an email based on the response from the function.
upvoted 2 times
Derin_tade
3 years, 10 months ago
I think a key diff in this link and the one in the solution is that this one ticks the send notification to email and the one in the solution doesn't really show... But this link indicates that an outlook mail for notification would be needed.
upvoted 1 times
...
...
ADC88
4 years, 2 months ago
Given Answer is right! https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends
upvoted 2 times
...
luisdanielse
4 years, 2 months ago
I'd go with Cognitive Services (Text Analytics) and Logic Apps
upvoted 1 times
...
robn
4 years, 3 months ago
as the consensus is quite clear and well proven with sources (logicapps and cognitive services), could one of the mods change the correct answers?
upvoted 3 times
...
saswata30
4 years, 4 months ago
https://www.linkedin.com/pulse/7-steps-twitter-sentiment-analysis-using-azure-services-sujit-kadam/ Logic Apps and Cognitive Services
upvoted 2 times
...
OsimIndia
4 years, 4 months ago
1. Need Cognitive services for Sentiment analysis and LUIS... 2. Need Logic app which will trigger stuffs reg twitter. From my aspect,, below flow helps to understand Twitter -> Bot -> api gateway -> logic app -> cognitiveServices
upvoted 1 times
...
valar_morghulis
4 years, 5 months ago
Logic Apps and Cognitive Services
upvoted 2 times
...
HaoHu
4 years, 6 months ago
I think that both methods are work fine. https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis It's looks like that Cognitive Services is less customer code.
upvoted 1 times
Cornholioz
4 years, 3 months ago
Agree. Cognitive Services is lesser code as compared to the 1-2 lines of the SQL-like query to put into Stream Analytics. saswata30 has a good reference link too... although not an official MS documentation. I'm going with Logic Apps and Cognitive Services
upvoted 1 times
...
...
bharatns
4 years, 8 months ago
D & E References: https://mscloud.be/azure/real-time-twitter-sentiment-analysis-with-azure-cognitive-services/ https://medium.com/windows-developer/develop-a-mind-reading-twitter-client-with-azure-cognitive-services-f73f0c937671 https://www.youtube.com/watch?v=LIIDiNGNEio
upvoted 1 times
...
sayak17
4 years, 8 months ago
The answer provided is correct. https://medium.com/@dhruvkinger813/social-media-sentimental-analysis-using-azure-logic-apps-5dc8147c42ee The link provided above shows clearly that we can easily send emails when negative tweet is detected. https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends The above link shows that it is possible to run sentiment analysis on tweets having specific tags easily using stream analytics with few simple SQL queries, no code. https://towardsdatascience.com/using-azure-cognitive-services-for-sentiment-analysis-of-trumps-tweets-part-1-f42d68c7e40a The above link shows that using azure cognitive services requires lot of code for this usecase.
upvoted 4 times
danflr
4 years, 4 months ago
In your first link it is clearly written that Text Analytics (which is a Service on the Cognitive Services) will be used. So it should be D & E
upvoted 1 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 ...