DSA-C02 PDF Pass Leader, DSA-C02 Latest Real Test [Q22-Q42]

Share

DSA-C02 PDF Pass Leader, DSA-C02 Latest Real Test

Valid DSA-C02 Test Answers & DSA-C02 Exam PDF

NEW QUESTION # 22
Which is the visual depiction of data through the use of graphs, plots, and informational graphics?

  • A. Data Interpretation
  • B. Data Mining
  • C. Data visualization
  • D. Data Virtualization

Answer: B

Explanation:
Explanation
Data visualization is the visual depiction of data through the use of graphs, plots, and informational graphics.
Its practitioners use statistics and data science to conveythe meaning behind data in ethical and accurate ways.


NEW QUESTION # 23
Which ones are the key actions in the data collection phase of Machine learning included?

  • A. Probability
  • B. Ingest and Aggregate
  • C. Label
  • D. Measure

Answer: B,C

Explanation:
Explanation
The key actions in the data collection phase include:
Label: Labeled data is the raw data that was processed by adding one or more meaningful tags so that a model can learn from it. It will take some work to label it if such information is missing (manually or automatically).
Ingest and Aggregate: Incorporating and combining data from many data sources is part of data collection in AI.
Data collection
Collecting data for training the ML model is the basic step in the machine learning pipeline. The predictions made by ML systems can only be as good as the data on which they have been trained. Following are some of the problems that can arise in data collection:
Inaccurate data. The collected data could be unrelated to the problem statement.
Missing data. Sub-data could be missing. That could take the form of empty values in columns or missing images for some class of prediction.
Data imbalance. Some classes or categories in the data may have a disproportionately high or low number of corresponding samples. As a result, they risk being under-represented in the model.
Data bias. Depending on how the data, subjects and labels themselves are chosen, the model could propagate inherent biases on gender, politics, age or region, for example. Data bias is difficult to detect and remove.
Several techniques can be applied to address those problems:
Pre-cleaned, freely available datasets. If the problem statement (for example, image classification, object recognition) aligns with a clean, pre-existing, properly formulated dataset, then take ad-vantage of existing, open-source expertise.
Web crawling and scraping. Automated tools, bots and headless browsers can crawl and scrape websites for data.
Private data. ML engineers can create their own data. This is helpful when the amount of data required to train the model is small and the problem statement is too specific to generalize over an open-source dataset.
Custom data. Agencies can create or crowdsource the data for a fee.


NEW QUESTION # 24
Mark the correct steps for saving the contents of a DataFrame to aSnowflake table as part of Moving Data from Spark to Snowflake?

  • A. Step 1.Use the writer() method of the DataFrame to construct a DataFrameWriter.
    Step 2.Specify SNOWFLAKE_SOURCE_NAME using the format() method.
    Step 3.Use the dbtable option to specify the table to which data is written.
    Step 4.Specify the connector options using either the option() or options() method.
    Step 5.Use the save() method to specify the save mode for the content.
  • B. Step 1.Use the PUT() method of the DataFrame to construct a DataFrameWriter.
    Step 2.Specify SNOWFLAKE_SOURCE_NAME using the format() method.
    Step 3.Specify the connector options using either the option() or options() method.
    Step 4.Use the dbtable option to specify the table to which data is written.
    Step 5.Use the save() method to specify the save mode for the content.
  • C. Step 1.Use the write() method of the DataFrame to construct a DataFrameWriter.
    Step 2.Specify SNOWFLAKE_SOURCE_NAME using the format() method.
    Step 3.Specify the connector options using either the option() or options() method.
    Step 4.Use the dbtable option to specify the table to which data is written.
    Step 5.Use the mode() method to specify the save mode for the content.
    (Correct)
  • D. Step 1.Use the PUT() method of the DataFrame to construct a DataFrameWriter.
    Step 2.Specify SNOWFLAKE_SOURCE_NAME using the NAME() method.
    Step 3.Use the dbtable option to specify the table to which data is written.
    Step 4.Specify the connector options using either the option() or options() method.
    Step 5.Use the save() method to specify the save mode for the content.

