Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Data Engineer Associate All Questions

View all questions & answers for the Certified Data Engineer Associate exam

Exam Certified Data Engineer Associate topic 1 question 78 discussion

Actual exam question from Databricks's Certified Data Engineer Associate
Question #: 78
Topic #: 1
[All Certified Data Engineer Associate Questions]

A data engineer is using the following code block as part of a batch ingestion pipeline to read from a composable table:



Which of the following changes needs to be made so this code block will work when the transactions table is a stream source?

  • A. Replace predict with a stream-friendly prediction function
  • B. Replace schema(schema) with option ("maxFilesPerTrigger", 1)
  • C. Replace "transactions" with the path to the location of the Delta table
  • D. Replace format("delta") with format("stream")
  • E. Replace spark.read with spark.readStream
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
benni_ale
7 months ago
Selected Answer: E
E is ok
upvoted 2 times
...
AndreFR
11 months, 1 week ago
Selected Answer: E
https://docs.databricks.com/en/structured-streaming/tutorial.html#use-auto-loader-to-read-streaming-data-from-object-storage
upvoted 2 times
...
55f31c8
12 months ago
Selected Answer: E
Example from https://docs.databricks.com/en/structured-streaming/delta-lake.html spark.readStream.table("table_name") spark.readStream.load("/path/to/table")
upvoted 4 times
in89_io_90
11 months, 4 weeks ago
have you cleared the exam
upvoted 2 times
...
...
meow_akk
1 year, 1 month ago
Ans E; for streaming source you use readstream. https://docs.databricks.com/en/structured-streaming/delta-lake.html
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...