Test Online Free Snowflake DEA-C01 Exam Questions and Answers

The questions for DEA-C01 were last updated On Oct.14 2023

Get DEA-C01 Full Access
 / 2

Question No : 1
Which of the below are true about external functions

Answer:

Question No : 2
Which of the below are true about TASKS?

Answer:

Question No : 3
Let's say you have a schema name MY_SCHEMA. This schema contains two permanent tables as shown below
CREATE TABLE MY_TABLE_A (C1 INT)
DATA_RETENTION_TIME_IN_DAYS = 10;
CREATE TABLE MY_TABLE_B (C1 INT);
What will be the impact of running the following command?
ALTER SCHEMA MY_SCHEMA SET DATA_RETENTION_TIME_IN_DAYS = 20;
A. Data retention time cannot be set at SCHEMA level, hence it will fail
B. The retention time on MY_TABLE_A does not change; MY_TABLE_B will be set to 20 days
C. The retention time on both the tables will be set to 20 days
D. The retention time will not change for both tables

Answer:B
Explanation
https://docs.snowflake.com/en/user-guide/data-time-travel.html#changing-the-data-retention-period-for-an-object
Changing the retention period for your account or individual objects changes the value for all lower-level objects that do not have a retention period explicitly set. For example:
If you change the retention period at the account level, all databases, schemas, and tables that do not have an explicit retention period automatically inherit the new retention period.
If you change the retention period at the schema level, all tables in the schema that do not have an explicit retention period inherit the new retention period.
Keep this in mind when changing the retention period for your account or any objects in your account because the change might have Time Travel consequences that you did not anticipate or intend. In particular, we do not recommend changing the retention period to 0 at the account level.

Question No : 4
While using kafka connector, what charges are applied to your account?

Answer:

Question No : 5
CREATE OR REPLACE USER USER1 PASSWORD='USER1';
CREATE OR REPLACE ROLE ROLE1;
CREATE OR REPLACE ROLE ROLE2;
CREATE OR REPLACE ROLE ROLE3;
GRANT ROLE ROLE1 TO ROLE ROLE2;
GRANT ROLE ROLE2 TO ROLE ROLE3;
CREATE OR REPLACE TABLE T1(ID VARCHAR, NAME VARCHAR);
GRANT SELECT ON T1 to ROLE1;
GRANT INSERT,DELETE ON T1 TO ROLE2;
GRANT ROLE ROLE3 TO USER USER1;
Which of the accesses below will USER 1 get for Table T1;

Answer:

Question No : 6
CREATE OR REPLACE USER USER1 PASSWORD='USER1';
CREATE OR REPLACE ROLE ROLE1;
CREATE OR REPLACE ROLE ROLE2;
CREATE OR REPLACE ROLE ROLE3;
GRANT ROLE ROLE1 TO ROLE ROLE2;
GRANT ROLE ROLE2 TO ROLE ROLE3;
GRANT ROLE ROLE3 TO USER USER1;
When user will logon to SNOWFLAKE, which roles he will see in the UI under switch role?

Answer:

Question No : 7
Which of the below query is valid when clustering key has not been defined on the table test2?

Answer:

Question No : 8
Snowflake does not prune micro-partitions based on a predicate with a subquery

Answer:

Question No : 9
What is the problem with the below query profile?



Answer:

Question No : 10
A stream contains table data

Answer:

 / 2
  TOP 50 Exam Questions
Exam