The data architect has mandated that all tables in the Lakehouse should be configured as external Delta Lake tables. Which approach will ensure that this requirement is met?
A.
Whenever a database is being created, make sure that the LOCATION keyword is used
B.
When configuring an external data warehouse for all table storage, leverage Databricks for all ELT.
C.
Whenever a table is being created, make sure that the LOCATION keyword is used.
D.
When tables are created, make sure that the EXTERNAL keyword is used in the CREATE TABLE statement.
E.
When the workspace is being configured, make sure that external cloud object storage has been mounted.
A is correct. If a database is created using location keyword then by default all the tables created in it will use that location. They folows <provided location>/_unity_catalog/tables/<uuid>
C is the correct answer. According to the documentation only the LOCATION is needed to make a table external. Moreover, we can also assume the keyword EXTERNAL is optional in the SQL statement.
https://docs.databricks.com/en/sql/language-manual/sql-ref-external-tables.html
'A' seems more appropriate.
All the tables in Delta lake house should be marked as external.. which can be achieved using location keyword at database level instead of each table level.
According to what I've found in Databricks forums: "Database location and Table location are independent". So it looks like specifying location at DB level is not sufficient as tables will be still created as managed ones.
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.
y2kal
2 weeks, 2 days agoakashdesarda
3 weeks agoleopedroso1
9 months, 1 week agoCY
9 months, 2 weeks agoYogi05
11 months agoYogi05
11 months agoLaraujo2022
1 year agoIsio05
5 months, 2 weeks agoQuadronoid
1 year agomouad_attaqi
1 year, 1 month agochokthewa
1 year, 1 month agomht3336
10 months agoDusica
5 months, 3 weeks ago