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

Exam Certified Data Engineer Professional All Questions

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

Exam Certified Data Engineer Professional topic 1 question 52 discussion

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

Review the following error traceback:

Which statement describes the error being raised?

  • A. The code executed was PySpark but was executed in a Scala notebook.
  • B. There is no column in the table named heartrateheartrateheartrate
  • C. There is a type error because a column object cannot be multiplied.
  • D. There is a type error because a DataFrame object cannot be multiplied.
  • E. There is a syntax error because the heartrate column is not correctly identified as a column.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
CertPeople
Highly Voted 1 year, 2 months ago
Selected Answer: B
It's B, there is no column with that name
upvoted 7 times
...
rok21
Highly Voted 11 months, 3 weeks ago
Selected Answer: E
E is correct
upvoted 5 times
...
guillesd
Most Recent 9 months, 3 weeks ago
Selected Answer: B
It's B. Regarding E, a syntax error would mean that the query is not valid due to a wrongfully written SQL statement. However, this is not the case. The column just does not exist.
upvoted 2 times
...
Jay_98_11
10 months, 2 weeks ago
Selected Answer: B
https://sparkbyexamples.com/spark/spark-cannot-resolve-given-input-columns/
upvoted 1 times
...
Gulenur_GS
11 months, 3 weeks ago
the answer is E, because df.select(3*df['heartrate']).show() perfectly returns
upvoted 2 times
chokthewa
10 months, 1 week ago
3*"heartrate" is triple of string "heartrate" ,isn't value of heartrate multiplied by 3.
upvoted 1 times
...
...
Gulenur
11 months, 3 weeks ago
Answer is E df.select(3*df['heartrate']) returns perfect result without error
upvoted 2 times
...
npc0001
1 year ago
Selected Answer: B
Answer B
upvoted 2 times
...
Dileepvikram
1 year ago
Answer is B
upvoted 2 times
...
sturcu
1 year, 1 month ago
Selected Answer: B
No such column found
upvoted 2 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 ...