
S02 Apache Spark & Delta Lake
Authored by Eladio Yovera
Science
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Haz creado un dataframe a partir de un archivo CSV, deseas guardarlo como una tabla Delta. ¿Qué método debería usar?
df.createOrReplaceTempView("view_name")
df.write.format("delta").saveAsTable("table_name")
df.write.mode("overwrite").parquet("path")
df.write.mode("overwrite").csv("path")
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Qué método de Spark Dataframe es preferible por su rendimiento cuando solo se necesita un subconjunto de columnas?
groupBy
select
filter
SaveAs
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Tienes un dataframe con una columna llamada "date" en formato string, necesitas convertir a formato de fecha. ¿Qué usas?
filter
selectExpr
withColumn
select
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Al crear un custom env en Fabric ¿qué configuración permite usar una versión específica de Apache Spark para las tareas?
Enable high concurrency mode in the workspace settings.
Specify the Spark runtime in the environment settings.
Choose the node family type in the Spark pool configuration.
Ninguna de las anteriores
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which SQL magic command should you use in a Microsoft Fabric notebook to execute SQL queries directly?
%%spark
%%sql
%%pyspark
%%sparkSQL
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?