exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 26 discussion

A manufacturing company wants to implement predictive maintenance on its machinery equipment. The company will install thousands of IoT sensors that will send data to AWS in real time. A solutions architect is tasked with implementing a solution that will receive events in an ordered manner for each machinery asset and ensure that data is saved for further processing at a later time.
Which solution would be MOST efficient?

  • A. Use Amazon Kinesis Data Streams for real-time events with a partition for each equipment asset. Use Amazon Kinesis Data Firehose to save data to Amazon S3.
  • B. Use Amazon Kinesis Data Streams for real-time events with a shard for each equipment asset. Use Amazon Kinesis Data Firehose to save data to Amazon Elastic Block Store (Amazon EBS).
  • C. Use an Amazon SQS FIFO queue for real-time events with one queue for each equipment asset. Trigger an AWS Lambda function for the SQS queue to save data to Amazon Elastic File System (Amazon EFS).
  • D. Use an Amazon SQS standard queue for real-time events with one queue for each equipment asset. Trigger an AWS Lambda function from the SQS queue to save data to Amazon S3.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
vvahe
Highly Voted 3 years, 7 months ago
Answer is A Kinesis Data Streams + Kinesis Data Firehose + Amazon S3 Explanation: Question says ordered manner so SQS standard queue already falls short, that no ordered, SQS FIFO would be but using lambda to process larga amounts of realtimedata is not as efficient as Kinesis Data Streams + Kinesis Data Firehose. And EBS is not a target of Firehose so S3 is the correct option here
upvoted 44 times
gargaditya
3 years, 5 months ago
Correct, valid targets for KDF are S3, Redshift(copy via S3) and ElasticSearch ,no EBS. Further, 'real time' implies Kinesis. Another reason why B is incorrect is each shard need not be assigned to one sensor. Multiple sensors can use same shard. Thanks to the 'partition key' , if each sensor uses different key, hashing ensures that one random shard (remains same as partition key not changing)gets assigned to the sensor. Within a shard,data is always ordered ('sequence no').
upvoted 3 times
gargaditya
3 years, 5 months ago
Why not C? SQS FIFO has message id for grouping.Messages with same msg id are processed together,hence no need of indiv SQS FIFO queues.
upvoted 3 times
Alcpt
3 years, 4 months ago
sqs is not near-real-time. Kinesis is built for nrt.
upvoted 2 times
...
...
...
...
ViajanDee
Highly Voted 3 years, 7 months ago
The correct answer is C The keyword is "a solution that will receive events in an ordered manner" which requires FIFO
upvoted 8 times
gargaditya
3 years, 5 months ago
Its A. Why not C? SQS FIFO has message id for grouping.Messages with same msg id are processed together,hence no need of indiv SQS FIFO queues.
upvoted 1 times
naveenagurjara
2 years, 10 months ago
KDS uses Shards to maintain ordering same as FIFO for SQS.
upvoted 1 times
...
Mia2009687
1 year, 10 months ago
SQS FIFO is correct. But it stores to EFS which is not cheap.
upvoted 1 times
...
...
Alcpt
3 years, 4 months ago
SQS FIFO and KDS receive data in ordered sequence.
upvoted 1 times
...
gargaditya
3 years, 5 months ago
Kinesis Data Stream maintains ordering within shard,thanks to 'sequence numbers'. And one can ensure each sensor uses same shard by keeping its 'paritition key' the same. Further,multiple sensors may be mapped to same shard(internal hashing can map 2 different partition keys to same shard), but we always ensure that each sensor data(tied to one shard) is always ordered. Answer is A. Further,not B due to my above explanation on multiple sensors being able to use same shard.Also valid consumers for KDF are S3, Redshift(copy thru S3) and ElasticSearch, NO EBS.
upvoted 3 times
...
Alcpt
3 years, 6 months ago
The Answer is A https://aws.amazon.com/kinesis/data-streams/faqs/ How does Amazon Kinesis Data Streams differ from Amazon SQS? Amazon Kinesis Data Streams enables real-time processing of streaming big data. It provides ORDERING of records, as well as the ability to read and/or replay records in the same order to multiple Amazon Kinesis Applications.
upvoted 7 times
...
...
GB32
Most Recent 1 year ago
the answer is defo A, by the way who say's D is correct SQS makes sense in a way but...we not using lambda here, we need real time data stream as the IoT data comes in in real time.. just think about it.
upvoted 1 times
...
48cd959
1 year, 1 month ago
Selected Answer: A
Answer -A Realtime Data Ingestion - Kinesis Data Stream and Firehose can put data in S3. There is no need to use EBS, EBS instance will unnecessary costly.
upvoted 1 times
...
jatric
1 year, 8 months ago
Selected Answer: A
for real time processing KDS with KDF + S3 is the correct and best combination to support real time data and process later in order
upvoted 1 times
...
BauCloud
1 year, 10 months ago
C is the correct answer because thousands of IOT will send data to AWS (using EFS service) then the data has to be sent in an order manner (SQS FIFO)
upvoted 1 times
...
onkargondhali
1 year, 10 months ago
Selected Answer: A
kinesis DS and Kinesis data firehose perfectly suits here.
upvoted 1 times
...
depressedkid69
2 years ago
Selected Answer: A
WHY DOES IT SAY D?
upvoted 1 times
...
[Removed]
2 years, 4 months ago
D is correct it says'saved for further processing at a later time.'
upvoted 1 times
...
WuKongCoder
2 years, 6 months ago
Selected Answer: A
Kinesis Data Streams + Kinesis Data Firehose + Amazon S3
upvoted 2 times
...
stepman
2 years, 7 months ago
The question is stating that the data is being sent from a bunch of IoT devices to AWS in real time, but not necessarily asking it be analyzed in real time. It’s seeking for efficiency preserving the order of ingestion so with these conditions, I’d think it would be C.. SQS FIFO + EFS
upvoted 2 times
...
naveenagurjara
2 years, 10 months ago
Selected Answer: A
KDS uses Shards with Partition key for ordering.
upvoted 2 times
...
Angrydove
2 years, 10 months ago
Only the transmit between IoT sensors and AWS must be real-time and SQS can receive data in real-time. We don't need to concern where post-processing must be real-time or not. So C is correct
upvoted 1 times
...
nharaz
2 years, 11 months ago
(implementing predictive maintenance on its machines) Because of this Lambda is an option so I rule out A and B, In my opinion I will go for D. https://aws.amazon.com/solutions/implementations/predictive-maintenance-using-machine-learning/
upvoted 1 times
...
KP90
3 years ago
Selected Answer: A
Ordered manner so must no SQS standard queue
upvoted 2 times
...
Salem_Express
3 years, 1 month ago
Selected Answer: D
A isn't accurate answer!! simply, Kinesis Data Streams doesn't have partitions ! it has 'shards'
upvoted 1 times
...
PrinceMughal
3 years, 3 months ago
Selected Answer: A
one and only A
upvoted 2 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