Q42 — AWS SAA-C03 Ch.13
Question 42 of 100 | ← Chapter 13
Q942. A company runs an on-premises managed file transfer solution to collect images from its clients.The company uses an open source transfer tool to transfer and integrate the images into the company's workflow. The company then runs a custom application to add watermarks to the images. The company needs to migrate this workload to AWS and wants to use AWS managed services where possible. Uploaded images must be stored as objects.The company wants to automate the watermark addition.Which solution will meet these requirements?
- A. Use AWS DataSync to automate file transfers. Store the images in an Amazon S3 bucket. Use an application that runs on Amazon EC2 instances to add watermarks.
- B. Use REST APls to transfer files.Store the images in an Amazon S3 bucket. Use AWS Batch jobs to add watermarks.
- C. Use SFTP with AWS Transfer Family to automate file transfers into Amazon S3 buckets. Configure the Transfer Family workflow to invoke an AWS Lambda function to add watermarks. ✓
- D. Use AWS Transfer Family to transfer images. Store the images in Amazon S3 Glacier Deep Archive.Run an AWS Step Functions state machine to add watermarks.
Correct Answer: C. Use SFTP with AWS Transfer Family to automate file transfers into Amazon S3 buckets. Configure the Transfer Family workflow to invoke an AWS Lambda function to add watermarks.
Explanation
The solution that meets the requirements is:C. Use SFTP with AWS Transfer Family to automate file transfers into Amazon S3 buckets. Configure the Transfer Family workflow to invoke an AWS Lambda function to add watermarks.Here's why:Automated File Transfers: AWS Transfer Family provides a managed SFTP service, automating file transfers from clients to Amazon S3 buckets.S3 Object Storage: Amazon S3 is the ideal storage service for images, offering scalability, durability, and cost-effectiveness.Lambda Function for Watermarking: AWS Lambda functions are serverless and event-driven, making them perfect for automating tasks like watermarking. Transfer Family can trigger a Lambda function after each successful file transfer.Managed Services: This solution leverages managed AWS services, minimizing operational overhead and complexity.Why other options are less suitable:A. Use AWS DataSync to automate file transfers. Store the images in an Amazon S3 bucket. Use an application that runs on Amazon EC2 instances to add watermarks. While DataSync can automate file transfers, it's primarily designed for bulk data transfers, not individual file uploads. Running a custom application on EC2 instances introduces operational overhead and management complexity.B. Use REST APIs to transfer files. Store the images in an Amazon S3 bucket. Use AWS Batch jobs to add watermarks. REST APIs require custom development and integration, adding complexity to the solution. AWS Batch is suitable for large-scale batch processing, but it's not the most efficient approach for individual file watermarking.D. Use AWS Transfer Family to transfer images. Store the images in Amazon S3 Glacier Deep Archive. Run an AWS Step Functions state machine to add watermarks. Storing images in Glacier Deep Archive is not suitable for frequent access or processing. Step Functions are excellent for orchestrating workflows, but they're not the most efficient for simple tasks like watermarking.In summary:Option C provides the most streamlined and cost-effective solution for migrating the file transfer and watermarking workload to AWS. It leverages managed services, automates file transfers, and uses Lambda functions for efficient watermarking.