Answer: C

Explanation:
Explanation
Moving Data from Spark to Snowflake
The steps for saving the contents of a DataFrame to a Snowflake table are similar to writing from Snowflake to Spark:
1. Use the write() method of the DataFrame to construct a DataFrameWriter.
2. Specify SNOWFLAKE_SOURCE_NAME using the format() method.
3. Specify the connector options using either the option() or options() method.
4. Use the dbtable option to specify the table to which data is written.
5. Use the mode() method to specify the save mode for the content.
Examples
1.df.write
2..format(SNOWFLAKE_SOURCE_NAME)
3..options(sfOptions)
4..option("dbtable", "t2")
5..mode(SaveMode.Overwrite)
6..save()


NEW QUESTION # 25
Select the Data Science Tools which are known to provide native connectivity to Snowflake?

  • A. DiYotta
  • B. Denodo
  • C. HEX
  • D. DvSUM

Answer: C

Explanation:
Explanation
Hex - collaborative data science and analytics platform
Denodo - data virtualization and federation platform
DvSum - data catalog and data intelligence platform
Diyotta - data integration and migration


NEW QUESTION # 26
Which ones are the correct rules while using a data science model created via External function in Snowflake?

  • A. External functions can accept Model parameters.
  • B. External functions can be overloaded.
  • C. External functions return a value. The returned value can be a compound value, such as a VARIANT that contains JSON.
  • D. An external function can appear in any clause of a SQL statement in which other types of UDF can appear.

Answer: A,B,C,D

Explanation:
Explanation
From the perspective of a user running a SQL statement, an external function behaves like any other UDF .
External functions follow these rules:
External functions return a value.
External functions can accept parameters.
An external function can appear in any clause of a SQL statement in which other types of UDF can appear. For example:
1.select my_external_function_2(column_1, column_2)
2.from table_1;
1.select col1
2.from table_1
3.where my_external_function_3(col2) < 0;
1.create view view1 (col1) as
2.select my_external_function_5(col1)
3.from table9;
An external function can be part of a more complex expression:
1.select upper(zipcode_to_city_external_function(zipcode))
2.from address_table;
The returned value can be a compound value, such as a VARIANT that contains JSON.
External functions can be overloaded; two different functions can have the same name but different signatures (different numbers or data types of input parameters).


NEW QUESTION # 27
Which of the following is a common evaluation metric for binary classification?

  • A. F1 score
  • B. Mean squared error (MSE)
  • C. Accuracy
  • D. Area under the ROC curve (AUC)

Answer: D

Explanation:
Explanation
The area under the ROC curve (AUC) is a common evaluation metric for binary classification, which measures the performance of a classifier at different threshold values for the predicted probabilities. Other common metrics include accuracy, precision, recall, and F1 score, which are based on the confusion matrix of true positives, false positives, true negatives, and false negatives.


NEW QUESTION # 28
Mark the incorrect statement regarding usage of Snowflake Stream & Tasks?

  • A. Snowflake ensures only one instance of a task with a schedule (i.e. a standalone task or the root task in a DAG) is executed at a given time. If a task is still running when the next scheduled execution time occurs, then that scheduled time is skipped.
  • B. An standard-only stream tracks row inserts only.
  • C. Snowflake automatically resizes and scales the compute resources for serverless tasks.
  • D. Streams support repeatable read isolation.

Answer: B

Explanation:
Explanation
All are correct except a standard-only stream tracks row inserts only.
A standard (i.e. delta) stream tracks all DML changes to the source object, including inserts, up-dates, and deletes (including table truncates).


NEW QUESTION # 29
Mark the Incorrect statements regarding MIN / MAX Functions?

  • A. For compatibility with other systems, the DISTINCT keyword can be specified as an argument for MIN or MAX, but it does not have any effect
  • B. NULL values are skipped unless all the records are NULL
  • C. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned
  • D. The data type of the returned value is the same as the data type of the input values

Answer: C

Explanation:
Explanation
NULL values are ignored unless all the records are NULL, in which case a NULL value is returned


