[CLF-C02 Practice Questions Q15] Migrating Files (AWS DataSync)

CLF-C02 Practice Questions Q15 Migrating Files (AWS DataSync) Certification

“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)

The top orange frame, "Migrating a database": an on-premises DB goes through AWS DMS to Amazon RDS, Aurora, etc., with a green check mark. The bottom red frame: a dashed arrow from files on a NAS to DMS is marked with an X. DMS handles databases; not for migrating files from a NAS

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)

On-premises, an app connects over NFS / SMB to an on-premises S3 File Gateway (with a cache), and the gateway stores data in Amazon S3 on AWS. The bottom left green frame: on-premises apps keep using S3 (hybrid). The bottom right red frame: the gateway stays on premises, so it does not fit retiring the NAS

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)

On the left, on premises, a NAS with hundreds of TB (NFS / SMB) connects to a DataSync agent. Over a Direct Connect connection, encrypted with TLS, the data reaches AWS DataSync on AWS and then Amazon S3 (also to EFS and FSx). The three frames at the bottom: encrypted in transit with TLS; automatically verifies that written data matches the data read; runs tasks on a schedule

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)

On the left, partners and others who send and receive files. A two-way arrow labeled SFTP, FTPS, FTP leads to AWS Transfer Family, a front door for file exchange on AWS, with an arrow to Amazon S3 and Amazon EFS. The bottom left green frame: used to exchange files with partners and others. The bottom right red frame: not for migrating and verifying large amounts of NAS data

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.

ServiceWhat it doesCue words in the question
AWS DataSyncMigrates files online from NAS, NFS, and SMB to S3, EFS, and FSxMigration, encryption / integrity verification, schedule
Storage GatewayLets on-premises systems keep using AWS storage (cache)Hybrid, keep using
Transfer FamilyProvides a front door for SFTP, FTPS, and FTPExchanging files with partners
AWS DMSMigrates databasesDatabase

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):

This series is the English edition of 【CLF-C02 試験対策問題】, originally written in Japanese.

コメント

Copied title and URL