Hard1 markMultiple Choice
Domain 4.4: Modernization RequirementsModernizationServerlessFargateTransfer Family

AWS SAP-C02 · Question 16 · Domain 4.4: Modernization Requirements

A company wants to modernize a legacy batch processing system. The current system runs on a single on-premises server, processing files uploaded via SFTP. Processing a file takes between 5 and 10 minutes. The company wants a serverless architecture on AWS that scales automatically and minimizes operational overhead. Which architecture should the architect recommend?

Answer options:

A.

Use AWS Transfer Family for SFTP to upload files to Amazon S3. Configure S3 Event Notifications to trigger an AWS Lambda function to process the file.

B.

Deploy an EC2 instance running an SFTP server. Use a cron job to trigger a shell script that processes the files.

C.

Use AWS Transfer Family for SFTP to upload files to Amazon S3. Configure S3 Event Notifications to trigger an AWS Step Functions state machine that runs an AWS Fargate task to process the file.

D.

Use Amazon API Gateway to receive files and forward them to Amazon SQS. Use EC2 Auto Scaling to process the queue.

How to approach this question

Match the requirements (SFTP, serverless, >5 min processing) to AWS services.

Full Answer

C.Use AWS Transfer Family for SFTP to upload files to Amazon S3. Configure S3 Event Notifications to trigger an AWS Step Functions state machine that runs an AWS Fargate task to process the file.✓ Correct
Use AWS Transfer Family for SFTP to upload files to Amazon S3. Configure S3 Event Notifications to trigger an AWS Step Functions state machine that runs an AWS Fargate task to process the file.
AWS Transfer Family provides managed SFTP. Because the processing takes up to 10 minutes, AWS Fargate (serverless containers) is safer than Lambda to avoid timeout issues. Step Functions provides orchestration.

Common mistakes

Choosing Lambda, ignoring the risk of hitting the 15-minute timeout if processing slightly exceeds 10 minutes.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 7

75 questions · hints · full answers · grading

More questions from this exam