Exam Certified Data Engineer Associate All QuestionsBrowse all questions from this exam
Question 55

A data architect has determined that a table of the following format is necessary:

Which of the following code blocks uses SQL DDL commands to create an empty Delta table in the above format regardless of whether a table already exists with this name?

    Correct Answer: E

    The correct command to create an empty Delta table in the specified format, regardless of whether a table with the same name already exists, is: CREATE OR REPLACE TABLE table_name (employeeId STRING, startDate DATE, avgRating FLOAT). This command ensures the table is created with the specified columns and data types, and it will replace any existing table with the same name.

Discussion
meow_akkOption: E

E is correct you dont need to specify Delta as its the default storage format for tables.

StemixOption: E

A and E have both correct syntax, but the question mentioned "regardless of whether a table already exists with this name". Hence the correct answer is E

azure_bimonsterOption: E

E is correct option

bartftoOption: E

E. correct

benni_aleOption: E

E is correct