Migrating file data to S3 while keeping SMB access via Storage Gateway

Answer Correct answer: D — Deploy a Storage Gateway file gateway on premises with an SMB file share stored in the S3 bucket, so the app keeps SMB access while data resides in S3.

A company is planning to migrate an application from on premises to the AWS Cloud. The company will begin the migration by moving the application’s underlying data storage to AWS. The application data is stored on a shared file system on premises, and the application servers connect to the shared file system through SMB. A solutions architect must implement a solution that uses an Amazon S3 bucket for shared storage. Until the application is fully migrated and code is rewritten to use native Amazon S3 APIs, the application must continue to have access to the data through SMB. The solutions architect must migrate the application data to AWS to its new location while still allowing the on-premises application to access the data. Which solution will meet these requirements?

  1. Create a new Amazon FSx for Windows File Server file system. Configure AWS DataSync with one location for the on-premises file share and one location for the new Amazon FSx file system. Create a new DataSync task to copy the data from the on-premises file share location to the Amazon FSx file system.
  2. Create an S3 bucket for the application. Copy the data from the on-premises storage to the S3 bucket.
  3. Deploy an AWS Server Migration Service (AWS SMS) VM to the on-premises environment. Use AWS SMS to migrate the file storage server from on premises to an Amazon EC2 instance.
  4. Create an S3 bucket for the application. Deploy a new AWS Storage Gateway file gateway on an on-premises VM. Create a new file share that stores data in the S3 bucket and is associated with the file gateway. Copy the data from the on-premises storage to the new file gateway endpoint. Correct Answer

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

A Storage Gateway file gateway bridges SMB/NFS on premises to an S3-backed file share, so the application retains SMB access during the transition while the data actually resides in S3.

An on-prem app using SMB must move its shared data to S3 but keep SMB access until code is rewritten. A Storage Gateway file gateway deployed on-prem presents an SMB file share backed by S3, letting the existing app keep SMB access while the data lands in the S3 bucket.

Choosing FSx for Windows (Option A) stores data in FSx rather than the required S3 bucket, and AWS SMS (Option C) migrates servers rather than providing a continued SMB-to-S3 bridge.

Community Discussion (10 comments)

AzureDP900 👍 2
Option D meets all the requirements: • Create an S3 bucket for the application: This provides a shared storage location for the application's data. • Deploy a new AWS Storage Gateway file gateway on an on-premises VM: The file gateway is used to enable SMB access to the S3 bucket, allowing the on-premises application to continue accessing the data through SMB. • Create a new file share that stores data in the S3 bucket and is associated with the file gateway: This creates a bridge between the on-premises file system and the S3 bucket, allowing data to be copied from one location to another. • Copy the data from the on-premises storage to the new file gateway endpoint: This ensures that all application data is migrated to the new shared storage location.
[Removed] 👍 3
Option A For me it's quite clear: "The solutions architect must migrate the application data to AWS to its new location WHILE STILL ALLOWING the on-premises application to access the data."
TonytheTiger 👍 3 Selected: D
Option D : AWS Architecture Blog https://aws.amazon.com/blogs/architecture/connect-amazon-s3-file-gateway-using-aws-privatelink-for-amazon-s3/
career360guru 👍 2 Selected: D
Option D.
GeorgeRemus 👍 3 Selected: D
Correct Answer is D
TheCloudGuruu 👍 4 Selected: D
the application must continue to have access to the data through SMB = Storage Gateway
HunkyBunky 👍 3 Selected: D
I guess that proper answer is - D We need to implement solition that uses Amazon S3 bucket for shared storage, but during migration phase - data should be avliable throught SMB. Only D option fits in this requirements
kejam 👍 4 Selected: D
https://aws.amazon.com/storagegateway/file/
master9 👍 1 Selected: B
S3 bucket
alexis123456 👍 3
Correct Answer is D

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Option D creates the S3 bucket as the ultimate store and deploys a Storage Gateway file gateway on an on-prem VM with an SMB file share that stores data in that bucket. The existing application keeps S3-compatible SMB access through the gateway while the underlying data is already in S3, exactly meeting the transitional requirement.

Why the Other Options Are Wrong

Option A uses FSx for Windows, which stores data in FSx rather than the mandated S3 bucket. Option B copies data to S3 but provides no SMB access for the still-on-prem application. Option C (AWS SMS) migrates a file server to EC2 and does not maintain the SMB-to-S3 bridge during the transition.

Community Comment Notes

The community vote is overwhelmingly D (95). TonytheTiger links the AWS Architecture Blog on connecting S3 via File Gateway. A removed comment argued for A, but A does not place data in the required S3 bucket during the transition.

Official Reference

Related Analysis

Practice All SAP-C02 Questions

Access 85 questions with complete answers and detailed explanations.

View Full SAP-C02 Practice Test →

← Back to SAP-C02 Study Guide