exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 526 discussion

Accompany is building an application to collect and transmit sensor data from a factory. The application will use AWS IoT Core to send data from hundreds of devices to an Amazon S3 data lake. The company must enrich the data before loading the data into Amazon S3.

The application will transmit the sensor data every 5 seconds. New sensor data must be available in Amazon S3 less than 30 minutes after the application collects the data. No other applications are processing the sensor data from AWS IoT Core.

Which solution will meet these requirements MOST cost-effectively?

  • A. Create a topic in AWS IoT Core to ingest the sensor data. Create an AWS Lambda function to enrich the data and to write the data to Amazon S3. Configure an AWS IoT rule action to invoke the Lambda function.
  • B. Use AWS IoT Core Basic Ingest to ingest the sensor data. Configure an AWS IoT rule action to write the data to Amazon Kinesis Data Firehose. Set the Kinesis Data Firehose buffering interval to 900 seconds. Use Kinesis Data Firehose to invoke an AWS Lambda function to enrich the data, Configure Kinesis Data Firehose to deliver the data to Amazon S3.
  • C. Create a topic in AWS IoT Core to ingest the sensor data. Configure an AWS IoT rule action to send the data to an Amazon Timestream table. Create an AWS Lambda, function to read the data from Timestream. Configure the Lambda function to enrich the data and to write the data to Amazon S3.
  • D. Use AWS loT Core Basic Ingest to ingest the sensor data. Configure an AWS IoT rule action to write the data to Amazon Kinesis Data Streams. Create a consumer AWS Lambda function to process the data from Kinesis Data Streams and to enrich the data. Call the S3 PutObject API operation from the Lambda function to write the data to Amazon S3.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
