Let’s Get Certified
Module 07 / 16 · Implement a secure environment

Choose evidence and access controls for sensitive data

Distinguish classification, auditing, masking, ledger and row filters.

Choose evidence and access controls for sensitive data

Work through the decision

A branch supervisor can see other branches’ records after receiving a sales report grant. Finance also wants an independently verifiable history of adjustments. What should the DBA change?

Check your reasoning

For the first requirement, define and test row-level security against a trusted identity or context. The correct branch user should see its own rows and no other branch’s rows. For tamper evidence, evaluate ledger and external protection of trusted digests. Compliance labels and masked display values serve different requirements.

Watch the source lesson at 1:21:16

Compare the choices

Row-level security
Apply a security policy and predicate to filter or block rows according to trusted context. Test boundaries and relevant write operations.
Dynamic data masking
Limit displayed values for eligible principals while retaining the stored value. Consider inference and privilege limitations.
SQL auditing
Record configured operations and their context in a protected destination. Plan scope, retention and review.
Ledger
Provide cryptographic tamper evidence and verify history against independently trusted digests. Design external digest protection.

Test the decision

Write a test matrix for two branch identities, a permitted central role and a restricted contact column. Keep evidence about who performed an operation in an audited destination with suitable retention.

Practice the guide skills

  1. How should a team record sensitivity without changing who can query a column? Watch 1:21:16
    Check your answer

    Apply sensitivity classifications and review data discovery results. Add separate permissions or other enforcement when access must actually change.

  2. An auditor needs attributable successful and failed actions. Watch 1:21:53 · Continue at 1:22:42
    Check your answer

    Choose SQL auditing at the required scope, approved action groups and a protected destination. Generate a known authorized test event and verify its recorded fields and retention.

  3. A consumer needs old and new values for changed records. Watch 1:23:38 · Continue at 1:23:47
    Check your answer

    Evaluate CDC for captured changes and values. Change tracking identifies changed keys and operations for synchronization, commonly requiring a join for current values.

  4. Show limited contact information to a support role. Watch 1:24:15
    Check your answer

    Configure dynamic data masking, keep UNMASK tightly scoped and test the resulting display as that role. Restrict base access and inference opportunities separately.

  5. Provide evidence that financial history was not silently altered. Watch 1:25:42
    Check your answer

    Use ledger where appropriate and retain database digests under independent protection. Validate the ledger against a trusted digest during an audit.

  6. Two branches query the same sales table and must see only their own rows. Watch 1:24:41
    Check your answer

    Use a security policy with a row-level predicate tied to a trusted principal or context. Test two branch identities and evaluate write restrictions where needed.

Official objectives for this lesson

Related lesson · Apply policy, locks and cost controls

Knowledge check

Choose evidence and access controls for sensitive data quiz

Answer 3 questions. Check each answer for an explanation.