ExamGecko
Home Home / Snowflake / DEA-C01

Snowflake DEA-C01 Practice Test - Questions Answers, Page 6

Question list
Search
Search

Can the same column be specified in both a Dynamic data masking policy signature and a row ac-cess policy signature at the same time?

A.
YES
A.
YES
Answers
B.
NO
B.
NO
Answers
Suggested answer: B

Which two Account usage views can be used for auditing Dynamic data masking purpose?

A.
MASKING POLICIES
A.
MASKING POLICIES
Answers
B.
POLICY_REFERENCES
B.
POLICY_REFERENCES
Answers
C.
DYNAMIC MASKING POLICIES
C.
DYNAMIC MASKING POLICIES
Answers
D.
DYNAMIC POLICY_REFERENCES
D.
DYNAMIC POLICY_REFERENCES
Answers
Suggested answer: A, B

Which of the below concepts/functions helps while implementing advanced Column-level Security?

A.
CURRENT_ROLE
A.
CURRENT_ROLE
Answers
B.
INVOKER_ROLE
B.
INVOKER_ROLE
Answers
C.
Role Hierarchy
C.
Role Hierarchy
Answers
D.
CURRENT_CLIENT
D.
CURRENT_CLIENT
Answers
Suggested answer: A, B, C

Explanation:

Column-level Security supports using Context Functions in the conditions of the masking policy body to enforce whether a user has authorization to see data. To determine whether a user can see data in a given SQL statement, it is helpful to consider:

Masking policy conditions using CURRENT_ROLE target the role in use for the current session.

Masking policy conditions using INVOKER_ROLE target the executing role in a SQL statement.

Role hierarchy Determine if a specified role in a masking policy condition (e.g. ANALYST custom role) is a lower privilege role in the CURRENT_ROLE or INVOKER_ROLE role hierarchy. If so, then the role returned by the CURRENT_ROLE or INVOKER_ROLE functions inherits the privileges of the specified role.

Select the Incorrect statement about External Functions in SnowFlake?

A.
An external function is a type of UDF.
A.
An external function is a type of UDF.
Answers
B.
An external function does not contain its own code; instead, the external function calls code that is stored and executed outside Snowflake.
B.
An external function does not contain its own code; instead, the external function calls code that is stored and executed outside Snowflake.
Answers
C.
Inside Snowflake, the external function is stored as a API Integration object.
C.
Inside Snowflake, the external function is stored as a API Integration object.
Answers
D.
Inside Snowflake, the external function is stored as a database object that contains in-formation that Snowflake uses to call the remote service.
D.
Inside Snowflake, the external function is stored as a database object that contains in-formation that Snowflake uses to call the remote service.
Answers
Suggested answer: C

Which are the Cloud Platforms that Support Calling an External Function?

A.
GCP
A.
GCP
Answers
B.
AWS & AZURE
B.
AWS & AZURE
Answers
C.
AWS only
C.
AWS only
Answers
D.
AWS,GCP,AZURE
D.
AWS,GCP,AZURE
Answers
Suggested answer: D

While creating External function, Which Database object required with at least ACCOUNTAD-MIN privileges?

A.
STORAGE Integration
A.
STORAGE Integration
Answers
B.
SECURITY Integration
B.
SECURITY Integration
Answers
C.
API Integration
C.
API Integration
Answers
D.
None of the above required.
D.
None of the above required.
Answers
Suggested answer: C

What are Invalid rules applicable when using stored procedure contains transaction?

