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 55 discussion

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

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?

  • A.
  • B.
  • C.
  • D.
  • E.
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
meow_akk
Highly Voted 1 year, 1 month ago
E is correct you dont need to specify Delta as its the default storage format for tables.
upvoted 6 times
...
RandomForest
Most Recent 1 month ago
Selected Answer: E
E is correct because you dont need to specify Delta as its the default storage format for tables and the question states "regardless of whether the table already exists". As a result A is wrong as it will NOT recreate the table if it exists.
upvoted 1 times
...
9d4d68a
2 months, 4 weeks ago
The closest correct option could be C but it shouldn't have with column clause To create an empty Delta table with the specified schema in SQL, you can use the CREATE TABLE statement with the USING DELTA clause. The IF NOT EXISTS option ensures that the table is created only if it does not already exist. Here’s the SQL code block that accomplishes this: CREATE TABLE IF NOT EXISTS your_table_name ( employeeld STRING, startDate DATE, avgRating DOUBLE ) USING DELTA;
upvoted 1 times
...
80370eb
3 months, 2 weeks ago
Selected Answer: A
A is the correct answer. create table if not exists will check if the table already exists in database. if not it will create the new table.
upvoted 1 times
7082935
2 months, 4 weeks ago
Disagree. The question states that it wants to create an empty table "regardless of whether the table already exists". This means that your chosen answer A will NOT recreate the table if it exists.
upvoted 1 times
...
...
benni_ale
6 months, 4 weeks ago
Selected Answer: E
E is correct
upvoted 1 times
...
Stemix
10 months ago
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
upvoted 3 times
...
azure_bimonster
10 months, 1 week ago
Selected Answer: E
E is correct option
upvoted 2 times
...
bartfto
10 months, 2 weeks ago
Selected Answer: E
E. correct
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 ...