NEW QUESTION # 30
You are training a binary classification model to support admission approval decisions for a college degree program.
How can you evaluate if the model is fair, and doesn't discriminate based on ethnicity?

  • A. Remove the ethnicity feature from the training dataset.
  • B. None of the above.
  • C. Compare disparity between selection rates and performance metrics across ethnicities.
  • D. Evaluate each trained model with a validation datasetand use the model with the highest accuracy score.

Answer: C

Explanation:
Explanation
By using ethnicity as a sensitive field, and comparing disparity between selection rates and performance metrics for each ethnicity value, you can evaluate the fairness of the model.


NEW QUESTION # 31
Performance metrics are a part of every machine learning pipeline, Which ones are not the performance metrics used in the Machine learning?

  • A. AUM
  • B. R2 (R-Squared)
  • C. AU-ROC
  • D. Root Mean Squared Error (RMSE)

Answer: A

Explanation:
Explanation
Every machine learning task can be broken down to either Regression or Classification, just like the performance metrics.
Metrics are used to monitor and measure the performance of a model (during training and testing), and do not need to be differentiable.
Regression metrics
Regression models have continuous output. So, we need a metric based on calculating some sort of distance between predicted and ground truth.
In order to evaluate Regression models, we'll discuss these metrics in detail:
Mean Absolute Error (MAE),
Mean Squared Error (MSE),
Root Mean Squared Error (RMSE),
R2 (R-Squared).
Mean Squared Error (MSE)
Mean squared error is perhaps the most popular metric used for regression problems. It essentially finds the average of the squared difference between the target value and the value predicted by the regression model.
Few key points related to MSE:
It's differentiable, so it can be optimized better.
It penalizes even small errors by squaring them, which essentially leads to an overestimation of how bad the model is.
Error interpretation has to be done with squaring factor(scale) in mind. For example in our Boston Housing regression problem, we got MSE=21.89 which primarily corresponds to (Prices)2.
Due to the squaring factor, it's fundamentally more prone to outliers than other metrics.
Mean Absolute Error (MAE)
Mean Absolute Error is the average of the difference between the ground truth and the predicted values.
Few key points for MAE
It's more robust towards outliers than MAE, since it doesn't exaggerate errors.
It gives us a measure of how far the predictions were from the actual output. However, since MAE uses absolute value of the residual, it doesn't give us an idea of the direction of the error, i.e. whether we're under-predicting or over-predicting the data.
Error interpretation needs no second thoughts, as it perfectly aligns with the original degree of the variable.
MAE is non-differentiable as opposed to MSE, which is differentiable.
Root Mean Squared Error (RMSE)
Root Mean Squared Error corresponds to the square root of the average of the squared difference between the target value and the value predicted by the regression model.
Few key points related to RMSE:
It retains the differentiable property of MSE.
It handles the penalization of smaller errors done by MSE by square rooting it.
Error interpretation can be done smoothly, since the scale is now the same as the random variable.
Since scale factors are essentially normalized, it's less prone to struggle in the case of outliers.
R2 Coefficient of determination
R2 Coefficient of determination actually works as a post metric, meaning it's a metric that's calcu-lated using other metrics.
The point of even calculating this coefficient is to answer the question "How much (what %) of the total variation in Y(target) is explained by the variation in X(regression line)" Few intuitions related to R2 results:
If the sum of Squared Error of the regression line is small => R2 will be close to 1 (Ideal), meaning the regression was able to capture 100% of the variance in the target variable.
Conversely, if the sum of squared error of the regression line is high=> R2 will be close to 0, meaning the regression wasn't able to capture any variance in the target variable.
You might think that the range of R2 is (0,1) but it's actually (-,1)because the ratio of squared errors of the regression line and mean can surpass the value 1 if the squared error of regression line is too high (>squared error of the mean).
Classification metrics
Classification problems are one of the world's most widely researched areas. Use cases are present in almost all production and industrial environments. Speech recognition, face recognition, textclassification - the list is endless.
Classification models have discrete output, so we need a metric that compares discrete classes in some form.
Classification Metrics evaluate a model's performance and tell you how good or bad the classification is, but each of them evaluates it in a different way.
So in order to evaluate Classification models, we'll discuss these metrics in detail:
Accuracy
Confusion Matrix (not a metric but fundamental to others)
Precision and Recall
F1-score
AU-ROC
Accuracy
Classification accuracy is perhaps the simplest metric to use and implement and is defined as the number of correct predictions divided by the total number of predictions, multiplied by 100.
We can implement this by comparing ground truth and predicted values in a loop or simply utilizing the scikit-learn module to do the heavy lifting for us (not so heavy in this case).
Confusion Matrix
Confusion Matrix is a tabular visualization of the ground-truth labels versus model predictions. Each row of the confusion matrix represents the instances in a predicted class and each column represents the instances in an actual class. Confusion Matrix is not exactly a performance metric but sort of a basis on which other metrics evaluate the results.
Each cell in the confusion matrix represents an evaluation factor. Let's understand these factors one by one:
True Positive(TP) signifies how many positive class samples your model predicted correctly.
True Negative(TN) signifies how many negative class samples your model predicted correctly.
False Positive(FP) signifies how many negative class samples your model predicted incorrectly. This factor represents Type-I error in statistical nomenclature. This error positioning in the confusion matrix depends on the choice of the null hypothesis.
False Negative(FN) signifies how many positive class samples your model predicted incorrectly. This factor represents Type-II error in statistical nomenclature. This error positioning in the confu-sion matrix also depends on the choice of the null hypothesis.
Precision
Precision is the ratio of true positives and total positives predicted
Recall/Sensitivity/Hit-Rate
A Recall is essentially the ratio of true positives to all the positives in ground truth.
Precision-Recall tradeoff
To improve your model, you can either improve precision or recall - but not both! If you try to re-duce cases of non-cancerous patients being labeled as cancerous (FN/type-II), no direct effect will take place on cancerous patients being labeled as non-cancerous.
F1-score
The F1-score metric uses a combination of precision and recall. In fact, the F1 score is the harmonic mean of the two.
AUROC (Area under Receiver operating characteristics curve)
Better known as AUC-ROC score/curves. It makes use of true positive rates(TPR) and false posi-tive rates(FPR).


