AWS Certified Solutions Architect - Professional / Question #694 of 529

Question #694

A company is migrating a media processing application to AWS. The application generates video files at a rate of 10 files per second and requires low-latency local access for real-time editing. The legacy application runs on Linux and cannot be immediately updated to use the Amazon S3 API. Once processing is complete, the files must be publicly accessible via Amazon S3 within 20 minutes.

Which solution meets these requirements with the LEAST operational overhead?

A

Re-architect the application to run on AWS Lambda. Use the AWS SDK for Python to process and store files directly in Amazon S3, leveraging temporary storage for real-time edits.

B

Deploy an Amazon S3 File Gateway and create a file share linked to an S3 bucket. Mount the file share on an Amazon EC2 instance using NFS. Use the RefreshCache API to ensure updates in S3 are propagated to the gateway promptly.

C

Configure Amazon FSx for Lustre with a linked S3 bucket. Mount the Lustre file system on an Amazon EC2 instance using the Lustre client. Use a data repository task to synchronize files between FSx and S3 every 15 minutes.

D

Use AWS DataSync to continuously synchronize files between the EC2 instance's local storage and Amazon S3. Schedule DataSync tasks to run every 10 minutes to ensure timely availability.

Explanation

Option B is correct because:
1. Low-Latency Access: S3 File Gateway provides a file share (NFS) mounted on EC2, enabling the legacy application to read/write files locally without S3 API changes.
2. S3 Integration: Files are automatically stored in S3, meeting the requirement for public accessibility.
3. Timely Updates: The RefreshCache API ensures updates from the gateway propagate to S3 promptly, satisfying the 20-minute SLA.

Other options fail because:
- A: Requires re-architecting the app to use S3 API, which is not feasible.
- C: FSx for Lustre adds complexity (data repository tasks) and higher operational overhead.
- D: DataSync requires scheduled tasks and local storage management, increasing operational effort.

Key Points: Use S3 File Gateway for legacy apps needing file-to-object storage integration with low latency and minimal changes. RefreshCache ensures S3 visibility.

Answer

The correct answer is: B