Pass the Snowflake SnowPro Advanced: Architect ARA-C01 Questions and answers with CertsForce

Viewing page 4 out of 5 pages
Viewing questions 31-40 out of questions
Questions # 31:

A company is trying to Ingest 10 TB of CSV data into a Snowflake table using Snowpipe as part of Its migration from a legacy database platform. The records need to be ingested in the MOST performant and cost-effective way.

How can these requirements be met?

Options:

A.

Use ON_ERROR = continue in the copy into command.


B.

Use purge = TRUE in the copy into command.


C.

Use FURGE = FALSE in the copy into command.


D.

Use on error = SKIP_FILE in the copy into command.


Expert Solution
Questions # 32:

The following chart represents the performance of a virtual warehouse over time:

Question # 32

A Data Engineer notices that the warehouse is queueing queries. The warehouse is sizeX-Small, theminimum and maximum cluster counts are set to 1, thescaling policy is set to standard, andauto-suspend is set to 10 minutes.

How can the performance be improved?

Options:

A.

Change the cluster settings.


B.

Increase the size of the warehouse.


C.

Change the scaling policy to economy.


D.

Change auto-suspend to a longer time frame.


Expert Solution
Questions # 33:

The following DDL command was used to create a task based on a stream:

Question # 33

Assuming MY_WH is set to auto_suspend – 60 and used exclusively for this task, which statement is true?

Options:

A.

The warehouse MY_WH will be made active every five minutes to check the stream.


B.

The warehouse MY_WH will only be active when there are results in the stream.


C.

The warehouse MY_WH will never suspend.


D.

The warehouse MY_WH will automatically resize to accommodate the size of the stream.


Expert Solution
Questions # 34:

A company is using a Snowflake account in Azure. The account has SAML SSO set up using ADFS as a SCIM identity provider. To validate Private Link connectivity, an Architect performed the following steps:

* Confirmed Private Link URLs are working by logging in with a username/password account

* Verified DNS resolution by running nslookups against Private Link URLs

* Validated connectivity using SnowCD

* Disabled public access using a network policy set to use the company’s IP address range

However, the following error message is received when using SSO to log into the company account:

IP XX.XXX.XX.XX is not allowed to access snowflake. Contact your local security administrator.

What steps should the Architect take to resolve this error and ensure that the account is accessed using only Private Link? (Choose two.)

Options:

A.

Alter the Azure security integration to use the Private Link URLs.


B.

Add the IP address in the error message to the allowed list in the network policy.


C.

Generate a new SCIM access token using system$generate_scim_access_token and save it to Azure AD.


D.

Update the configuration of the Azure AD SSO to use the Private Link URLs.


E.

Open a case with Snowflake Support to authorize the Private Link URLs’ access to the account.


Expert Solution
Questions # 35:

An Architect with the ORGADMIN role wants to change a Snowflake account from an Enterprise edition to a Business Critical edition.

How should this be accomplished?

Options:

A.

Run an ALTER ACCOUNT command and create a tag of EDITION and set the tag to Business Critical.


B.

Use the account's ACCOUNTADMIN role to change the edition.


C.

Failover to a new account in the same region and specify the new account's edition upon creation.


D.

Contact Snowflake Support and request that the account's edition be changed.


Expert Solution
Questions # 36:

In a managed access schema, what are characteristics of the roles that can manage object privileges? (Select TWO).

Options:

A.

Users with the SYSADMIN role can grant object privileges in a managed access schema.


B.

Users with the SECURITYADMIN role or higher, can grant object privileges in a managed access schema.


C.

Users who are database owners can grant object privileges in a managed access schema.


D.

Users who are schema owners can grant object privileges in a managed access schema.


E.

Users who are object owners can grant object privileges in a managed access schema.


Expert Solution
Questions # 37:

A company is designing a process for importing a large amount of loT JSON data from cloud storage into Snowflake. New sets of loT data get generated and uploaded approximately every 5 minutes.

Once the loT data is in Snowflake, the company needs up-to-date information from an external vendor to join to the data. This data is then presented to users through a dashboard that shows different levels of aggregation. The external vendor is a Snowflake customer.

What solution will MINIMIZE complexity and MAXIMIZE performance?

Options:

A.

