Exam SnowPro Advanced Architect All QuestionsBrowse all questions from this exam
Question 94

A retail company has over 3000 stores all using the same Point Of Sale (POS) system. The company wants to deliver near real-time sales results to category managers. The stores operate in a variety of time zones and exhibit a dynamic range of transactions each minute, with some stores having higher sales volumes than others.

Sales results are provided in a uniform fashion using data engineered fields that will be calculated in a complex data pipeline. Calculations include exceptions, aggregations, and scoring using external functions interfaced to scoring algorithms. The source data for aggregations has over 100M rows.

Every minute, the POS sends all sales transactions files to a cloud storage location with a naming convention that includes store numbers and timestamps to identify the set of transactions contained in the files. The files are typically less than 10MB in size.

How can the near real-time results be provided to the category managers? (Choose two.)

    Correct Answer: B, C

    To deliver near real-time sales results to category managers, implementing a Snowpipe configured with AUTO_INGEST = TRUE is optimal because it will automatically load data into Snowflake as soon as new files appear in the cloud storage. This will ensure that each file, identified by store numbers and timestamps, is promptly ingested with minimal delay. Additionally, creating a STREAM to accumulate the near real-time data and a TASK to process this data at a frequency that matches the real-time analytics needs is essential. The TASK can utilize the stream's metadata to perform necessary calculations and update the target table accordingly. This combination will handle near real-time ingestion and processing efficiently, providing timely results to the category managers.

Discussion
67422cbOptions: BC

How does B differ from C? B omits the task, but something has to run the data out of the stream, and C omits getting the data into Snowflake. But they are all part of the same process.