exam questions

Exam SnowPro Advanced Data Engineer All Questions

View all questions & answers for the SnowPro Advanced Data Engineer exam

Exam SnowPro Advanced Data Engineer topic 1 question 65 discussion

Actual exam question from Snowflake's SnowPro Advanced Data Engineer
Question #: 65
Topic #: 1
[All SnowPro Advanced Data Engineer Questions]

A Data Engineer defines the following masking policy:

The policy must be applied to the full_name column in the customer table:

Which query will apply the masking policy on the full_name column?

  • A. ALTER TABLE customer MODIFY COLUMN full_name
    SET MASKING POLICY name policy;
  • B. ALTER TABLE customer MODIFY COLUMN full_name
    ADD MASKING POLICY name_policy;
  • C. ALTER TABLE customer MODIFY COLUMN
    first_name SET MASKING POLICY name_policy,
    last_name SET MASKING POLICY name_policy;
  • D. ALTER TABLE customer MODIFY COLUMN
    first_name ADD MASKING POLICY name_policy,
    last_name SET MASKING POLICY name_policy;
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
azure_bimonster
2 weeks, 3 days ago
Selected Answer: C
A virtual column is similar to a normal table column but it is defined by an expression. The result of evaluation of this expression becomes the value of the column. If we look at full_name column it came with concat function that was used making it as a virtual column. So, C would be correct here.
upvoted 2 times
...
sajeski
3 weeks, 1 day ago
Selected Answer: C
Masking policy cannot be attached to a VIRTUAL_COLUMN column. so it has to be C.
upvoted 2 times
...
Snow_P
1 month ago
For sure it's SET not ADD but wondering between A and C
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago