Medium1 markMultiple Choice
Domain 2.1: Scalable ArchitecturesResilienceServerlessS3Lambda

AWS SAA-C03 · Question 52 · Domain 2.1: Scalable Architectures

A company has a web application hosted on Amazon EC2 instances. The application allows users to upload PDF documents. The company wants to extract text and data from these PDFs automatically as soon as they are uploaded. <br/><br/>Which architecture provides the MOST decoupled and scalable solution?

Answer options:

A.

Upload PDFs to the EC2 instances. Have a cron job run every minute to process the files using Amazon Textract.

B.

Upload PDFs to Amazon S3. Configure S3 Event Notifications to trigger an AWS Lambda function that calls Amazon Textract.

C.

Upload PDFs to Amazon RDS. Use database triggers to invoke an AWS Lambda function.

D.

Upload PDFs to Amazon EFS. Have the EC2 instances poll the file system for new files.

How to approach this question

Look for the event-driven pattern: S3 -> Event -> Lambda.

Full Answer

B.Upload PDFs to Amazon S3. Configure S3 Event Notifications to trigger an AWS Lambda function that calls Amazon Textract.✓ Correct
Upload PDFs to Amazon S3. Configure S3 Event Notifications to trigger an AWS Lambda function that calls Amazon Textract.
Using Amazon S3 Event Notifications to trigger AWS Lambda is a core AWS serverless pattern. It provides immediate processing, scales automatically, and completely decouples the storage layer from the compute layer.

Common mistakes

Choosing EC2 cron jobs, which are legacy patterns.

Practice the full AWS SAA-C03 Practice Exam 4

65 questions · hints · full answers · grading

More questions from this exam