exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 61 discussion

A company is building a web application on AWS. When a customer sends a request, the application will generate reports and then make the reports available to the customer within one hour. Reports should be accessible to the customer for 8 hours. Some reports are larger than 1 MB. Each report is unique to the customer. The application should delete all reports that are older than 2 days.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Generate the reports and then store the reports as Amazon DynamoDB items that have a specified TTL. Generate a URL that retrieves the reports from DynamoDB. Provide the URL to customers through the web application.
  • B. Generate the reports and then store the reports in an Amazon S3 bucket that uses server-side encryption. Attach the reports to an Amazon Simple Notification Service (Amazon SNS) message. Subscribe the customer to email notifications from Amazon SNS.
  • C. Generate the reports and then store the reports in an Amazon S3 bucket that uses server-side encryption. Generate a presigned URL that contains an expiration date Provide the URL to customers through the web application. Add S3 Lifecycle configuration rules to the S3 bucket to delete old reports.
  • D. Generate the reports and then store the reports in an Amazon RDS database with a date stamp. Generate an URL that retrieves the reports from the RDS database. Provide the URL to customers through the web application. Schedule an hourly AWS Lambda function to delete database records that have expired date stamps.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
gpt_test
Highly Voted 1 year, 7 months ago
Selected Answer: C
Explanation: Storing the reports in an Amazon S3 bucket provides a cost-effective and scalable solution for handling files larger than 1 MB. Server-side encryption ensures data security. Generating a presigned URL with an expiration date allows the customer to access the report for 8 hours, and S3 Lifecycle configuration rules automatically delete the reports older than 2 days, reducing operational overhead.
upvoted 15 times
...
March2023
Highly Voted 1 year, 7 months ago
Selected Answer: C
Presigned URL
upvoted 8 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: C
S3 Lifecycle rules can automatically delete objects after 2 days, reducing operational overhead by eliminating the need for custom cleanup logic A) Eliminated - DynamoDB is not designed to store large objects (e.g., reports larger than 1 MB). D) Eliminated - Storing large reports in a relational database like RDS is inefficient and costly compared to S3.
upvoted 1 times
sumanshu
4 months, 1 week ago
B) Eliminated - Attaching reports to SNS messages is impractical because SNS is not designed for large file attachments.
upvoted 1 times
...
...
65703c1
5 months, 2 weeks ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
KarBiswa
10 months, 3 weeks ago
Selected Answer: C
The 1MB condition denies the TTL option so C is best
upvoted 2 times
...
LR2023
11 months ago
C presigned and lifecycle rules to move
upvoted 1 times
...
ninomfr64
1 year, 2 months ago
A) DynamoDB cannot store object larger than 400K B) SNS cannot send email with attachment - https://repost.aws/questions/QUOvaKJVb3QzOqVENONBZUag/sns-send-file-attachment D) the nature or format of the report is not specified, however RDS doent look like a great place to store large document file. Also generating a url to the reports from the RDS database requires some work while it is a native capabilities in S3 C) is a workable solution as S3 is designed to store file objects, it allows to easily generate pre-signed url, and provide lifecycle management rule that allows to expire objects
upvoted 6 times
...
imvb88
1 year, 5 months ago
Selected Answer: C
Dynamo DB cannot store object > 400KB -> option A is out immediately. Limited access to S3 calls for presigned URL which is option C. C also has lifecycle config to delete old object while B does not have that. D is possible but too much effort compared to design pattern in C.
upvoted 5 times
...
Untamables
1 year, 7 months ago
Selected Answer: C
C https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-presigned-url.html https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html
upvoted 5 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