mark_232323
Highly Voted 7 months ago
Selected Answer: B
https://aws.amazon.com/blogs/iot/ingesting-enriched-iot-data-into-amazon-s3-using-amazon-kinesis-data-firehose/
upvoted 7 times
...
053081f
Highly Voted 7 months ago
Selected Answer: A
In this application, sensor data is transmitted at the following intervals: 1. Device to IoT Core (every 5 seconds) 2. IoT Core to S3 (every 30 minutes) The data load from IoT Core to S3 doesn't necessarily need to be real-time, and the most cost-effective solution is option A. Option A uses the simplest method to load data without using resources like Kinesis.
upvoted 6 times
zolthar_z
5 months, 2 weeks ago
Answer is C, hundreds of devices sending data every 5 seconds, if you have 100 devices you will trigger the lambda 1200 times in one minute,
upvoted 2 times
...
...
85b5b55
Most Recent 5 hours, 48 minutes ago
Selected Answer: A
the requirements is MOST cost-effective solutions. hence, I choosed A. (i.e. Less resources)
upvoted 1 times
...
AzureDP900
2 months, 2 weeks ago
B is right, this meets the requirement of making new sensor data available in Amazon S3 less than 30 minutes after the application collects the data. The buffering interval of 900 seconds (15 minutes) is sufficient to meet this requirement, and the use of Kinesis Data Firehose ensures that the data is processed and delivered to Amazon S3 in a timely manner. This solution is also cost-effective because it: Uses AWS IoT Core Basic Ingest, which is free for up to 10 GB of incoming data per month. Uses Kinesis Data Firehose, which has a low cost compared to other services like Lambda or Timestream. Does not require the creation of multiple resources (e.g., Lambda functions, topics) as in some other solutions.
upvoted 1 times
...
sashenka
3 months ago
Selected Answer: A
Option A is the most cost-effective solution because: * Uses minimal services while meeting all requirements * Leverages serverless architecture for automatic scaling * Provides immediate processing without buffering delays * Minimizes costs by eliminating unnecessary services * Direct integration between IoT Core and Lambda ensures low latency The Lambda function can process messages immediately as they arrive from IoT Core, enrich the data, and write to S3 well within the 30-minute requirement. This architecture is both simple and cost-effective, avoiding unnecessary services and their associated costs.
upvoted 1 times
sashenka
3 months ago
Why not Option B? : IoT Core → Firehose → Lambda → S3 * 900-second (15-minute) buffer adds unnecessary delay * Additional cost for Firehose service * More complex than necessary for the use case
upvoted 1 times
...
...
doobc
3 months, 1 week ago
B. buffering helps with cost of lambda
upvoted 1 times
...
Danm86
3 months, 3 weeks ago
AWS IoT Core Basic is cheaper than AWS IoT core, also Kinesis Data Firehose Batching will reduce the number of write operations to S3 and Lambda invocations by buffering data. Hence even though there is an additional component of Kinesis Data Firehose, it is more cost effective than option A. According to me, the answer is Option B
upvoted 2 times
...
Daniel76
4 months, 4 weeks ago
Selected Answer: B
No other applications are processing the sensor data from AWS IoT Core: Use AWS IoT Core Basic Ingest to ingest the sensor data to reduce messaging cost: B or D https://docs.aws.amazon.com/iot/latest/developerguide/iot-basic-ingest.html Configure an AWS IoT rule action to write the data to Amazon KDF or KDS? "New sensor data must be available in Amazon S3 less than 30 minutes after the application collects the data." =>near real time, stream data to s3, no need storage or replay, we shd use autoscaling and fully managed KDF.
upvoted 1 times
...
liuliangzhou
5 months ago
Selected Answer: A
A. The advantage of this method is its simplicity and high real-time performance, as Lambda functions can immediately respond to IoT events. The cost of Lambda functions is based on execution time and resource usage, which is very economical for small data processing tasks. B. The 900 second buffer interval of Kinesis Data Firehose does not meet real-time requirements (data needs to be processed within 30 minutes, while the set buffer here is 15 minutes). In addition, introducing Kinesis Data Firehose adds additional cost and complexity, especially when Lambda functions can directly process data.
upvoted 1 times
...
jopaca1216
5 months, 1 week ago
Selected Answer: B
Many devices sending data every 5 seconds, it's not necessary, due that you just need the data available in S3 within 30 minutes!
upvoted 1 times
...
_Jassybanga_
5 months, 2 weeks ago
the data emitting time is 5 sec and lambda may take upto 15 mins to enrich the data , this detail is only captured in buffer section of KFS , hence going with B, If there is SQS queue in option A before lambda then i would have choosen that
upvoted 1 times
...
dzidis
6 months ago
Selected Answer: B
As per this link it is B, firehose is used: https://aws.amazon.com/blogs/iot/ingesting-enriched-iot-data-into-amazon-s3-using-amazon-kinesis-data-firehose/
upvoted 2 times
...
Incognito013
6 months ago
Selected Answer: A
We need simple and cost effective so choosing A
upvoted 2 times
...
tsangckl
6 months, 2 weeks ago
Selected Answer: B
I prefer B
upvoted 3 times
...
Chakanetsa
6 months, 3 weeks ago
Selected Answer: B
Best Answer: B. Use AWS IoT Core Basic Ingest to ingest the sensor data. Configure an AWS IoT rule action to write the data to Amazon Kinesis Data Firehose. Set the Kinesis Data Firehose buffering interval to 900 seconds. Use Kinesis Data Firehose to invoke an AWS Lambda function to enrich the data, Configure Kinesis Data Firehose to deliver the data to Amazon S3. Reasoning: Cost-effective: IoT Core Basic Ingest is the most cost-effective option for high-volume, low-value data. Low latency: Kinesis Data Firehose with a 900-second buffering interval provides a balance between cost and latency, meeting the requirement of data availability in S3 within 30 minutes. Scalability: Kinesis Data Firehose can handle high throughput, making it suitable for large volumes of sensor data. Simplicity: The solution involves a straightforward pipeline with minimal components.
upvoted 4 times
...
vip2
6 months, 3 weeks ago
Selected Answer: B
B is correct
upvoted 2 times
...
Helpnosense
7 months, 2 weeks ago
Selected Answer: A
Vote A because only required minimum services are involved. IoT core topic to hold income data, Lambda to enrich data and save to s3. IoT rule call Lambda and consume the incoming data.
upvoted 4 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