SAA-C03 practice question 29 of 35

A company has a business system that generates hundreds of reports each day. The business system saves the reports to a network share in CSV format. The company needs to store this data in the AWS Cloud in near-real time for analysis.

Full set: 972 questions

Domain Design High-Performing Architectures

Answer options
A: Use AWS DataSync to transfer the files to Amazon S3. Create a scheduled task that runs at the end of each day.
B: Create an Amazon S3 File Gateway. Update the business system to use a new network share from the S3 File Gateway. Correct answer
C: Use AWS DataSync to transfer the files to Amazon S3. Create an application that uses the DataSync API in the automation workflow.
D: Deploy an AWS Transfer for SFTP endpoint. Create a script that checks for new files on the network share and uploads the new files by using SFTP.
Correct Answer:
B. Create an Amazon S3 File Gateway. Update the business system to use a new network share from the S3 File Gateway.
Explanation

Amazon S3 File Gateway is the ideal solution for this scenario. It provides a standard network file share (SMB or NFS) on-premises that can be used as a drop-in replacement for the existing network share. The business system can write reports to this gateway share with no application changes. The gateway then caches the data locally for low-latency access and asynchronously uploads the files as objects to Amazon S3 in near-real time. This architecture is simple, requires minimal operational overhead, and directly meets the requirement to get file-based data into S3 quickly for analysis.

Why Incorrect

A. A scheduled task running at the end of the day is a batch process and does not meet the "near-real time" requirement.
C. Using the DataSync API to build a custom automation workflow is unnecessarily complex when a purpose-built gateway solution exists.
D. This option requires developing and maintaining a custom polling script, which adds operational overhead and potential points of failure.

References

1. AWS Storage Gateway User Guide, "What is Amazon S3 File Gateway?": "Amazon S3 File Gateway presents a file interface that enables you to store and retrieve objects in Amazon S3 using standard file protocols, such as Network File System (NFS) and Server Message Block (SMB)... The gateway provides a virtual on-premises file share... Data written to these file shares is stored in your Amazon S3 bucket." This document confirms that S3 File Gateway provides a standard network share interface for applications.

2. AWS Storage Gateway FAQs, "Q: When should I use S3 File Gateway?": "You should use S3 File Gateway when you want to store and retrieve files as objects in S3, and access them using standard file protocols (SMB or NFS). S3 File Gateway simplifies on-premises integration with S3 for file-based workloads..." This directly aligns with the question's use case of an on-premises system generating files for cloud storage.

3. AWS Storage Gateway User Guide, "How Amazon S3 File Gateway works": "Your applications read and write files and folders over NFS or SMB, and the gateway translates these file operations into object requests on your S3 buckets. The gateway asynchronously uploads changed data to AWS and caches recently read data." This section explicitly details the asynchronous, near-real-time upload mechanism.

4. AWS DataSync User Guide, "What is AWS DataSync?": "AWS DataSync is an online data transfer service that simplifies, automates, and accelerates moving data... You can use DataSync for one-time data migrations, recurring data processing workflows..." This shows DataSync is better suited for scheduled, large-scale transfers rather than continuous, near-real-time application integration, making options A and C less optimal.

Scroll to Top