exam questions

Exam AWS Certified Data Analytics - Specialty All Questions

View all questions & answers for the AWS Certified Data Analytics - Specialty exam

Exam AWS Certified Data Analytics - Specialty topic 1 question 91 discussion

A medical company has a system with sensor devices that read metrics and send them in real time to an Amazon Kinesis data stream. The Kinesis data stream has multiple shards. The company needs to calculate the average value of a numeric metric every second and set an alarm for whenever the value is above one threshold or below another threshold. The alarm must be sent to Amazon Simple Notification Service (Amazon SNS) in less than 30 seconds.
Which architecture meets these requirements?

  • A. Use an Amazon Kinesis Data Firehose delivery stream to read the data from the Kinesis data stream with an AWS Lambda transformation function that calculates the average per second and sends the alarm to Amazon SNS.
  • B. Use an AWS Lambda function to read from the Kinesis data stream to calculate the average per second and sent the alarm to Amazon SNS.
  • C. Use an Amazon Kinesis Data Firehose deliver stream to read the data from the Kinesis data stream and store it on Amazon S3. Have Amazon S3 trigger an AWS Lambda function that calculates the average per second and sends the alarm to Amazon SNS.
  • D. Use an Amazon Kinesis Data Analytics application to read from the Kinesis data stream and calculate the average per second. Send the results to an AWS Lambda function that sends the alarm to Amazon SNS.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
AjithkumarSL
Highly Voted 3 years, 7 months ago
It should be D, as KDF cannot achieve 30 Seconds SLA
upvoted 31 times
lakediver
3 years, 4 months ago
Agree Also it can not be B because I think average needs to be calculated across different shards and Lambda processes one batch of records at a time from each shard. https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
upvoted 8 times
...
...
VikG12
Highly Voted 3 years, 7 months ago
Should be 'D'.
upvoted 7 times
...
cox1960
Most Recent 1 year, 10 months ago
Selected Answer: B
This question could be deprecated. Legacy KDA for SQL could invoke Lambda, not KDA for Flink . So, D is not feasible today. KDS to Lambda has always been possible and the batch window in the event source mapping can be set to 1 second.
upvoted 3 times
...
milofficial
2 years, 2 months ago
Selected Answer: D
Firehose is too slow, D it is.
upvoted 2 times
...
cloudlearnerhere
2 years, 6 months ago
D is the correct answer Options A & C is wrong as Kinesis Data Firehose would not be able to achieve the 30 seconds requirement. Option B is wrong as Lambda function works with a single shard and works on a batch or batch window which would not provide the average.
upvoted 6 times
cloudlearnerhere
2 years, 6 months ago
Continuous metric generation applications enable you to monitor and understand how your data is trending over time. Your applications can aggregate streaming data into critical information and seamlessly integrate it with reporting databases and monitoring services to serve your applications and users in real-time. With Kinesis Data Analytics, you can use SQL or Apache Flink code to continuously generate time-series analytics over time windows. For example, you can build a live leaderboard for a mobile game by computing the top players every minute and then sending it to Amazon DynamoDB. Or, you can track the traffic to your website by calculating the number of unique website visitors every five minutes and then sending the processed results to Amazon Redshift.
upvoted 3 times
cloudlearnerhere
2 years, 6 months ago
Continuous metric generation applications enable you to monitor and understand how your data is trending over time. Your applications can aggregate streaming data into critical information and seamlessly integrate it with reporting databases and monitoring services to serve your applications and users in real-time. With Kinesis Data Analytics, you can use SQL or Apache Flink code to continuously generate time-series analytics over time windows. For example, you can build a live leaderboard for a mobile game by computing the top players every minute and then sending it to Amazon DynamoDB. Or, you can track the traffic to your website by calculating the number of unique website visitors every five minutes and then sending the processed results to Amazon Redshift.
upvoted 1 times
...
...
...
maitis
2 years, 8 months ago
Selected Answer: D
Lambda reads records from the data stream and invokes your function synchronously with an event that contains stream records. Lambda reads records in batches and invokes your function to process records from the batch. Each batch contains records from a single shard/data stream
upvoted 2 times
...
rocky48
2 years, 9 months ago
Selected Answer: D
Selected Answer: D
upvoted 1 times
...
Ramshizzle
2 years, 10 months ago
Selected Answer: D
As others have explained it should be D.
upvoted 1 times
...
youonebe
3 years, 1 month ago
Ans: D B is wrong because Lambda reads records from the data stream and invokes your function synchronously with an event that contains stream records. Lambda reads records in batches and invokes your function to process records from the batch. Each batch contains records from a single shard/data stream.
upvoted 2 times
...
pavelkuropatin
3 years, 3 months ago
D not A & C - KDF cannot achieve 30 seconds not B - If I understood correctly It had to compute average value, and I don't think that it is for Lambda case
upvoted 1 times
...
Marcinha
3 years, 6 months ago
I think B is correct.
upvoted 1 times
Marcinha
3 years, 5 months ago
I Changed for D, because lambda is taking 30 seconds to calculate average. We need < 30 seconds.
upvoted 1 times
vasi_9969
3 years, 4 months ago
why you say the lambda takes 30 seconds to calculate an average?
upvoted 1 times
...
...
...
Monika14Sharma
3 years, 6 months ago
Correct answer is D. KDS->KDA->Lambda->SNS
upvoted 2 times
...
soni12390
3 years, 6 months ago
Why not B? Lambda can consume data from Kinesis Data Stream and process it. It can send alarm to SNS if limit breached. What is the problem in this simple solution?
upvoted 4 times
allanm
2 years, 5 months ago
This is what I do not understand as well. Lambda can act as a consumer to Kinesis Data Streams so why would you need Kinesis Data Analysis as an intermediary to calculate the metric and send it to SNS??
upvoted 1 times
LocalHero
1 year, 5 months ago
yeah me too.
upvoted 1 times
...
...
...
afantict
3 years, 6 months ago
I think B is correct.
upvoted 1 times
AjithkumarSL
3 years, 6 months ago
Don't think KDA can directly talk to SNS..
upvoted 1 times
arvindn
3 years, 6 months ago
In option D, KDA uses lambda to connect to SNS
upvoted 1 times
...
...
afantict
3 years, 6 months ago
sorry, change to D
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago