SPS-C01 試験問題を無料オンラインアクセス

試験コード:SPS-C01
試験名称:Snowflake Certified SnowPro Specialty - Snowpark
認定資格:Snowflake
無料問題数:374
更新日:2026-10-13
評価
100%

問題 1

You are working with a Snowpark DataFrame 'transactions df that contains customer transaction data'. This data includes a 'transaction amount' column and a 'transaction date' column. You need to create a new feature called 'is weekend transaction' that indicates whether a transaction occurred on a weekend (Saturday or Sunday). Furthermore, some 'transaction_date' values are missing. You want to impute the missing dates with the mode (most frequent date) before determining if the transaction occurred on a weekend. Which of the following steps, when combined, provide the correct and most efficient approach to achieve this?

問題 2

Consider the following Snowpark Python stored procedure:

What steps are necessary to register this Python code as a stored procedure named 'GET ROW COUNT in Snowflake and allow users with the 'ANALYST' role to execute it, assuming the stored procedure will be created with the 'EXECUTE AS OWNER clause, and the table name parameter will be passed dynamically during invocation?

問題 3

You have a Snowpark DataFrame named with the following schema: 'product_id' (INTEGER), (STRING), 'category' (STRING), 'price' (FLOAT), and 'description' (STRING). You want to perform several data cleaning and transformation steps. Which of the following operations can be efficiently chained together using Snowpark DataFrames to clean null values in 'description', replace special characters in 'product_name' and standardize 'category' values? Select all that apply:

問題 4

Consider the following Python code snippet using Snowpark:

Which of the following statements are true regarding this Snowpark code?

問題 5

You are working with image files stored in a Snowflake internal stage named 'image_stage'. You need to write a Snowpark Python application to resize these images using a Python library called 'PIG. The resizing logic is encapsulated in a function called resize_image(snowflake_file: SnowflakeFile, width: int, height: int) -> bytes. Which of the following code snippets correctly registers he 'resize image' function as a UDF and applies it to the image files?

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。