Valid DSA-C03 Dumps shared by EduDump.com for Helping Passing DSA-C03 Exam! EduDump.com now offer the newest DSA-C03 exam dumps, the EduDump.com DSA-C03 exam questions have been updated and answers have been corrected get the newest EduDump.com DSA-C03 dumps with Test Engine here:
You're deploying a pre-built image classification model hosted on a REST API endpoint, and you need to integrate it with Snowflake to classify images stored in cloud storage accessible via an external stage named 'IMAGE STAGE. The API expects image data as a base64 encoded string in the request body. Which SQL query snippet demonstrates the correct approach for calling the external function 'CLASSIFY IMAGE and incorporating the base64 encoding?
Correct Answer: C
Option C is correct. It uses 'SYSTEM$GET FILE(@IMAGE STAGE/image.jpg', to retrieve the image file as a binary object and then to encode it as a base64 string before passing it to the 'CLASSIFY_IMAGE external function. Option A is incorrect as it attempts to directly use a file format which is not relevant for sending the image content. Option B is incorrect because the image needs to be base64 encoded first. Option D is incorrect as it converts binary to JSON, which is not the required format. Option E is incorrect because BLOB TO BASE64' doesn't exists in Snowflake. TO BASE64 is correct method.