SnowPro Core Certification — Question 1131

How can a relational table be unloaded into a JSON file?

Answer options

Correct answer: A

Explanation

The correct answer is A because using the OBJECT_CONSTRUCT function with the COPY INTO command allows for proper formatting of the data into JSON structure. Option B is incorrect as it suggests just setting the file_format, which does not utilize the necessary function to structure the data correctly. Options C and D are also incorrect because they refer to commands that are not meant for unloading data from a relational table.