NEW QUESTION # 32
Which type of Python UDFs let you define Python functions that receive batches of input rows as Pandas DataFrames and return batches of results as Pandas arrays or Series?

  • A. MPP Python UDFs
  • B. Hybrid Python UDFs
  • C. Vectorized Python UDFs
  • D. Scaler Python UDFs

Answer: C

Explanation:
Explanation
Vectorized Python UDFs let you define Python functions that receive batches of input rows as Pandas DataFrames and return batches of results as Pandas arrays or Series. You call vectorized Py-thon UDFs the same way you call other Python UDFs.
Advantages of using vectorized Python UDFs compared to the default row-by-row processing pat-tern include:
The potential for better performance if your Python code operates efficiently on batches of rows.
Less transformation logic required if you are calling into libraries that operate on Pandas Data-Frames or Pandas arrays.
When you use vectorized Python UDFs:
You do not need to change how you write queries using Python UDFs. All batching is handled by the UDF framework rather than your own code.
As with non-vectorized UDFs, there is no guarantee of which instances of your handler code will see which batches of input.


NEW QUESTION # 33
You previously trained a model using a training dataset. You want to detect any data drift in the new data collected since the model was trained.
What should you do?

  • A. Create a new version of the dataset using only the new data and retrain the model.
  • B. Create a new dataset using the new data and a timestamp column and create a data drift monitor that uses the training dataset as a baseline and the new dataset as a target.
  • C. Add the new data to the existing dataset and enable Application Insights for the service where the model is deployed.
  • D. Retrained your training dataset after correcting data outliers & no need to introduce new data.

Answer: B

Explanation:
Explanation
To track changing data trends, create a data drift monitor that uses the training data as a baseline and the new data as a target.
Model drift and decay are concepts that describe the process during which the performance of a model deployed to production degrades on new, unseen data or the underlying assumptions about the data change.
These are important metrics to track once models are deployed toproduction. Models must be regularly re-trained on new data. This is referred to as refitting the model. This can be done either on a periodic basis, or, in an ideal scenario, retraining can be triggered when the performance of the model degrades below a certain pre-defined threshold.