1. Create an external table over the JSON data in cloud storage.2. Create a task that runs every 5 minutes to run a transformation procedure on new data, based on a saved timestamp.3. Ask the vendor to expose an API so an external function can be used to generate a call to join the data back to the loT data in the transformation procedure.4. Give the transformed table access to the dashboard tool.5. Perform the aggregations on the dashboard


B.

1. Create an external table over the JSON data in cloud storage.2. Create a task that runs every 5 minutes to run a transformation procedure on new data based on a saved timestamp.3. Ask the vendor to create a data share with the required data that can be imported into the company's Snowflake account.4. Join the vendor's data back to the loT data using a transformation procedure.5. Create views over the larger dataset to perform the aggrega


C.

1. Create a Snowpipe to bring the JSON data into Snowflake.2. Use streams and tasks to trigger a transformation procedure when new JSON data arrives.3. Ask the vendor to expose an API so an external function call can be made to join the vendor's data back to the loT data in a transformation procedure.4. Create materialized views over the larger dataset to perform the aggregations required by the dashboard.5. Give the materialized views acce


D.

1. Create a Snowpipe to bring the JSON data into Snowflake.2. Use streams and tasks to trigger a transformation procedure when new JSON data arrives.3. Ask the vendor to create a data share with the required data that is then imported into the Snowflake account.4. Join the vendor's data back to the loT data in a transformation procedure5. Create materialized views over the larger dataset to perform the aggregations required by the dashboard


Expert Solution
Questions # 38:

A new table and streams are created with the following commands:

CREATE OR REPLACE TABLE LETTERS (ID INT, LETTER STRING) ;

CREATE OR REPLACE STREAM STREAM_1 ON TABLE LETTERS;

CREATE OR REPLACE STREAM STREAM_2 ON TABLE LETTERS APPEND_ONLY = TRUE;

The following operations are processed on the newly created table:

INSERT INTO LETTERS VALUES (1, 'A');

INSERT INTO LETTERS VALUES (2, 'B');

INSERT INTO LETTERS VALUES (3, 'C');

TRUNCATE TABLE LETTERS;

INSERT INTO LETTERS VALUES (4, 'D');

INSERT INTO LETTERS VALUES (5, 'E');

INSERT INTO LETTERS VALUES (6, 'F');

DELETE FROM LETTERS WHERE ID = 6;

What would be the output of the following SQL commands, in order?

SELECT COUNT (*) FROM STREAM_1;

SELECT COUNT (*) FROM STREAM_2;

Options:

A.

2 & 6


B.

2 & 3


C.

4 & 3


D.

4 & 6


Expert Solution
Questions # 39:

An Architect uses COPY INTO with the ON_ERROR=SKIP_FILE option to bulk load CSV files into a table called TABLEA, using its table stage. One file named file5.csv fails to load. The Architect fixes the file and re-loads it to the stage with the exact same file name it had previously.

Which commands should the Architect use to load only file5.csv file from the stage? (Choose two.)

Options:

A.

COPY INTO tablea FROM @%tablea RETURN_FAILED_ONLY = TRUE;


B.

COPY INTO tablea FROM @%tablea;


C.

COPY INTO tablea FROM @%tablea FILES = ('file5.csv');


D.

COPY INTO tablea FROM @%tablea FORCE = TRUE;


E.

COPY INTO tablea FROM @%tablea NEW_FILES_ONLY = TRUE;


F.

COPY INTO tablea FROM @%tablea MERGE = TRUE;


Expert Solution
Questions # 40:

An Architect entered the following commands in sequence:

Question # 40

USER1 cannot find the table.

Which of the following commands does the Architect need to run for USER1 to find the tables using the Principle of Least Privilege? (Choose two.)

Options:

A.

GRANT ROLE PUBLIC TO ROLE INTERN;


B.

GRANT USAGE ON DATABASE SANDBOX TO ROLE INTERN;


C.

GRANT USAGE ON SCHEMA SANDBOX.PUBLIC TO ROLE INTERN;


D.

GRANT OWNERSHIP ON DATABASE SANDBOX TO USER INTERN;


E.

GRANT ALL PRIVILEGES ON DATABASE SANDBOX TO ROLE INTERN;


Expert Solution
Viewing page 4 out of 5 pages
Viewing questions 31-40 out of questions