exam questions

Exam Certified Data Engineer Professional All Questions

View all questions & answers for the Certified Data Engineer Professional exam

Exam Certified Data Engineer Professional topic 1 question 34 discussion

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

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.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sriramiyer92
1 month, 3 weeks ago
Selected Answer: C
Note: External keyword is not mandatory. Location is mandatory the presence implies, that the table is external
upvoted 2 times
...
carah
1 month, 3 weeks ago
Selected Answer: C
A. is not correct: having schema with LOCATION CREATE SCHEMA my_schema LOCATION 's3://<bucket-path>/my_schema'; Table Location Scenarios: Table Without LOCATION: CREATE TABLE my_schema.my_table (id INT); The table will be stored in the default warehouse directory (e.g., dbfs:/user/hive/warehouse/), not the schema's LOCATION. Table With Explicit LOCATION: If you want the table to be stored under the schema's LOCATION, you need to specify the location explicitly: CREATE TABLE my_schema.my_table (id INT) LOCATION 's3://<bucket-path>/my_schema/my_table/'; So, if you want all tables under the schema to use the schema’s LOCATION, explicitly specify the LOCATION for each table during creation.
upvoted 3 times
...
y2kal
3 months ago
It should be A, as the question states "all tables". Once an external DB is created, then all the tables in that would be by default be external.
upvoted 1 times
...
akashdesarda
3 months ago
Selected Answer: A
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>
upvoted 1 times
...
leopedroso1
11 months, 3 weeks ago
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
upvoted 2 times
...
CY
12 months ago
'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.
upvoted 3 times
...
Yogi05
1 year, 1 month ago
Why not D? i know both C and D are same, but D is more precise
upvoted 2 times
Yogi05
1 year, 1 month ago
my bad. D is having EXTERNAL keyword, got confused. C is correct answer
upvoted 2 times
...
...
Laraujo2022
1 year, 2 months ago
If you set a location in a database level, all tables under this database are automatically external table, in my opinion is A is correct.
upvoted 1 times
Isio05
8 months ago
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.
upvoted 3 times
...
...
Quadronoid
1 year, 3 months ago
Selected Answer: C
C is correct. Location keyword should be in create script of the table
upvoted 4 times
...
mouad_attaqi
1 year, 3 months ago
C is correct, the key word to be used is Location, the keyword external is optional
upvoted 3 times
...
chokthewa
1 year, 3 months ago
The correct is D
upvoted 2 times
mht3336
1 year ago
there is no EXTERNAL key word in databricks, however it is there for other systems like Oracle, Hive, Cassandra etc.
upvoted 1 times
Dusica
8 months, 1 week ago
and microsoft synapse
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago