Snowflake SnowPro Advanced: Data Engineer (DEA-C02) - DEA-C02무료 덤프문제 풀어보기

You have a Snowflake table 'orders_raw' with a VARIANT column named 'order detailS that contains an array of order items represented as JSON objects. Each object has 'item id', 'quantity' , and 'price'. You need to calculate the total revenue for each order. Which SQL statement efficiently flattens the array and calculates the total revenue using LATERAL FLATTEN and appropriate casting?

정답: B
설명: (Fast2test 회원만 볼 수 있음)
Consider a scenario where you have a large dataset of sensor readings stored in a Snowflake table called 'SENSOR DATA'. You need to build an external function to perform complex calculations on these readings using a custom Python library hosted on AWS Lambda'. The calculation requires significant computational resources, and you want to optimize the data transfer between Snowflake and the Lambda function. The following SQL is provided: CREATE OR REPLACE EXTERNAL FUNCTION ARRAY) RETURNS ARRAY VOLATILE MAX BATCH ROWS = 2000 RETURNS NULL ON NULL INPUT API INTEGRATION = aws_lambda_integration AS 'arn:aws:lambda:us-east-1:123456789012:function:sensorProcessor'; Which of the following options would further optimize the performance and reduce data transfer costs, assuming the underlying Lambda function is correctly configured and functional?

정답: A,D,E
설명: (Fast2test 회원만 볼 수 있음)
You are tasked with creating a JavaScript stored procedure in Snowflake to perform a complex data masking operation on sensitive data within a table. The masking logic involves applying different masking rules based on the data type and the column name. Which approach would be the MOST secure and maintainable for storing and managing these masking rules? Assume performance is not your primary concern but code reuse and maintainability is the most important thing.

정답: A,C
설명: (Fast2test 회원만 볼 수 있음)
You are developing a Snowpark Python application that transforms data from a source table "ORDERS RAW' into a target table 'ORDERS CLEANED'. The transformation involves multiple steps, including data validation, cleansing, and aggregation. You need to ensure that either all steps succeed, or none of them do, to maintain data integrity. You are considering different approaches to transaction management. Which of the following strategies offer the MOST comprehensive and reliable approach to manage transactions in this scenario, especially considering potential network interruptions and session timeouts?

정답: E
설명: (Fast2test 회원만 볼 수 있음)
Consider the following scenario: You are ingesting JSON data from an external stage into Snowflake. The JSON data contains an array of objects, where each object represents a product with attributes like 'product id', 'name', and 'price'. However, sometimes the 'price' field is missing entirely from some product objects. You want to load this data into a Snowflake table with columns 'product_id', 'name', and 'price' (defined as NUMBER). How can you handle the missing 'price' field gracefully during the COPY INTO operation, ensuring that missing prices are represented as NULL in the Snowflake table without causing errors?

정답: C
설명: (Fast2test 회원만 볼 수 있음)
You are tasked with implementing row-level filtering on a 'customers' table in Snowflake. You need to restrict access to customer data based on the user's region. The 'customers' table has a 'region' column, and you have a mapping table 'user regions' that associates users with the regions they are allowed to access. The 'user_regions' table has columns 'username' and 'region'. Which of the following SQL statements correctly creates and applies a row access policy to achieve this, minimizing complexity and maximizing performance? Select all that apply:

정답: A,B
설명: (Fast2test 회원만 볼 수 있음)
You're designing a data pipeline in Snowflake that utilizes an external function to perform sentiment analysis on customer reviews using a third-party NLP service. This service charges per request. You need to minimize costs while ensuring timely processing of the reviews.
Which of the following strategies would be most effective in optimizing the cost and performance of your external function?

정답: A,B,C
설명: (Fast2test 회원만 볼 수 있음)
You need to implement a data masking policy on the 'EMAIL' column of the 'EMPLOYEES' table. The requirement is to redact the entire email address with 'XXXXX' if the user's role is 'PUBLIC'. If the user's role is 'ANALYST', the domain part of the email should be visible, but the username should be redacted. For all other roles, the full email should be visible. Which of the following SQL statements CORRECTLY implements this masking policy?

정답: B
설명: (Fast2test 회원만 볼 수 있음)
A data pipeline ingests clickstream data from various sources into a raw Snowflake table CRAW CLICKS). A transformation job then processes this data and loads it into a more structured 'CLICK EVENTS table, performing filtering, cleaning, and data enrichment. The data engineering team notices significant performance bottlenecks during this transformation process, leading to data freshness issues.
The team wants to optimize this process, considering the following:

정답: B,C,D
설명: (Fast2test 회원만 볼 수 있음)
You are developing a JavaScript stored procedure in Snowflake using Snowpark to perform a complex data transformation. This transformation involves multiple steps: filtering, joining with another table, and aggregating data'. You need to ensure that the stored procedure is resilient to failures and can be easily debugged. Which of the following practices would contribute to the robustness and debuggability of your stored procedure? (Select all that apply)

정답: A,C,D
설명: (Fast2test 회원만 볼 수 있음)

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기 

English Deutsch 繁体中文 日本語