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 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: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
kbaba101
Highly Voted 1 year, 1 month ago
B B. dbfs:/user/hive/warehouse Thereby showing "dbfs:/user/hive/warehouse/customer360.db
upvoted 9 times
...
Medkalys
Most Recent 1 week, 3 days ago
Selected Answer: D
D I think you can have different configurations in each env so it doesn't mean that it will be created in this location dbfs:/user/hive/warehouse
upvoted 1 times
...
samverma
4 months 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
6 months ago
B. B is "default"
upvoted 1 times
...
jskibick
6 months, 1 week 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 3 times
...
benni_ale
6 months, 4 weeks ago
Selected Answer: B
B is correct
upvoted 1 times
...
Bob123456
9 months ago
While usage schema and database is interchangeable, schema is preferred. Option B is correct
upvoted 1 times
...
UGOTCOOKIES
10 months 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 2 times
...
Garyn
10 months, 4 weeks 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 2 times
...
kz_data
11 months, 3 weeks ago
Selected Answer: B
B is correct
upvoted 1 times
...
Huroye
1 year ago
correct answer is B. dbfs:/user/hive/warehouse. All managed objects are stored in the default location unless specified.
upvoted 1 times
...
anandpsg101
1 year, 1 month ago
Selected Answer: B
b is correct
upvoted 1 times
...
SD5713
1 year, 1 month ago
Selected Answer: B
dbfs:/user/hive/warehouse - which is the default location
upvoted 2 times
...
meow_akk
1 year, 1 month 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
1 year, 1 month ago
dbfs:/user/hive/warehouse - which is the default location
upvoted 3 times
...
...
kishanu
1 year, 1 month 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 ...