Preserving File Metadata in Azure Data Lake Storage Gen2, Azure Blob, and Azure File Storage

Which Datastore Built-In System Properties Can Be Preserved?

Question

For the migration of data from one to another data lake by involving Azure Data Lake Storage Gen2, Azure Blob, and Azure File Storage, you have the option to preserve the file metadata along with data.

Which of the following datastore built-in system properties can be preserved by the copy activity during data copy?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F.

Correct Answer: F

The below-given attributes can be preserved by the Copy activity during Data Copy:

Option A is incorrect.

Not only contentType, all the given datastore built-in system properties are preserved by Copy activity.

Option B is incorrect.

Not only contentLanguage, all the given datastore built-in system properties are preserved by Copy activity.

Option C is incorrect.

Not only contentEncoding, all the given datastore built-in system properties are preserved by Copy activity.

Option D is incorrect.

Not only contentDisposition, all the given datastore built-in system properties are preserved by Copy activity.

Option E is incorrect.

Not only cacheControl, all the given datastore built-in system properties are preserved by Copy activity.

Option F is correct.

All the given datastore built-in system properties i.e contentLanguage (except for Amazon S3), contentType, contentEncoding,cacheControl and contentDisposition are preserved by Copy activity.

Reference:

To know more about copy activity in ADF, please visit the below given link:

When migrating data from one data store to another in Azure, it is often necessary to preserve the metadata of the files along with the data. Metadata refers to the data about the data, such as file properties, tags, and other attributes that describe the file itself.

In the context of Azure Data Factory, the copy activity can be used to transfer data from one data store to another. The copy activity supports the preservation of metadata during the transfer process. Specifically, it can preserve the following built-in system properties:

A. contentType: This property specifies the MIME type of the content of a file. For example, a JPEG image file might have a content type of "image/jpeg".

B. contentLanguage: This property specifies the natural language that the content of a file is written in. For example, a text file in Spanish might have a content language of "es".

C. contentEncoding: This property specifies the encoding used to represent the content of a file. For example, a text file might be encoded in UTF-8 or UTF-16.

D. contentDisposition: This property specifies how the content of a file should be displayed or downloaded by a browser or other client application. For example, a PDF file might have a content disposition of "inline" to display it in the browser, or "attachment" to prompt the user to download it.

E. cacheControl: This property specifies the caching behavior of the content of a file. For example, a web page might have a cache control of "max-age=3600" to indicate that it can be cached by a browser for up to one hour.

Therefore, the correct answer is F. All the above. The copy activity can preserve all of these built-in system properties during data transfer between data stores in Azure Data Factory.