Search Header Logo

CGI: Databricks

Authored by Sandeep Flora

Computers

Professional Development

Used 2+ times

CGI: Databricks
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Spark API to read in a parquet?

spark.read.parquet('path')

read.parquet('path')

spark.read.csv('path')

spark.read.json('path')

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you call parameters in Databricks?

parameters

variables

widgets

set-parameters

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you read Azure Key Vault/Secrets in Databricks?

dbutils.secrets.get("<KeyvaultSecretScope>", "<SecretName>")

fetch.secrets.get("<KeyvaultSecretScope>", "<SecretName>")

retreive.secrets.get("<KeyvaultSecretScope>", "<SecretName>")

dbutils.vault.get("<KeyvaultSecretScope>", "<SecretName>")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you switch a notebook cell from python to SQL dialect in Databricks?

sql

%sql

*sql

set-to-sql

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you perform DML operations, such as update, deletes, and merge statement in Standard Spark without Delta Lake?

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Spark api would you use to create partitions in a Dataframe?

partion

partitionBy

createPartion

PartionBy

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What option should you use to allow for schema drift when using overwrite mode?

.option("overwriteSchema","true")

.option("mergeSchema","true")

.option("allowDrift","true")

.option("overwriteSchemaDrift","true")

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?