New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Data Engineer Associate Exam - Topic 1 Question 28 Discussion

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

A data engineer wants to create a new table containing the names of customers who live in France.

They have written the following command:

CREATE TABLE customersInFrance

_____ AS

SELECT id,

firstName,

lastName

FROM customerLocations

WHERE country = 'FRANCE';

A senior data engineer mentions that it is organization policy to include a table property indicating that the new table includes personally identifiable information (Pll).

Which line of code fills in the above blank to successfully complete the task?

Show Suggested Answer Hide Answer
Suggested Answer: D

To include a property indicating that a table contains personally identifiable information (PII), the TBLPROPERTIES keyword is used in SQL to add metadata to a table. The correct syntax to define a table property for PII is as follows:

CREATE TABLE customersInFrance

USING DELTA

TBLPROPERTIES ('PII' = 'true')

AS

SELECT id,

firstName,

lastName

FROM customerLocations

WHERE country = 'FRANCE';

The TBLPROPERTIES ('PII' = 'true') line correctly sets a table property that tags the table as containing personally identifiable information. This is in accordance with organizational policies for handling sensitive information.

Reference: Databricks documentation on Delta Lake: Delta Lake on Databricks


Contribute your Thoughts:

0/2000 characters
Kerrie
3 months ago
Not sure if D is the right choice, sounds too vague.
upvoted 0 times
...
Lashaunda
3 months ago
A seems like a good option too.
upvoted 0 times
...
Samira
3 months ago
Wait, isn't PII just a comment?
upvoted 0 times
...
Elli
4 months ago
Definitely agree with D!
upvoted 0 times
...
Frederica
4 months ago
I think it's D, TBLPROPERTIES PII.
upvoted 0 times
...
Iluminada
4 months ago
I believe option C is just a comment and not a property. I think we need to use TBLPROPERTIES for this one.
upvoted 0 times
...
Latonia
4 months ago
I’m a bit confused about the syntax here. Is it 'COMMENT' or 'TBLPROPERTIES'? I wish I had practiced more examples.
upvoted 0 times
...
Kenia
4 months ago
I remember a similar question where we had to specify table properties, so I feel like it could be option D.
upvoted 0 times
...
Roy
5 months ago
I think the correct answer might be related to table properties, but I'm not entirely sure which one to use.
upvoted 0 times
...
Virgie
5 months ago
Hmm, I'm a little confused by the wording of this question. Is it asking for the exact line of code to fill in the blank, or just the general approach? I want to make sure I understand the requirements before I commit to an answer.
upvoted 0 times
...
Loise
5 months ago
Okay, I've got this. The blank should be filled with the 'TBLPROPERTIES PII' option. That's the correct syntax for adding a table property to indicate the presence of personally identifiable information. Easy peasy!
upvoted 0 times
...
Cristal
5 months ago
Hmm, this looks straightforward. I think the key is to identify the correct syntax for adding a table property to indicate the PII data. Let me think through the options carefully.
upvoted 0 times
...
Keneth
5 months ago
I'm a bit unsure about this one. The question seems to be asking for a specific line of code, but I'm not totally clear on the syntax for adding table properties. I'll need to review the documentation to make sure I understand the right approach.
upvoted 0 times
...
Malika
5 months ago
I feel pretty confident about this one. The key things to remember are that you can use non-alphabetic characters in table names, and the row name length isn't limited to 16 characters. I'll select those two options.
upvoted 0 times
...
Brinda
5 months ago
This seems like a straightforward question about program management. I'll carefully read through the options and think about the key phases of a program to determine the best answer.
upvoted 0 times
...
Veda
2 years ago
511? Really? That's just nonsense. I bet the person who suggested that is the same one who keeps asking for 'JSON support' in our SQL queries.
upvoted 0 times
Ty
2 years ago
Yeah, we definitely need to include the table property for personally identifiable information.
upvoted 0 times
...
Dannette
2 years ago
I agree, 511 doesn't make any sense in this context.
upvoted 0 times
...
...
Deja
2 years ago
I believe the answer is indeed C) "COMMENT PII" because it explicitly mentions PII in the comment.
upvoted 0 times
...
Margarett
2 years ago
I'm not sure, but I think D) TBLPROPERTIES PII might also work to indicate PII in the new table.
upvoted 0 times
...
Ines
2 years ago
I agree with Chandra, including a comment indicating PII is important for compliance.
upvoted 0 times
...
Hobert
2 years ago
Heh, 'COMMENT PII' sounds like it's trying to make a pun. Come on, let's be professional here. 'TBLPROPERTIES 'PII'=true' is the way to go.
upvoted 0 times
...
Kenia
2 years ago
Looks like a simple query to create a new table with customer data from France. I'd go with 'COMMENT 'Contains PII' to add the policy-required table property.
upvoted 0 times
Daniela
2 years ago
User 2
upvoted 0 times
...
Nicolette
2 years ago
User 1
upvoted 0 times
...
...
Chandra
2 years ago
I think the correct answer is C) "COMMENT PII".
upvoted 0 times
...

Save Cancel