nerdexam
Databricks

DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE · Question #84

Which of the following commands will return the location of database customer360?

The correct answer is C. DESCRIBE DATABASE customer360. DESCRIBE DATABASE <name> returns metadata about a database, including its location (storage path), owner, and properties. DROP (B) deletes the database. USE (E) sets it as the active database but returns no metadata. ALTER DATABASE SET DBPROPERTIES (D) modifies properties…

Submitted by priya_blr· Apr 18, 2026Data Management

Question

Which of the following commands will return the location of database customer360?

Options

  • ADESCRIBE LOCATION customer360;
  • BDROP DATABASE customer360;
  • CDESCRIBE DATABASE customer360;
  • DALTER DATABASE customer360 SET DBPROPERTIES ('location' = '/user'};
  • EUSE DATABASE customer360;

How the community answered

(34 responses)
  • A
    6% (2)
  • C
    91% (31)
  • D
    3% (1)

Explanation

DESCRIBE DATABASE <name> returns metadata about a database, including its location (storage path), owner, and properties. DROP (B) deletes the database. USE (E) sets it as the active database but returns no metadata. ALTER DATABASE SET DBPROPERTIES (D) modifies properties rather than displaying them. 'DESCRIBE LOCATION' (A) is not a valid Spark SQL command.

Topics

#SQL Commands#Database Metadata#Databricks SQL#Database Location

Community Discussion

No community discussion yet for this question.

Full DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE Practice