exam questions

Exam AWS Certified Database - Specialty All Questions

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

Exam AWS Certified Database - Specialty topic 1 question 152 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 152
Topic #: 1
[All AWS Certified Database - Specialty Questions]

A large automobile company is migrating the database of a critical financial application to Amazon DynamoDB. The company's risk and compliance policy requires that every change in the database be recorded as a log entry for audits. The system is anticipating more than 500,000 log entries each minute. Log entries should be stored in batches of at least 100,000 records in each file in Apache Parquet format.
How should a database specialist implement these requirements with DynamoDB?

  • A. Enable Amazon DynamoDB Streams on the table. Create an AWS Lambda function triggered by the stream. Write the log entries to an Amazon S3 object.
  • B. Create a backup plan in AWS Backup to back up the DynamoDB table once a day. Create an AWS Lambda function that restores the backup in another table and compares both tables for changes. Generate the log entries and write them to an Amazon S3 object.
  • C. Enable AWS CloudTrail logs on the table. Create an AWS Lambda function that reads the log files once an hour and filters DynamoDB API actions. Write the filtered log files to Amazon S3.
  • D. Enable Amazon DynamoDB Streams on the table. Create an AWS Lambda function triggered by the stream. Write the log entries to an Amazon Kinesis Data Firehose delivery stream with buffering and Amazon S3 as the destination.
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
tugboat
Highly Voted 3 years, 3 months ago
Selected Answer: D
https://aws.amazon.com/blogs/big-data/streaming-amazon-dynamodb-data-into-a-centralized-data-lake/ - Kinesis Data Firehose – Kinesis Data Firehose helps to reliably load streaming data into data lakes, data stores, and analytics services. It can capture, transform, and deliver streaming data to Amazon S3 and other destinations. It’s a fully managed service that automatically scales to match the throughput of your data and requires no ongoing administration. It can also batch, compress, transform, and encrypt your data streams before loading, which minimizes the amount of storage used and increases security.
upvoted 7 times
...
Germaneli
Most Recent 1 year, 8 months ago
Selected Answer: D
B+C are distractors ("once an hour", "once a day" for 500000 entries *per minute* cannot work). A is difficult to achieve since a Lambda function is limited to 15 mins and there is no buffering. D provides this.
upvoted 1 times
...
tsk9921
2 years, 1 month ago
D makes sense to me.
upvoted 1 times
...
khun
2 years, 5 months ago
D make sense.
upvoted 1 times
...
novice_expert
3 years, 1 month ago
Selected Answer: D
DynamoDB Streams -> Lambda function ->log entries Kinesis Data Firehose delivery stream with buffering -> S3
upvoted 1 times
...
CloudGuru99
3 years, 4 months ago
Should be A as per https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.Lambda.html
upvoted 1 times
user0001
3 years, 3 months ago
with A you cant batch them as per the requirements ,with D you can
upvoted 3 times
sachin
2 years, 11 months ago
You can write lambda to start writing to new S3 object ( file ) after it has writter 10000 records to it. Option A is more reasonable .
upvoted 2 times
...
...
...
Dantehilary
3 years, 6 months ago
DDDDDDDD
upvoted 4 times
...
jove
3 years, 6 months ago
Option D
upvoted 2 times
...
GMartinelli
3 years, 6 months ago
Selected Answer: D
Option D
upvoted 3 times
...
leunamE
3 years, 6 months ago
Option D.
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 ...