ExamQuestions.com

Register
Login
Data Engineering on Microsoft Azure (DP-203) Exam Questions

Microsoft

Data Engineering on Microsoft Azure (DP-203)

92 / 240

Question 92:

While working in an Azure Databricks workspace, you need to filter depending upon the end of a column value utilizing the Column Class.You are specifically looking at a column titled name and filtered by the words ending with "ka". 
Which command filters based on the end of a column value as required?

Answer options:

A.df.filter(“name like ‘_ka’”)
B.df.filter(“name like ‘%ka’”)
C.df.filter(col(“name”).endswith(“ka”))
D.df.filter( ).col(“name”).endwith(“%ka”)