In Delta Lake, an external (or unmanaged) table is a table created outside of the data lake but is still accessible from the data lake. The data for external tables is stored in a location specified by the user, not in the default directory of the data lake. When you save data to an external table, you need to specify the full file path where the data will be stored. This makes the table “external” because the data itself is not managed by Delta Lake, only the metadata is. This is why specifying a full file path alongside the Delta format when saving data to a table will ensure that the table is configured as an external Delta Lake table.
Here's why the other options may not ensure the requirement is met:
D. Delta Lake does not use the EXTERNAL keyword in the same way as some other SQL-based systems. In Delta Lake, whether a table is external is determined by where the data files are stored, not by a keyword in the CREATE TABLE statement.
%sql
CREATE TABLE f1_demo.results_external
USING DELTA
LOCATION '/mnt/formula1dl/demo/results_external'
I think it should be A because when a database is created using a location all tables within this database are automatically assign as unmanaged tables.
C is plausible answer, as in this case we are writing the data to an external location
upvoted 1 times
...
Log in to ExamTopics
Sign in:
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.
sturcu
Highly Voted 1 year, 1 month agohjy
Most Recent 2 months, 2 weeks agovctrhugo
9 months, 3 weeks agojkhan2405
10 months, 1 week agoJamesWright
11 months, 3 weeks agoaragorn_brego
1 year agoDileepvikram
1 year agoLaraujo2022
1 year ago60ties
1 year agosturcu
1 year agomouad_attaqi
1 year, 1 month ago