

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Save
A user created a transient table andThe transient table version cannot be retrieved made several changes to it over theafter 24 hours course of several days. There days after the table was created, the user would like to go back to the first version of the table. How can this be accomplished? Which Query Profile results indicatesBytes are spilling to external storage. that a warehouse is sized too small? If you want a dedicated virtualStandard warehouse, which is the lowest SnowFlake edition you should optIn Snowflake, all the Virtual Warehouses are for?dedicated to the users. If you create a virtual warehouse, you will only be the one using it. Which Snowflake role can set up aACCOUNTADMIN Snowflake Share by default? Only the ACCOUNTADMIN role has the "CREATE SHARE" privilege by default. The privilege can be granted to additional roles as needed.
How many credits will consume a14. medium sized warehouse with 2 clusters running in auto-scaled modeA medium size warehouse with one cluster for 3 hours, considering that the firstconsumes four credits per hour. The first cluster will clusters runs continuously and therun continuously for three hours, consuming 12 second one runs for 30 minutes incredits. The second one will run for only 30 the second hour?minutes, consuming two credits. The total of the warehouse will be 14 credits. If a transaction disconnects and goes4 hours into a detached state, which cannot be committed or rolled back, howIf the transaction is left open or not aborted by the long will Snowflake take to abort theuser, Snowflake automatically rolls back the transaction?transaction after being idle for four hours. You can still abort a running transaction with the system function: SYSTEM$ABORT_TRANSACTION. How can a producer share a tableReplicate your account to another region and with a consumer located in acreate a share from that region. different region? Data sharing works within the same region; however, you can replicate your account to another region and then share data from that replicated account within that account's region. This is also true across cloud platforms. When can user session variables beWhen the procedure is defined to execute as accessed in a Snowflake scriptingCALLER procedure? What COPY INTO SQL commandSINGLE=FALSE should be used to unload data into multiple files?The default is SINGLE = FALSE (i.e. unload into multiple files).
What is true about sharing data inA Snowflake account can both provide and Snowflake?consume shared data. The Data Consumer pays only for compute resources to query the shared data. With Secure Data Sharing, no actual data is copied or transferred between accounts. The only charges to consumers are for the compute resources (i.e. virtual warehouses) used to query the shared data. Any full Snowflake account can both provide and consume shared data. Which of the following is not a validSELECT CURRENT_PROVIDER(); context functions in Snowflake? In Snowflake access control model,The role used to create the object. which entity owns an object by default?To own an object means that a role has the OWNERSHIP privilege on the object. Each securable object is owned by a single role, which by default is the role used to create the object. Which of the following significantlySearch Optimization Service improves the performance of selective point lookup queries on aThe search optimization service aims to table?significantly improve the performance of certain types of queries on tables, including: Selective point lookup queries on tables. A point lookup query returns only one or a small number of distinct rows.
What is the minimum Fail-safe0 days retention time period for transient tables?Transient tables are similar to permanent tables with the key difference that they do not have a Failsafe period. Which data types does SnowflakeARRAY and VARIANT support when querying semistructured data? Which Snowflake feature allowsAccess history administrators to identify unused data that may be archived orEach row in the ACCESS_HISTORY view contains a deleted?single record per SQL statement. The record describes the columns the query accessed directly and indirectly (i.e. the underlying tables that the data for the query comes from). These records facilitate regulatory compliance auditing and provide insights on popular and frequently accessed tables and columns since there is a direct link between the user (i.e. query operator), the query, the table or view, the column, and the data. Which of the following roles orMONITOR EXECUTION privilege. privileges are required to view theTask owner (OWNERSHIP privilege) table function TASK_HISTORY? ACCOUNTADMIN The function returns the history of task usage for your entire Snowflake account or a specified task. It returns results for the ACCOUNTADMIN role, the task owner, or a role with the global MONITOR EXECUTION privilege. It returns task activity within the last 7 days or the next scheduled execution within the next 8 days.
Which statements are correctData is live, ready-to-query, and can be concerning the leveraging of third- personalized. party data from the Snowflake DataData is available without copying or moving. Marketplace? Data in the Snowflake Data Marketplace is already formatted and ready to query, and can be personalized for specific business needs. Data from the Snowflake Data Marketplace is accessed through Snowflake's Secure Data Sharing technology, which allows users to access the data without copying or moving it to their own account. Loading data into a cloud provider as a consumer account is not required to leverage data from the Snowflake Data Marketplace, and the data can be accessed and used in a Snowflake account without restriction. Data transformations may not be required when combining Data Marketplace datasets with existing data in Snowflake, as it depends on the specific data being used and how it needs to be combined or analyzed. What are best practiceAssign the ACCOUNTADMIN role to at least two recommendations for using theusers, but as few as possible. ACCOUNTADMIN system- definedEnsure all ACCOUNTADMIN roles use Multi-factor role in Snowflake? Authentication (MFA) Why would a Snowflake user createEnd users are unable to see the view definition, and a secure view instead of a standardinternal optimizations differ with a secure view. view?
What is a limitation of a MaterializedA Materialized View cannot be defined with a JOIN View? Materialized view can be joined with other tables. But you cannot include JOIN in a materialized view definition What is a characteristic of a tagA tag can have only one masking policy for each associated with a masking policy? data type. The tag can support one masking policy for each data type that Snowflake supports. What is the default Time Travel1 day retention period? Which statement is true aboutA task allows a user to execute a single SQL running tasks in Snowflake?statement/command using a predefined schedule. A task can execute any one of the following types of SQL code: Single SQL statement Call to a stored procedure Procedural logic using Snowflake Scripting Developer Guide A company needs to allow someData masking policies users to see Personally Identifiable Information (PII) while limiting otherIf you have a table with a column including PII, users from seeing the full value ofmasking rows will not solve the issue. What we the PII.need is to make the data in this column visible to some, and masked to some. Thus we need to use Which Snowflake feature will supportdynamic data masking. this?
Which Snowflake edition offers theVirtual Private Snowflake (VPS) highest level of security for organizations that have the strictestVirtual Private Snowflake offers our highest level of requirements?security for organizations that have the strictest requirements What is the MAXIMUM number of31 days days that Snowflake resets the 24hour retention period for a query result every time the result is used? A user needs to ingest 1 GB of dataSplit the file into smaller files of 100- MB each, that is available in an external stagecompress and ingest each of the smaller files. using a COPY INTO command. How can this be done with MAXIMUM performance and the LEAST cost? Which services does the SnowflakeMetadata and Authentication Cloud Services layer manage? There are 300 concurrent users on aThe warehouse is queuing the queries, increasing production Snowflake account usingthe overall query execution time. a single cluster virtual warehouse. The queries are small, but theHigh number of concurrent users with a single response time is very slow.cluster virtual warehouse. This would be a good use case for using multi cluster warehouse. This What is causing this to occur?would be a good use case for using multi-cluster warehouses, which are designed to handle concurrency problems. What is a core benefit of clustering?To increase scan efficiency in queries by improving pruning
Which Snowflake edition supportsBusiness Critical private communication between Snowflake and your other VPCsAWS PrivateLink is an AWS service for creating through AWS PrivateLink?private VPC endpoints that allow direct, secure connectivity between your AWS VPCs and the Snowflake VPC without traversing the public Internet. This feature requires the Business Critical edition or higher. What is the minimum SnowflakeEnterprise edition required to use Dynamic Data Masking? Which database objects can beSecure User-Defined Functions (UDFs) shared with the Snowflake secureExternal tables data sharing feature? Secure Data Sharing lets you share selected objects in a database in your account with other Snowflake accounts. You can share the following Snowflake database objects: Tables External tables Secure views Secure materialized views Secure UDFs
Which possibilities give us SnowflakeUsing the Snowflake UI in the Warehouse to resize a Warehouse?configuration. Using SQL command ALTER WAREHOUSE SET warehouse_size= Resizing a warehouse to a larger size is helpful to improve the performance of large, complex queries against large data sets; and improve performance while loading and unloading significant amounts of data. How is the data storage costBased on the average daily amount of compressed computed for Snowflake?data stored. Storage costs benefit from the automatic compression of all data stored, and the total compressed file size is used to calculate the storage bill for an account. What criteria does Snowflake use toIf no role was specified as part of the connection determine the current role whenand a default role has been defined for the initiating a session? Snowflake user, that role becomes the current role. If a role was specified as part of the connection and that role has been granted to the Snowflake user, the specified role becomes the current role. The Snowflake Search OptimizationSelective point lookup queries Services supports improved performance of which kind of query?Keyword: selective
Which of the following objects canSchema and Table be directly restored using the UNDROP command?Account Objects: UNDROP DATABASE Database Objects: UNDROP SCHEMA UNDROP TABLE UNDROP TAG You have the following data in aSELECT src:favouriteTechnology FROM myTable; variant column from the table "myTable". How can you query the favorite technology that Gonzalo uses? { "name": "Chris Snow", "favouriteTechnology": Snowflake, "hobbies":[ {"name": "soccer"}, {"name": "music"}, {"name": "hiking"} ]} Which character identifies a user"@~" stage? Each user has a Snowflake personal stage allocated to them by default for storing files, and no one can access them except the user it belongs to. It's represented with the "@~" character. In the following example, we are uploading the file "myfile.csv" to the stage from the current user: PUT file://C:\data\myfile.csv @~
Which of the following file formatsCSV, XML, Avro are supported by Snowflake? Which Snowflake tool would be BESTSnowCD to troubleshoot network connectivity?SnowCD (i.e. Snowflake Connectivity Diagnostic Tool) helps users to diagnose and troubleshoot their network connection to Snowflake. Snowflake's approach to accessDiscretionary Access Control (DAC) control combines aspects of two different models. One modelDiscretionary Access Control (DAC) remarks that remarks, "each object has an owner,"each object has an owner, who can, in turn, grant who can in turn grant access to thataccess to that object". In contrast, the Role-based object". What is the name of thisAccess Control (RBAC) remarks that "access model?privileges are assigned to roles, which are in turn assigned to users". Which of the following features,Fail- safe associated with Continuous DataTime Travel Protection (CDP), require additional Snowflake-provided data storage? Both Time Travel and Fail-safe require additional data storage, which has associated fees Where can a user find and review theThe LOGIN_HISTORY view in ACCOUNT_USAGE failed logins of a specific user for the past 30 days?
What action can a Resource MonitorNotify & Increase the limit. not take when it hits the limit?
How does a Snowflake userSELECT * FROM DIRECTORY(@myStage) reference a directory table created on stage mystage in a SQL query? Column level security in SnowflakeExternal tokenization allows the application of a maskingDynamic Data Masking policy to a column within a table or view. Which two features are relatedDynamic Data Masking is a security feature in to column-level security?Snowflake that enables you to mask sensitive data (for example, credit card numbers or passwords) in real- time, based on the user's permissions and role. When a user with restricted access attempts to access the masked data, the data is replaced with a masked value or redacted to ensure that sensitive information is not exposed. You can see how it works in the image below. External Tokenization is a data protection method in Snowflake that allows organizations to tokenize sensitive data before loading that data into Snowflake and dynamically detokenize data at query runtime using masking policies with Writing External Functions. Both features require Enterprise Edition (or higher). When cloning a database containingThe stored procedures and views will refer to stored procedures and regulartables in the source database. views, that have fully qualified table references, which of the following will occur?
What should be considered whenSecure views do not take advantage of the same deciding to use a Secure View?internal optimizations as standard views. No details of the query execution plan will be available in the query profiler. The internals of a secure view are not exposed in Query Profile (in the web interface). Some of the internal optimizations for views require access to the underlying data in the base tables for the view. This access might allow data that is hidden from users of the view to be exposed through user code, such as user-defined functions, or other programmatic methods. Secure views do not utilize these optimizations, ensuring that users have no access to the underlying data. What option will you specify toPURGE = TRUE delete the stage files after a successful load into a SnowflakeIf the PURGE option is set to TRUE, Snowflake will table with the COPY INTOtry its best to remove successfully loaded data files command?from stages. If the purge operation fails for any reason, it won't return any error for now. COPY INTO mytable PURGE = TRUE; Which SQL commands should beCONNECT BY and WITH used to write a recursive query if the number of levels is unknown? In which Snowflake layer doesDatabase Storage Snowflake reorganize data into its internal optimized, compressed,When data is loaded into Snowflake, Snowflake columnar format?reorganizes that data into its internal optimized, compressed, columnar format. Snowflake stores this optimized data in cloud storage.