DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE · Question #85
A data engineer wants to create a new table containing the names of customers that live in France. They have written the following command: A senior data engineer mentions that it is organization…
The correct answer is D. COMMENT "Contains PII". In a CREATE TABLE statement, the COMMENT clause adds a human-readable description to the table, making it the correct way to document that a table contains PII. The syntax is: COMMENT 'Contains PII'. Option C (TBLPROPERTIES PII) is syntactically invalid - TBLPROPERTIES requires…
Question
Options
- AThere is no way to indicate whether a table contains PII.
- B"COMMENT PII"
- CTBLPROPERTIES PII
- DCOMMENT "Contains PII"
- EPII
How the community answered
(50 responses)- A2% (1)
- C2% (1)
- D92% (46)
- E4% (2)
Explanation
In a CREATE TABLE statement, the COMMENT clause adds a human-readable description to the table, making it the correct way to document that a table contains PII. The syntax is: COMMENT 'Contains PII'. Option C (TBLPROPERTIES PII) is syntactically invalid - TBLPROPERTIES requires key-value pair syntax like TBLPROPERTIES ('pii' = 'true'). Options A, B, and E are either invalid syntax or false statements.
Topics
Community Discussion
No community discussion yet for this question.