Q84 — AWS SAA-C03 Ch.10

Question 84 of 100 | ← Chapter 10

Q684. A company wants to migrate an on-premises legacy application to AWS.The application ingests customer order files from an on-premises enterprise resource planning (ERP) system.The application then uploads the files to an SFTP server. The application uses a scheduled job that checks for order files every hour. The company already has an AWS account that has connectivity to the on-premises network. The new application on AWS must support integration with the existing ERP system. The new application must be secure and resilient and must use the SFTP protocol to process orders from the ERP system immediately.Which solution will meet these requirements?

Correct Answer: D. Create an AWS Transfer Family SFTP internal server in two Availability Zones. Use Amazon S3 storage. Create an AWS Lambda function to process order files. Use a Transfer Family managed workflow to invoke the Lambda function

Explanation

To meet the requirements of migrating an on-premises legacy application to AWS, supporting integration with an existing ERP system, ensuring security and resilience, and using the SFTP protocol to process orders immediately, the most suitable solution is: D. Create an AWS Transfer Family SFTP internal server in two Availability Zones. Use Amazon S3 storage. Create an AWS Lambda function to process order files. Use a Transfer Family managed workflow to invoke the Lambda function. Option D suggests using AWS Transfer Family to create an internal SFTP server in two Availability Zones. This allows for secure file transfer using the SFTP protocol. By using Amazon S3 storage, the company can benefit from its scalability, durability, and cost-effectiveness. The order files uploaded to the SFTP server can be stored in S3 for further processing. An AWS Lambda function can be created to process the order files once they are uploaded to S3. The Lambda function can perform any necessary data transformation, integration with the ERP system, or other business logic required. Using a Transfer Family managed workflow, the Lambda function can be invoked automatically whenever new order files are uploaded to the SFTP server. This ensures immediate processing of orders from the ERP system. Option A suggests using S3 Event Notifications to trigger the Lambda function. While this option uses S3 storage and Lambda function, it does not address the requirement of using an internal SFTP server and ensuring resilience. Option B suggests using Amazon EFS storage with an SFTP server created using AWS Transfer Family. While EFS provides shared file storage, it may not be the most suitable choice for this scenario, as it introduces additional complexity and may not offer the same scalability and cost-effectiveness as using S3. Option C suggests using an internal SFTP server, Amazon EFS storage, AWS Step Functions, and Amazon EventBridge Scheduler. While this option provides resilience and uses EFS as shared storage, it adds unnecessary complexity with Step Functions and EventBridge Scheduler. It is not the most straightforward solution for this scenario. In summary, option D, creating an AWS Transfer Family SFTP internal server in two Availability Zones, using Amazon S3 storage, and invoking an AWS Lambda function with a Transfer Family managed workflow, provides a secure, resilient, and efficient solution for migrating the legacy application to AWS while integrating with the existing ERP system and using the SFTP protocol.