NEW QUESTION # 34
Which one is not Types of Feature Scaling?

  • A. Robust Scaling
  • B. Economy Scaling
  • C. Standard Scaling
  • D. Min-Max Scaling

Answer: D

Explanation:
ExplanationFeature Scaling
Feature Scaling is the process of transforming the features so that they have a similar scale. This is important in machine learning because the scale of the features can affect the performance of the model.
Types of Feature Scaling:
Min-Max Scaling: Rescaling the features to a specific range, such as between 0 and 1, by subtracting the minimum value and dividing by the range.
Standard Scaling: Rescaling the features to have a mean of 0 and a standard deviation of 1 by subtracting the mean and dividing by the standard deviation.
Robust Scaling: Rescaling the features to be robust to outliers by dividing them by the interquartile range.
Benefits of Feature Scaling:
Improves Model Performance: By transforming the features to have a similar scale, the model can learn from all features equally and avoid being dominated by a few large features.
Increases Model Robustness: By transforming the features to be robust to outliers, the model can become more robust to anomalies.
Improves Computational Efficiency: Many machine learning algorithms, such as k-nearest neighbors, are sensitive to the scale of the features and perform better with scaled features.
Improves Model Interpretability: By transforming the features to have a similar scale, it can be easier to understand the model's predictions.


NEW QUESTION # 35
Which one is not the types of Feature Engineering Transformation?

  • A. Normalization
  • B. Aggregation
  • C. Encoding
  • D. Scaling

Answer: B

Explanation:
Explanation
What is Feature Engineering?
Feature engineering is the process of transforming raw data into features that are suitable for ma-chine learning models. In other words, it is the process of selecting, extracting, and transforming the most relevant features from the available data to build more accurate and efficient machine learning models.
The success of machine learning models heavily depends on the quality of the features used to train them.
Feature engineering involves a set of techniques that enable us to create new features by combining or transforming the existing ones. These techniques help to highlight the most important pat-terns and relationships in the data, which in turn helps the machine learning model to learn from the data more effectively.
What is a Feature?
In the context of machine learning, a feature (also known as a variable or attribute) is an individual measurable property or characteristic of a data point that is used as input for a machine learning al-gorithm. Features can be numerical, categorical, or text-based, and they represent different aspects of the data that are relevant to the problem at hand.
For example, in a dataset of housing prices, features could include the number of bedrooms, the square footage, the location, and the age of the property. In a dataset of customer demographics, features could include age, gender, income level, and occupation.
The choice and quality of features are critical in machine learning, as they can greatly impact the ac-curacy and performance of the model.
Why do we Engineer Features?
We engineer features to improve the performance of machine learning models by providing them with relevant and informative input data. Raw data may contain noise, irrelevant information, or missing values, which can lead to inaccurate or biased model predictions. By engineering features, we can extract meaningful information from the raw data, create new variables that capture important patterns and relationships, and transform the data into a more suitable format for machine learning algorithms.
Feature engineering can also help in addressing issues such as overfitting, underfitting, and high di-mensionality. For example, by reducing the number of features, we can prevent the model from be-coming too complex or overfitting to the training data. By selecting the most relevant features, we can improve the model's accuracy and interpretability.
In addition, feature engineering is a crucial step in preparing data for analysis and decision-making in various fields, such as finance, healthcare, marketing, and social sciences. It can help uncover hidden insights, identify trends and patterns, and support data-driven decision-making.
We engineer features for various reasons, and some of the main reasons include:
Improve User Experience: The primary reason we engineer features is to enhance the user experience of a product or service. By adding new features, we can make the product more intuitive, efficient, and user-friendly, which can increase user satisfaction and engagement.
Competitive Advantage: Another reason we engineer features is to gain a competitive advantage in the marketplace. By offering unique and innovative features, we can differentiate our product from competitors and attract more customers.
Meet Customer Needs: We engineer features to meet the evolving needs of customers. By analyzing user feedback, market trends, and customer behavior, we can identify areas where new features could enhance the product's value and meet customer needs.
Increase Revenue: Features can also be engineered to generate more revenue. For example, a new feature that streamlines the checkout process can increase sales, or a feature that provides additional functionality could lead to more upsells or cross-sells.
Future-Proofing: Engineering features can also be done to future-proof a product or service. By an-ticipating future trends and potential customer needs, we can develop features that ensure the product remains relevant and useful in the long term.
Processes Involved in Feature Engineering
Feature engineering in Machine learning consists of mainly 5 processes: Feature Creation, Feature Transformation, Feature Extraction, Feature Selection, and Feature Scaling. It is an iterative process that requires experimentation and testing to find the best combination of features for a given problem. The success of a machine learning model largely depends on the quality of the features used in the model.
Feature Transformation
Feature Transformation is the process of transforming the featuresinto a more suitable representation for the machine learning model. This is done to ensure that the model can effectively learn from the data.
Types of Feature Transformation:
Normalization: Rescaling the features to have a similar range, such as between 0 and 1, to prevent some features from dominating others.
Scaling: Rescaling the features to have a similar scale, such as having a standard deviation of 1, to make sure the model considers all features equally.
Encoding: Transforming categorical features into a numerical representation. Examples are one-hot encoding and label encoding.
Transformation: Transforming the features using mathematical operations to change the distribution or scale of the features. Examples are logarithmic, square root, and reciprocal transformations.


