Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

DATABRICKS DATA ENGINEER FINAL EXAM ACTUAL QUESTIONS AND ANSWERS GUARANTEE A+

Beoordeling
-
Verkocht
-
Pagina's
9
Cijfer
A+
Geüpload op
07-01-2026
Geschreven in
2025/2026

DATABRICKS DATA ENGINEER FINAL EXAM ACTUAL QUESTIONS AND ANSWERS GUARANTEE A+

Instelling
Databricks Data Engineering
Vak
Databricks data engineering

Voorbeeld van de inhoud

DATABRICKS DATA ENGINEER FINAL EXAM ACTUAL
QUESTIONS AND ANSWERS GUARANTEE A+
✔✔Question 20
A junior data engineer has ingested a JSON file into a table raw_table with the following
schema:
cart_id STRING,
items ARRAY<item_id:STRING>
The junior data engineer would like to unnest the items column in raw_table to result in
a new table with the following schema:
cart_id STRING, item_id STRING
Which of the following commands should the junior data engineer run to complete this
task?
A. SELECT cart_id, filter(items) AS item_id FROM raw_table;
B. SELECT cart_id, flatten(items) AS item_id FROM raw_table;
C. SELECT cart_id, reduce(items) AS item_id FROM raw_table;
D. SELECT cart_id, explode(items) AS item_id FROM raw_table;
E. SELECT cart_id, slice(items) AS item_id FROM raw_table; - ✔✔D. SELECT cart_id,
explode(items) AS item_id FROM raw_table;

✔✔Question 21
A data engineer has ingested a JSON file into a table raw_table with the following
schema: transaction_id STRING,
payload ARRAY<customer_id:STRING, date:TIMESTAMP, store_id:STRING>
The data engineer wants to efficiently extract the date of each transaction into a table
with the following schema:
transaction_id STRING, date TIMESTAMP
Which of the following commands should the data engineer run to complete this task?
A. SELECT transaction_id, explode(payload) FROM raw_table;
B. SELECT transaction_id, payload.date FROM raw_table;
C. SELECT transaction_id, date FROM raw_table;
D. SELECT transaction_id, payload[date] FROM raw_table;
E. SELECT transaction_id, date from payload FROM raw_table; - ✔✔B. SELECT
transaction_id, payload.date FROM raw_table;

✔✔Question 22
A data analyst has provided a data engineering team with the following Spark SQL
query:
SELECT district, avg(sales)
FROM store_sales_20220101 GROUP BY district;
The data analyst would like the data engineering team to run this query every day. The
date at the end of the table name (20220101) should automatically be replaced with the
current date each time the query is run.
Which of the following approaches could be used by the data engineering team to
efficiently automate this process?

, A. They could wrap the query using PySpark and use Python's string variable system to
automatically update the table name.
B. They could manually replace the date within the table name with the current day's
date.
C. They could request that the data analyst rewrites the query to be run less frequently.
D. They could replace the string-formatted date in the table with a timestamp-formatted
date.
E. They could pass the table - ✔✔A. They could wrap the query using PySpark and use
Python's string variable system to automatically update the table name.

✔✔Question 23
A data engineer has ingested data from an external source into a PySpark DataFrame
raw_df. They need to briefly make this data available in SQL for a data analyst to
perform a quality assurance check on the data.
Which of the following commands should the data engineer run to make this data
available in SQL for only the remainder of the Spark session?
A. raw_df.createOrReplaceTempView("raw_df") B. raw_df.createTable("raw_df")
C. raw_df.write.save("raw_df")
D. raw_df.saveAsTable("raw_df")
E. There is no way to share data between PySpark and SQL. - ✔✔A.
raw_df.createOrReplaceTempView("raw_df") B. raw_df.createTable("raw_df")

✔✔Question 24
A data engineer needs to dynamically create a table name string using three Python
variables: region, store, and year. An example of a table name is below when region =
"nyc", store = "100", and year = "2021":
nyc100_sales_2021
Which of the following commands should the data engineer use to construct the table
name in Python?
A. "{region}+{store}+_sales_+{year}"
B. f"{region}+{store}+_sales_+{year}"
C. "{region}{store}_sales_{year}"
D. f"{region}{store}_sales_{year}"
E. {region}+{store}+"_sales_"+{year} - ✔✔D. f"{region}{store}_sales_{year}"

✔✔Question 25
A data engineer has developed a code block to perform a streaming read on a data
source. The code block is below:
(spark .read
.schema(schema)
.format("cloudFiles")
.option("cloudFiles.format", "json")
.load(dataSource)
)
The code block is returning an error.

Geschreven voor

Instelling
Databricks data engineering
Vak
Databricks data engineering

Documentinformatie

Geüpload op
7 januari 2026
Aantal pagina's
9
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$12.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
BOARDWALK Havard School
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
260
Lid sinds
2 jaar
Aantal volgers
8
Documenten
28029
Laatst verkocht
1 dag geleden
BOARDWALK ACADEMY

NBA .... FINALS Ace Your Exams With Top Quality study Notes And Paper✅✅ ALL ACADEMIC MATERIALS AVAILABLE WITH US✅✅ LEAVE A REVIEW SO THAT WE CAN LOOK AND IMPROVE OUR MATERIALS.✅✅ WE ARE ALWAYS ONLINE AND AVAILABLE DONT HESITATE TO CONTACT US FOR SYUDY GUIDES!!✅✅ EVERYTHING IS GRADED A+✅✅ COLOUR YOUR GRADES WITH US , WE ARE HERE TO HELP YOU DONT BE RELACTANT TO REACH US

3.5

37 beoordelingen

5
14
4
6
3
9
2
1
1
7

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen