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 494 discussion

A company needs to ingest and handle large amounts of streaming data that its application generates. The application runs on Amazon EC2 instances and sends data to Amazon Kinesis Data Streams, which is configured with default settings. Every other day, the application consumes the data and writes the data to an
Amazon S3 bucket for business intelligence (BI) processing. The company observes that Amazon S3 is not receiving all the data that the application sends to
Kinesis Data Streams.
What should a solutions architect do to resolve this issue?

  • A. Update the Kinesis Data Streams default settings by modifying the data retention period.
  • B. Update the application to use the Kinesis Producer Library (KPL) to send the data to Kinesis Data Streams.
  • C. Update the number of Kinesis shards to handle the throughput of the data that is sent to Kinesis Data Streams.
  • D. Turn on S3 Versioning within the S3 bucket to preserve every version of every object that is ingested in the S3 bucket.
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
patriktre
Highly Voted 3 years, 8 months ago
A is correct. https://aws.amazon.com/kinesis/data-streams/faqs/#:~:text=Amazon%20Kinesis%20stores%20your%20data,CLI%20or%20the%20API%20call. Q: How do I change the data retention period of my Amazon Kinesis data stream? Amazon Kinesis stores your data for up to 24 hours by default. You can raise data retention period to up to 7 days by enabling extended data retention or up to 365 by enabling long-term data retention using the console, the CLI or the API call.
upvoted 26 times
gargaditya
3 years, 6 months ago
ITs not mentioned about time to consume being less than 1 day. Massive volumes of data means shards need to scale accordingly(manual). C
upvoted 3 times
gargaditya
3 years, 6 months ago
Apologies, reading once again, "which is setup with default parameters" is the keyword. This,combined with above, makes C the answer.
upvoted 3 times
naveenagurjara
2 years, 11 months ago
Every Other day... means alternate days... more than 24 hours...
upvoted 1 times
...
...
...
...
amshivraj
Highly Voted 3 years, 8 months ago
https://aws.amazon.com/kinesis/data-streams/faqs/ If the shards arent suffiecient, data streams will throw ProvisionedThroughputExceeded exception to producer and question does not talk about any error at the producer. Increasing the retention period from default would solve the issue only if the application did not process the data and store it to S3, which would imply to be an application error. That makes me believe Answer to be C.
upvoted 11 times
...
slcheng
Most Recent 2 years, 10 months ago
Selected Answer: B
B look make sense data missing and need fix the data processing logic. https://docs.aws.amazon.com/streams/latest/dev/shared-throughput-kcl-consumers.html#shared-throughput-kcl-consumers-overview
upvoted 1 times
...
natnette
2 years, 11 months ago
Answer A Set your data retention period to ensure that your consumers are able to read data before it expires, if problems occur. You should carefully consider all possibilities, such as an issue with your record processing logic or a downstream dependency being down for a long period of time. Think of the retention period as a safety net to allow more time for your data consumers to recover. The retention period API operations allow you to set this up proactively or to respond to operational events reactively. https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html
upvoted 1 times
...
xav1er
2 years, 11 months ago
Selected Answer: A
The key words are" - "every other day" = we have app consuming data from stream with 24h pauses (!!) - "kinesis streams with default parameters" - retention of data in stream is 24h so app running in every other day is missing part of data from stream. we need to rise retention perions. hence ANSWER A
upvoted 5 times
...
albert_kuo
3 years, 2 months ago
Selected Answer: A
Amazon Kinesis Data Streams supports changes to the data record retention period of your data stream. A Kinesis data stream stores records from 24 hours by default, up to 8760 hours (365 days). https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html
upvoted 1 times
...
Mayur111
3 years, 3 months ago
The default retention period for an AWS Kinesis stream is 24 hours. To ensure that your consumers are able to read stream data before it expires if any problems occur, you can extend your data retention period up to 168 hours (7 days).
upvoted 1 times
...
osel
3 years, 4 months ago
Selected Answer: A
The Question states "S3 in not getting all the data sent to KDS" which means that the issue should not be data inbound to the KDS but rather the EC2 consumers could have somehow miss some data for its processing prior sending the output to S3. As such, only increasing the data retention period for KDS allows more time for the EC2 consumers to poll the outstanding data which is missed out earlier.
upvoted 2 times
...
SolutionsArchitect
3 years, 5 months ago
Selected Answer: A
Increase the retention period as the application is consuming the data every other day i.e. after 2 days and the stream only has the last 24 hours of data (default retention setting) So the answer is A
upvoted 3 times
...
BlassArun
3 years, 5 months ago
Ans is C ( shard has a sequence of data records in a stream)
upvoted 2 times
...
Shiner
3 years, 5 months ago
I picked A. The default retention period is 24hrs for Kinesis. Therefore, if the application is only ingesting and pushing data every 2 days, it's only getting 1 day of data and effectively loosing the previous day's data. Question also specifically mentions default configuration.
upvoted 1 times
...
fadhilmukh
3 years, 6 months ago
Selected Answer: A
correct answer is A, edit default setting
upvoted 1 times
...
Jamati
3 years, 7 months ago
A As patriktre stated, default retention period for Kinesis Data Streams is 24hrs yet this applications consumes this data every other day.
upvoted 3 times
...
quangquydw
3 years, 8 months ago
Why not C???
upvoted 5 times
Davidrjallen
3 years, 8 months ago
Default retention for kinesis data streams is 24hrs. Question states ingest is every other day. So increasing retention is fix
upvoted 11 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 ...