NEW QUESTION # 36
Which are the following additional Metadata columns Stream contains that could be used for creating Efficient Data science Pipelines & helps in transforming only the New/Modified data only?

  • A. METADATA$DELETE
  • B. METADATA$FILE_ID
  • C. METADATA$ROW_ID
  • D. METADATA$ACTION
  • E. METADATA$ISUPDATE

Answer: C,D,E

Explanation:
Explanation
A stream stores an offset for the source object and not any actual table columns or data. When que-ried, a stream accesses and returns the historic data in the same shape as the source object (i.e. the same column names and ordering) with the following additional columns:
METADATA$ACTION
Indicates the DML operation (INSERT, DELETE) recorded.
METADATA$ISUPDATE
Indicates whether the operation was part of an UPDATE statement. Updates to rows in the source object are represented as a pair of DELETE and INSERT records inthe stream with a metadata column METADATA$ISUPDATE values set to TRUE.
Note that streams record the differences between two offsets. If a row is added and then updated in the current offset, the delta change is a new row. The METADATA$ISUPDATE row records a FALSE value.
METADATA$ROW_ID
Specifies the unique and immutable ID for the row, which can be used to track changes to specific rows over time.


NEW QUESTION # 37
Consider a data frame df with 10 rows and index [ 'r1', 'r2', 'r3', 'row4', 'row5', 'row6', 'r7', 'r8', 'r9', 'row10'].
What does the aggregate method shown in below code do?
g = df.groupby(df.index.str.len())
g.aggregate({'A':len, 'B':np.sum})

  • A. Computes length of column A
  • B. Computes Sum of column A values
  • C. Computes length of column A and Sum of Column B values of each group
  • D. Computes length of column A and Sum of Column B values

Answer: C

Explanation:
Explanation
Computes length of column A and Sum of Column B values of each group


NEW QUESTION # 38
Which command manually triggers a single run of a scheduled task (either a standalone task or the root task in a DAG) independent of the schedule defined for the task?

  • A. EXECUTE TASK
  • B. CALL TASK
  • C. RUN ROOT TASK
  • D. RUN TASK

Answer: A

Explanation:
Explanation
The EXECUTE TASK command manually triggers a single run of a scheduled task (either a standalone task or the root task in a DAG) independent of the schedule defined for the task. A successful run of a roottask triggers a cascading run of child tasks in the DAG as their precedent task completes, as though the root task had run on its defined schedule.
This SQL command is useful for testing new or modified standalone tasks and DAGs before you enable them to execute SQL code in production.
Call this SQL command directly in scripts or in stored procedures. In addition, this command sup-ports integrating tasks in external data pipelines. Any third-party services that can authenticate into your Snowflake account and authorize SQL actions can execute the EXECUTE TASK command to run tasks.


