“DataSync, Storage Gateway, and Transfer Family all look like services that send files to S3. I can’t tell them apart.”
“I thought checking that the data matches after a migration was something you do yourself.”
AWS Certified Cloud Practitioner (exam code CLF-C02, CLF below) often asks about data migration and transfer services, where you must read from the question what is being moved and how. Requirement words such as “retire the NAS,” “encryption,” and “verify that the data matches” are your cues for choosing.
This article is Question 15 of a series that explains CLF practice questions one at a time. The author wrote the questions to match the scope of the exam; they are not actual exam questions. Choose your answer first, then read the explanation.
Question
A research institution plans to migrate several hundred TB of research data stored on an on-premises NAS to Amazon S3 over an AWS Direct Connect connection, and to retire the NAS once the migration is finished. The data must be encrypted in transit, and after the transfer the institution must verify that the data at the destination matches the data at the source. It wants to avoid writing its own scripts for this verification. Which AWS service best meets these requirements?
- A. AWS Database Migration Service (AWS DMS)
- B. AWS Storage Gateway (S3 File Gateway)
- C. AWS DataSync
- D. AWS Transfer Family
Once you have chosen your answer, open the section below.
Show the answer (click to open)
Answer: C
AWS DataSync is a transfer service that moves files from a NAS and similar sources to AWS storage, and it handles encryption in transit and verification that the destination matches the source. The deciding points are that the NAS will be retired after the migration and that the institution does not want to write verification scripts.
The answer is C
The correct answer is C, AWS DataSync.
- It moves files from a NAS and similar sources to AWS storage
- It encrypts data in transit and, with every transfer, checks that the destination matches the source
The deciding words are “retire the NAS once the migration is finished” and “avoid writing our own verification scripts.” Let’s look at the options one at a time.
Explanation of each option
A: DMS migrates databases (incorrect)

AWS DMS is a service that migrates databases. As shown in the top of the diagram, it moves an on-premises database to Amazon RDS, Aurora, and similar targets.
What the institution wants to move is the files stored on the NAS. DMS does not handle files on a NAS.
B: A gateway is for continuing to use storage (incorrect)

S3 File Gateway is a mechanism that lets on-premises applications keep using Amazon S3 over NFS or SMB. As shown in the diagram, you place the gateway on premises, and frequently used data is cached locally.
This is a hybrid setup in which the gateway stays on premises. It does not fit this plan, which retires the NAS once the migration is finished.
C: DataSync migrates and verifies (correct)

AWS DataSync is a service that transfers data from NFS or SMB file servers and NAS devices to Amazon S3, Amazon EFS, and Amazon FSx. As shown in the diagram, you place a DataSync agent on premises. You can also use a Direct Connect connection.
- Communication between the agent and AWS is encrypted with TLS
- With every transfer, it checks that the data written matches the data read
- You can run tasks repeatedly on a schedule
You do not need to write verification scripts.
D: Transfer Family is a front door for SFTP (incorrect)

AWS Transfer Family is a service that provides a front door for exchanging files over SFTP, FTPS, and FTP, in front of Amazon S3 or Amazon EFS. As shown in the diagram, you use it to exchange files with partners and others.
It is not meant for migrating large amounts of NAS data and verifying them.
Choosing among the four services
Here is a table that sorts out the four services in this question. Tell them apart by what you want to move and how.
| Service | What it does | Cue words in the question |
|---|---|---|
| AWS DataSync | Migrates files online from NAS, NFS, and SMB to S3, EFS, and FSx | Migration, encryption / integrity verification, schedule |
| Storage Gateway | Lets on-premises systems keep using AWS storage (cache) | Hybrid, keep using |
| Transfer Family | Provides a front door for SFTP, FTPS, and FTP | Exchanging files with partners |
| AWS DMS | Migrates databases | Database |
Key points
- Migrate NAS files online, with encryption and verification
→ AWS DataSync
- Keep using it from on premises = Storage Gateway
A front door for SFTP = Transfer Family
- Database migration = AWS DMS
The course articles explain the types and uses of Storage Gateway, and ways to move data online such as DataSync (covered as reference material).
- Lecture 5, Part 5: File and hybrid storage
- Lecture 12, Part 8: The Snow Family and the example company’s migration
You can read all 14 lectures of AWS Cloud Practitioner Exam Prep in order from its series page.
The CLF-C02 Practice Questions series (100 questions)
All 100 questions with a reading guide: CLF-C02 Practice Questions
In this group (Questions 7–18: Well-Architected, AWS CAF, and migration):
- Question 7: The six pillars of Well-Architected (reliability and performance efficiency)
- Question 8: Design principles of the reliability pillar (automatic recovery and horizontal scaling)
- Question 9: Design principles of the sustainability pillar (maximizing utilization and managed services)
- Question 10: Phases of the AWS CAF transformation journey (Envision, Align, Launch, Scale)
- Question 11: AWS CAF perspectives (configuration and patch management belong to Operations)
- Question 12: A business case for migration (Migration Evaluator)
- Question 13: AWS CAF perspectives (role and organizational change belong to People)
- Question 14: Moving servers to EC2 as they are (AWS Transform MGN)
- Question 15: Migrating files (AWS DataSync) (this article)
- Question 16: The 7 Rs of migration (repurchase: switching to SaaS)
- Question 17: Rightsizing (CPU to spare, memory running short)
- Question 18: Shared responsibility model (AWS Lambda and Amazon RDS)
This series is the English edition of 【CLF-C02 試験対策問題】, originally written in Japanese.


コメント