A.
A transaction can be inside a stored procedure, or a stored procedure can be inside a transaction.
A.
A transaction can be inside a stored procedure, or a stored procedure can be inside a transaction.
Answers
B.
You cannot start a transaction before calling the stored procedure, then complete the transaction inside the stored procedure.
B.
You cannot start a transaction before calling the stored procedure, then complete the transaction inside the stored procedure.
Answers
C.
You cannot start a transaction inside the stored procedure, then complete the transac-tion after returning from the procedure.
C.
You cannot start a transaction inside the stored procedure, then complete the transac-tion after returning from the procedure.
Answers
D.
If a transaction is started inside a stored procedure and is still active when the stored procedure finishes, then an error occurs, and the transaction is rolled back.
D.
If a transaction is started inside a stored procedure and is still active when the stored procedure finishes, then an error occurs, and the transaction is rolled back.
Answers
E.
A transaction inside a stored procedure can include a call to another stored procedure that contains a transaction.
E.
A transaction inside a stored procedure can include a call to another stored procedure that contains a transaction.
Answers
F.
All Rules are Applicable.
F.
All Rules are Applicable.
Answers
Suggested answer: F

You can execute zero, one, or more transactions inside a stored procedure?

A.
TRUE
A.
TRUE
Answers
B.
FALSE
B.
FALSE
Answers
Suggested answer: A

Snowflake does not treat the inner transaction as nested; instead, the inner transaction is a separate transaction. What is term used to call these Transaction?

A.
Scoped transactions
A.
Scoped transactions
Answers
B.
Inner Transaction
B.
Inner Transaction
Answers
C.
Nested Scope Transaction
C.
Nested Scope Transaction
Answers
D.
Atomic Transaction
D.
Atomic Transaction
Answers
E.
Enclosed Transaction
E.
Enclosed Transaction
Answers
Suggested answer: A

Elon, a Data Engineer, needs to Split Semi-structured Elements from the Source files and load them as an array into Separate Columns.

Source File:

A.
+----------------------------------------------------------------------+
A.
+----------------------------------------------------------------------+
Answers
B.
| $1 |
B.
| $1 |
Answers
C.
|----------------------------------------------------------------------|
C.
|----------------------------------------------------------------------|
Answers
D.
| {"mac_address": {"host1": "197.128.1.1","host2": "197.168.0.1"}}, |
D.
| {"mac_address": {"host1": "197.128.1.1","host2": "197.168.0.1"}}, |
Answers
E.
| {"mac_address": {"host1": "197.168.2.1","host2": "197.168.3.1"}} |
E.
| {"mac_address": {"host1": "197.168.2.1","host2": "197.168.3.1"}} |
Answers
F.
+----------------------------------------------------------------------+ Output: Splitting the Machine Address as below.
F.
+----------------------------------------------------------------------+ Output: Splitting the Machine Address as below.
Answers
G.
COL1 | COL2 |
G.
COL1 | COL2 |
Answers
H.
|----------+----------|
H.
|----------+----------|
Answers
I.
| [ | [ |
I.
| [ | [ |
Answers
J.
| "197", | "197", |
J.
| "197", | "197", |
Answers
K.
| "128", | "168", |
K.
| "128", | "168", |
Answers
L.
| "1", | "0", |
L.
| "1", | "0", |
Answers
M.
| "1" | "1" |
M.
| "1" | "1" |
Answers
N.
| ] | ] |
N.
| ] | ] |
Answers
O.
| [ | [ |10. | "197", | "197", |11. | "168", | "168", |12. | "2", | "3", |13. | "1" | "1" |14. | ] | ]Which SnowFlake Function can Elon use to transform this semi structured data in the output format?
O.
| [ | [ |10. | "197", | "197", |11. | "168", | "168", |12. | "2", | "3", |13. | "1" | "1" |14. | ] | ]Which SnowFlake Function can Elon use to transform this semi structured data in the output format?
Answers
P.
CONVERT_TO_ARRAY
P.
CONVERT_TO_ARRAY
Answers
Q.
SPLIT
Q.
SPLIT
Answers
R.
GROUP_BY_CONNECT
R.
GROUP_BY_CONNECT
Answers
S.
NEST
S.
NEST
Answers
Suggested answer: B
Total 130 questions
Go to page: of 13