NEW QUESTION # 39
As Data Scientist looking out to use Reader account, Which ones are the correct considerations about Reader Accounts for Third-Party Access?

  • A. Users in a reader account can query data that has been shared with the reader account, but cannot perform any of the DML tasks that are allowed in a full account, such as data loading, insert, update, and similar data manipulation operations.
  • B. Reader accounts (formerly known as "read-only accounts") provide a quick, easy, and cost-effective way to share data without requiring the consumer to become a Snowflake customer.
  • C. Data sharing is only possible between Snowflake accounts.
  • D. Each reader account belongs to the provider account that created it.

Answer: C

Explanation:
Explanation
Data sharing is only supported between Snowflake accounts. As a data provider, you might want to share data with a consumer who does not already have a Snowflake account or is not ready to be-come a licensed Snowflake customer.
To facilitate sharing data with these consumers, you can create reader accounts. Reader accounts (formerly known as "read-only accounts") provide a quick, easy, and cost-effective way to share data without requiring the consumer to become a Snowflake customer.
Each reader account belongs to the provider account that created it. As a provider, you use shares to share databases with reader accounts; however, a reader account can only consume data from the provider account that created it.
So, Data Sharing is possible between Snowflake & Non-snowflake accounts via Reader Account.


NEW QUESTION # 40
Mark the Incorrect understanding of Data Scientist about Streams?

  • A. Streams do not support repeatable read isolation.
  • B. Streams can track changes in materialized views.
  • C. Streams on views support both local views and views shared using Snowflake Secure Data Sharing, including secure views.
  • D. Streams itself does not contain any table data.

Answer: A,B

Explanation:
Explanation
Streams on views support both local views and views shared using Snowflake Secure Data Sharing, including secure views. Currently, streams cannot track changes in materialized views.
stream itself does not contain any table data. A stream only stores an offset for the source object and returns CDC records by leveraging the versioning history for the source object. When the first stream for a table is created, several hidden columns are added to the source table and begin storing change tracking metadata.
These columns consume a small amount of storage. The CDC records returned when querying a stream rely on a combination of the offset stored in the stream and the change tracking metadata stored in the table. Note that for streams on views, change tracking must be enabled explicitly for the view and underlying tables to add the hidden columns to these tables.
Streams support repeatable read isolation. In repeatable read mode, multiple SQL statements within a transaction see the same set of records in a stream. This differs from the read committed mode supported for tables, in which statements see any changes made by previous statements executed within the same transaction, even though those changes are not yet committed.
The delta records returned by streams in a transaction is the range from the current position of the stream until the transaction start time. The stream position advances to the transaction start time if the transaction commits; otherwise it stays at the same position.


NEW QUESTION # 41
Which object records data manipulation language (DML) changes made to tables, including inserts, updates, and deletes, as well as metadata about each change, so that actions can be taken using the changed data of Data Science Pipelines?

  • A. Delta
  • B. Tags
  • C. Task
  • D. Stream
  • E. Dynamic tables
  • F. OFFSET

Answer: D

Explanation:
Explanation
A stream object records data manipulation language (DML) changes made to tables, including inserts, updates, and deletes, as well as metadata about each change,so that actions can be taken using the changed data. This process is referred to as change data capture (CDC). An individual table stream tracks the changes made to rows in a source table. A table stream (also referred to as simply a "stream") makes a "change table" available of what changed, at therow level, between two transactional points of time in a table. This allows querying and consuming a sequence of change records in a transactional fashion.
Streams can be created to query change data on the following objects:
Standard tables, including shared tables.
Views, including secure views
Directory tables
Event tables


NEW QUESTION # 42
......

DSA-C02 Dumps Ensure Your Passing: https://www.verifieddumps.com/DSA-C02-valid-exam-braindumps.html

DSA-C02 exam dumps and online Test Engine: https://drive.google.com/open?id=1OgIbbaABO40HjGDs5gg4vPRZV8AgfTt7