100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

Databricks Quick Flashcards Questions with Solutions

Puntuación
-
Vendido
-
Páginas
10
Grado
A+
Subido en
07-04-2025
Escrito en
2024/2025

Databricks Quick Flashcards

Institución
Databricks Lakehouse
Grado
Databricks Lakehouse









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Databricks Lakehouse
Grado
Databricks Lakehouse

Información del documento

Subido en
7 de abril de 2025
Número de páginas
10
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

Databricks Quick Flashcards

Which cluster configuration options can be customized at the time of cluster creation? -
answer Maximum number of worker nodes
Databricks Runtime Version
Restart Policy

Which Cluster: Due to the platform administrator's policies, a data engineer needs to
use a single cluster on one very large batch of files for an ETL workload. The workload
is automated, and the cluster will only be used by one workload at a time. They are part
of an organization that wants them to minimize costs when possible. - answer Ulti Node
Job Cluster

A data engineer is trying to merge their development branch into the main branch for a
data project's repository.

Which of the following is a correct argument for why it is advantageous for the data
engineering team to use Databricks Repos to manage their notebooks? Select one
response. – answer Databricks Repos REST API enables the integration of data
projects into CI/CD pipelines.

A data engineer needs to run some SQL code within a Python notebook. Which of the
following will allow them to do this? Select two responses. - answerThey can wrap the
SQL command in spark.sql().

They can use the %sql command at the top of the cell containing SQL code.

python command to list files in directory - answerfiles =
dbutils.fs.ls(DA.paths.kafka_events)

sql command query single file - answerSELECT * FROM json.`$
{DA.paths.kafka_events}/001.json`

how to extract Text Files as Raw Strings - answerSELECT * FROM text.`$
{DA.paths.kafka_events}`

sparl sql command to create external table - answerCREATE TABLE table_identifier
(col_name1 col_type1, ...)
USING data_source
OPTIONS (key1 = "val1", key2 = "val2", ...)
LOCATION = "path"

, sql command to show all of the metadata associated with the table definition. -
answerDESCRIBE EXTENDED <table_name>

sql command to refresh table cache - answerREFRESH TABLE <table_name>

command to extract data from external sql db - answerCREATE TABLE
USING JDBC
OPTIONS (url = "jdbc:{databaseServerType}://{jdbcHostname}:{jdbcPort}",dbtable =
"{jdbcDatabase}.table",user = "{jdbcUsername}",password = "{jdbcPassword}")

SQL Function that returns the schema derived from an example JSON string. -
answerschema_of_json('<json string>')

SQL function that parses a column containing a JSON string into a struct type using the
specified schema. - answerfrom_json(<json_string>,'<json struct schema>')

sql function that separates the elements of an array into multiple rows; this creates a
new row for each element. - answerexplode()

sql function that provides a count for the number of elements in an array for each row -
answersize()

pivot table sql logic - answerSELECT * FROM (
SELECT user_id user, event_name
FROM events
) PIVOT ( count(*) FOR event_name IN (
<pivot_columns_string>))

count null values in df - answerusersDF.selectExpr("count_if(email IS NULL)")

usersDF.where(col("email").isNull()).count()

sql command to display details of schema and table - answerDESCRIBE SCHEMA
EXTENDED <schema name>

DESCRIBE DETAIL <table name>

Whats the command to create a schema(DB) with a specific location? - answerCREATE
SCHEMA IF NOT EXISTS ${da.schema_name}_custom_location LOCATION '$
{da.paths.working_dir}/${da.schema_name}_custom_location.db';

whats the default location of schema? - answerdbfs:/user/hive/warehouse/

A trick to remember the default location of the database/schema is UHW i.e. User Hive
Warehouse.
$13.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
julianah420 Phoenix University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
658
Miembro desde
2 año
Número de seguidores
324
Documentos
34069
Última venta
2 días hace
NURSING,TESTBANKS,ASSIGNMENT,AQA AND ALL REVISION MATERIALS

On this page, you find all documents, package deals, and flashcards offered by seller julianah420

4.3

149 reseñas

5
101
4
20
3
8
2
5
1
15

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes