Pass the Databricks Data Analyst Databricks-Certified-Data-Analyst-Associate Questions and answers with CertsForce

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

A data analyst runs the following command:

SELECT age, country

FROM my_table

WHERE age >= 75 AND country = 'canada';

Which of the following tables represents the output of the above command?

A)

Question # 11

B)

Question # 11

C)

Question # 11

D)

Question # 11

E)

Question # 11

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


E.

Option E


Expert Solution
Questions # 12:

A data analyst needs to share a Databricks SQL dashboard with stakeholders that are not permitted to have accounts in the Databricks deployment. The stakeholders need to be notified every time the dashboard is refreshed.

Which approach can the data analyst use to accomplish this task with minimal effort/

Options:

A.

By granting the stakeholders' email addresses permissions to the dashboard


B.

By adding the stakeholders' email addresses to the refresh schedule subscribers list


C.

By granting the stakeholders' email addresses to the SQL Warehouse (formerly known as endpoint) subscribers list


D.

By downloading the dashboard as a PDF and emailing it to the stakeholders each time it is refreshed


Expert Solution
Questions # 13:

What is used as a compute resource for Databricks SQL?

Options:

A.

Single-node clusters


B.

Downstream BI tools integrated with Databricks SQL


C.

SQL warehouses


D.

Standard clusters


Expert Solution
Questions # 14:

A business analyst has been asked to create a data entity/object called sales_by_employee. It should always stay up-to-date when new data are added to the sales table. The new entity should have the columns sales_person, which will be the name of the employee from the employees table, and sales, which will be all sales for that particular sales person. Both the sales table and the employees table have an employee_id column that is used to identify the sales person.

Which of the following code blocks will accomplish this task?

A)

Question # 14

B)

Question # 14

C)

D)

Question # 14

Options:

A.

Option


B.

Option


C.

Option


D.

Option


Expert Solution
Questions # 15:

Consider the following two statements:

Statement 1:

Question # 15

Statement 2:

Which of the following describes how the result sets will differ for each statement when they are run in Databricks SQL?

Options:

A.

The first statement will return all data from the customers table and matching data from the orders table. The second statement will return all data from the orders table and matching data from the customers table. Any missing data will be filled in with NULL.


B.

When the first statement is run, only rows from the customers table that have at least one match with the orders table on customer_id will be returned. When the second statement is run, only those rows in the customers table that do not have at least one match with the orders table on customer_id will be returned.


C.

There is no difference between the result sets for both statements.


D.

Both statements will fail because Databricks SQL does not support those join types.


E.

When the first statement is run, all rows from the customers table will be returned and only the customer_id from the orders table will be returned. When the second statement is run, only those rows in the customers table that do not have at least one match with the orders table on customer_id will be returned.


Expert Solution
Questions # 16:

After runningDESCRIBE EXTENDED accounts.customers;, the following was returned:

Question # 16

Now, a data analyst runs the following command:

DROP accounts.customers;

Which of the following describes the result of running this command?

Options:

A.

Running SELECT * FROM delta. `dbfs:/stakeholders/customers` results in an error.


B.

Running SELECT * FROM accounts.customers will return all rows in the table.


C.

All files with the .customers extension are deleted.


D.

The accounts.customers table is removed from the metastore, and the underlying data files are deleted.


E.

The accounts.customers table is removed from the metastore, but the underlying data files are untouched.


Expert Solution
Questions # 17:

A data analyst has recently joined a new team that uses Databricks SQL, but the analyst has never used Databricks before. The analyst wants to know where in Databricks SQL they can write and execute SQL queries.

On which of the following pages can the analyst write and execute SQL queries?

Options:

A.

Data page


B.

Dashboards page


C.

Queries page


D.

Alerts page


E.

SQL Editor page


Expert Solution
Questions # 18:

The stakeholders.customers table has 15 columns and 3,000 rows of data. The following command is run:

Question # 18

After runningSELECT * FROM stakeholders.eur_customers, 15 rows are returned. After the command executes completely, the user logs out of Databricks.

After logging back in two days later, what is the status of thestakeholders.eur_customersview?

Options:

A.

The view remains available and SELECT * FROM stakeholders.eur_customers will execute correctly.


B.

The view has been dropped.


C.

The view is not available in the metastore, but the underlying data can be accessed with SELECT * FROM delta. `stakeholders.eur_customers`.


D.

The view remains available but attempting to SELECT from it results in an empty result set because data in views are automatically deleted after logging out.


E.

The view has been converted into a table.


Expert Solution
Questions # 19:

Which of the following is a benefit of Databricks SQL using ANSI SQL as its standard SQL dialect?

Options:

A.

It has increased customization capabilities


B.

It is easy to migrate existing SQL queries to Databricks SQL


C.

It allows for the use of Photon's computation optimizations


D.

It is more performant than other SQL dialects


E.

It is more compatible with Spark's interpreters


Expert Solution
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions