Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Certified Data Engineer Associate topic 1 question 64 discussion

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

A data engineer has created a new database using the following command:

CREATE DATABASE IF NOT EXISTS customer360;

In which of the following locations will the customer360 database be located?

  • A. dbfs:/user/hive/database/customer360
  • B. dbfs:/user/hive/warehouse
  • C. dbfs:/user/hive/customer360
  • D. More information is needed to determine the correct response
  • E. dbfs:/user/hive/database
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
kbaba101
Highly Voted 10 months, 3 weeks ago
B B. dbfs:/user/hive/warehouse Thereby showing "dbfs:/user/hive/warehouse/customer360.db
upvoted 9 times
...
samverma
Most Recent 1 month, 2 weeks ago
D , The database could be created after using use catalog statement . In that case location would be different, not in hive warehouse
upvoted 1 times
...
aspix82
3 months, 2 weeks ago
B. B is "default"
upvoted 1 times
...
jskibick
3 months, 3 weeks ago
Selected Answer: D
D is correct. We do not know if this is a Unity Catalog enabled database. If so it would be created in default location of catalog as managed table. Therefore too little info to answer.
upvoted 2 times
...
benni_ale
4 months, 1 week ago
Selected Answer: B
B is correct
upvoted 1 times
...
Bob123456
6 months, 2 weeks ago
While usage schema and database is interchangeable, schema is preferred. Option B is correct
upvoted 1 times
...
UGOTCOOKIES
7 months, 2 weeks ago
Selected Answer: B
Creating tables without using the LOCATION keyword to specify a location will create the table (a managed table) in the default directory which is: dbfs:/user/hive/warehouse https://docs.databricks.com/en/dbfs/root-locations.html
upvoted 1 times
...
Garyn
8 months, 1 week ago
Selected Answer: B
B. dbfs:/user/hive/warehouse Explanation: In Databricks, the default location for databases created in the Hive Metastore is often under the warehouse directory. The CREATE DATABASE command usually creates the metadata entry for the database in the Hive Metastore, but it doesn’t directly create the physical database directory within DBFS (Databricks File System). The exact path structure may differ based on configuration or settings in the Databricks environment, but generally, the warehouse directory is where Hive databases' metadata resides. The physical data within the database will be stored in DBFS, but the metadata for the customer360 database should be within the warehouse directory in Hive Metastore.
upvoted 1 times
...
kz_data
9 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Huroye
9 months, 3 weeks ago
correct answer is B. dbfs:/user/hive/warehouse. All managed objects are stored in the default location unless specified.
upvoted 1 times
...
anandpsg101
10 months, 2 weeks ago
Selected Answer: B
b is correct
upvoted 1 times
...
SD5713
10 months, 2 weeks ago
Selected Answer: B
dbfs:/user/hive/warehouse - which is the default location
upvoted 2 times
...
meow_akk
10 months, 3 weeks ago
Ans A : https://community.databricks.com/t5/data-engineering/database-within-a-database-in-databricks/td-p/20731#:~:text=The%20default%20location%20of%20a,and%20Table%20location%20are%20independent. The default location of a database will be in the /user/hive/warehouse/<databasename. db>. Irrespective of the location of the database the tables in the database can have different locations and they can be specified at the time of creation. Database location and Table location are independent.
upvoted 1 times
SD5713
10 months, 2 weeks ago
dbfs:/user/hive/warehouse - which is the default location
upvoted 3 times
...
...
kishanu
10 months, 3 weeks ago
Selected Answer: B
dbfs:/user/hive/warehouse - which is the default location of any object created
upvoted 3 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 ...