📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

As a senior engineer in Australia, what do you need to know about privacy law? Explain the Privacy Act 1988 and the Australian Privacy Principles, the Notifiable Data Breaches scheme, the recent reforms, when GDPR also applies, and what actually changes in the way you design and build systems.

Privacy law for engineers in Australia: who the Privacy Act covers, the APPs that shape design (APP 1, 3, 5, 6, 8, 11, 12, 13), the NDB scheme, the 2024 amendments and the 2026 Tranche 2 draft, GDPR for EU users, and the engineering practices that follow.

Senior Theory Advanced australian-privacy-principles gdpr notifiable-data-breaches privacy-act privacy-by-design security

🎯 Key points

  • Privacy Act 1988 applies to APP entities: Australian Government agencies and businesses with turnover over A$3 million, plus health service providers, credit reporting bodies and others regardless of size
  • APPs that drive design: APP 1 (privacy by design, PIAs), APP 3 (collect only what's reasonably necessary - fewer form fields), APP 5 (collection notices), APP 6 (purpose tags, pseudonymous analytics), APP 8 (region and vendor inventory), APP 11 (security plus retention jobs), APP 12/13 (export and correction endpoints)
  • NDB scheme: eligible data breach likely to cause serious harm; assess within 30 days; notify OAIC and affected individuals
  • 2024 amendments (Privacy and Other Legislation Amendment Act 2024, assented 10 Dec 2024): tiered civil penalties and OAIC infringement notices, statutory tort for serious invasions of privacy (individuals can sue directly, so misuse of data by staff or systems becomes litigation risk), automated decision-making disclosure from December 2026, Children's Online Privacy Code
  • Tranche 2: exposure draft released 31 August 2026; the government intends to introduce it before the end of 2026 but no commencement date is set; proposes a fair and reasonable test and 72-hour breach reporting
  • GDPR applies when offering goods/services to, or monitoring, people in the EU: lawful basis, DPIAs, 72-hour notification, data subject rights
  • Engineering practice: a PIA per new collection or purpose, data inventory, minimisation, retention jobs, access/correction endpoints, audit logs, Australian regions, breach-ready logging

⏱ 30-second answer

The Privacy Act 1988 and its 13 Australian Privacy Principles apply to government agencies and most businesses with over A$3 million turnover (and to health providers regardless of size). For engineers the key APPs are APP 3 (collect only what's reasonably necessary), APP 6 (use it only for the purpose collected), APP 8 (you stay accountable for overseas disclosure), APP 11 (reasonable security, and destroy or de-identify when no longer needed) and APP 12/13 (access and correction). The Notifiable Data Breaches scheme requires assessing a suspected breach within 30 days and notifying the OAIC and individuals if serious harm is likely. The 2024 amendments added higher penalties, infringement notices and a statutory tort; Tranche 2 is still a draft as of November 2026. GDPR also applies if you target or monitor people in the EU. In design terms: inventory data, minimise, build retention and access features, and make logs breach-ready.

🗣 Full answer (senior)

How I would answer this in an interview

"I'm not a lawyer, but the Privacy Act shapes a lot of design decisions, so I know the parts that turn into engineering work. The Act applies to Australian Government agencies and to businesses over three million dollars turnover, plus health service providers and some others regardless of size. It's principles-based: the 13 APPs say what you must achieve, not how. The ones I design against are APP 3, collect only what's reasonably necessary; APP 5, tell people at collection; APP 6, don't use data for a secondary purpose they wouldn't expect; APP 8, if data goes overseas we're still accountable; APP 11, take reasonable steps to secure it and destroy or de-identify it when we no longer need it; and APP 12 and 13, people can access and correct their data.

For example, at [company] we were [adding a marketing analytics pipeline over customer data]. I [raised in design review] that using support conversations for marketing segmentation was a secondary purpose under APP 6, and that the analytics vendor processed data in [the US], which put us under APP 8. We ran a privacy impact assessment, switched to pseudonymous ids and an Australian-region deployment, and added a retention job. [The privacy officer signed off in two weeks instead of the project being blocked late.]

On breaches, the NDB scheme means a suspected eligible breach must be assessed within 30 days, and if serious harm is likely we notify the OAIC and affected individuals. The 2024 amendments raised the stakes: tiered penalties, OAIC infringement notices for administrative breaches, a statutory tort for serious invasions of privacy, and privacy policies have to disclose substantially automated decisions. Tranche 2, with a fair and reasonable test and a proposed 72-hour reporting window, was released as an exposure draft in August 2026 but isn't law yet. If we serve EU residents, GDPR applies too, with its 72-hour notification and stronger rights. The engineering takeaway is that privacy compliance is mostly data you didn't keep and features you built in: deletion jobs, access exports, audit logs and a data inventory."


APPs that become engineering work

APP Says Engineering consequence
1 Open and transparent management Practices, procedures and systems ensuring compliance; privacy policy Privacy by design, PIAs, data inventory, documented automated decisions
3 Collection of solicited information Only what's reasonably necessary; sensitive info needs consent Fewer form fields, no "just in case" columns
5 Notification Tell individuals what, why, who it's shared with Collection notices in UI, versioned and logged
6 Use or disclosure Primary purpose; limited secondary uses Purpose tags on data; analytics on pseudonymous data
8 Cross-border disclosure Reasonable steps; you remain accountable Region choices, vendor inventory, contracts
10 Quality Accurate, up to date Validation, correction flows
11 Security Reasonable steps incl. technical and organisational measures; destroy/de-identify Encryption, access control, logging, retention jobs
12 / 13 Access and correction Provide access within a reasonable period; correct Self-service export and correction endpoints

Australia versus GDPR, briefly

Topic Privacy Act (as of Nov 2026) GDPR
Who APP entities (A$3m threshold with exceptions) Anyone processing EU residents' data in scope
Lawful basis Purpose-based (primary/secondary) Six lawful bases, e.g. consent, contract, legitimate interest
Breach notification Assess within 30 days; notify if likely serious harm 72 hours to regulator if risk to rights
Erasure Destroy/de-identify when no longer needed (APP 11.2); no general erasure right yet Right to erasure
Penalties Tiered; serious interferences up to the greater of A$50m, 3x benefit, or 30% of adjusted turnover Up to EUR 20m or 4% of global turnover

Production example

Building self-service APP 12 access and a nightly APP 11.2 retention job for [a lending platform] took [about three sprints]. Access requests that had taken support staff [~6 hours each] dropped to minutes, and the retention job removed [~400,000] records of declined applicants older than [the 2-year retention period], which shrank the impact of any future breach.

🔍 What the interviewer is checking

Checks whether the candidate knows the Australian privacy framework accurately and can turn it into design decisions, without overstating what is law.

Green flags

  • Names the APPs that matter to engineering and what each implies.
  • Explains the NDB test and 30-day assessment correctly.
  • Knows the 2024 amendments and that Tranche 2 is a draft.
  • Knows when GDPR applies and how it differs.
  • Concrete practices: inventory, minimisation, retention jobs, access exports, PIAs.

Red flags

  • Talks only about GDPR.
  • Claims everything is "compliance's problem".
  • States proposed reforms as current law, or gets the NDB test wrong.

📚 Learn in depth

1. Structure of Australian privacy regulation

 Privacy Act 1988 (Cth)
   |- Schedule 1: 13 Australian Privacy Principles (APPs)
   |- Part IIIA: credit reporting
   |- Part IIIC: Notifiable Data Breaches scheme (since Feb 2018)
   |- APP codes, e.g. Australian Government Agencies Privacy Code,
   |   Children's Online Privacy Code (being developed under the 2024 amendments)
   |- Statutory tort for serious invasions of privacy (Schedule 2, from 2025)
 Regulator: Office of the Australian Information Commissioner (OAIC)

 Alongside it:
   State/territory laws for state agencies (e.g. NSW PPIP Act, which has its own
   mandatory breach scheme), health records Acts, the Consumer Data Right,
   APRA CPS 234 for regulated financial entities, SOCI Act for critical
   infrastructure, the Spam Act, My Health Records Act, the TFN Rule.

2. Key definitions

  • Personal information: information or an opinion about an identified individual, or one who is reasonably identifiable. Includes technical data like IP addresses and device ids when linked to a person.
  • Sensitive information: health, genetic and biometric data, racial or ethnic origin, political opinions, religious beliefs, sexual orientation, criminal record and others. Higher bar: generally needs consent to collect.
  • De-identified: no longer about a reasonably identifiable person, taking into account the context and other data available. Pseudonymised data usually isn't de-identified.

3. The NDB scheme step by step

 suspect breach
     |
     v
 contain (rotate, isolate)  -- remedial action can prevent "likely serious harm"
     |
     v
 assess (reasonable, expeditious, within 30 days)
     |   - what information, how many people, how sensitive
     |   - who has it, likelihood of misuse
     |   - can harm be prevented?
     v
 eligible? --no--> record the assessment and the reasons
     |
    yes
     v
 statement to OAIC + notify individuals (directly, or publish if not practicable)
     |
     v
 review and improve

Engineers own two things here: containment speed and evidence (logs that show what was accessed).

4. The 2024 amendments (Tranche 1)

The Privacy and Other Legislation Amendment Act 2024 received Royal Assent on 10 December 2024. Highlights relevant to engineering, as of November 2026:

  • Penalties: a tiered regime (serious interferences, mid-tier civil penalties, and infringement notices the OAIC can issue for administrative breaches such as a non-compliant privacy policy).
  • APP 11 clarified that reasonable steps include technical and organisational measures.
  • Automated decision-making: privacy policies must describe substantially automated decisions that significantly affect individuals' rights or interests, with a commencement date in December 2026. If your system scores, approves or declines automatically using personal information, the product needs that disclosure and you need to know which decisions qualify.
  • Statutory tort for serious invasions of privacy (intrusion upon seclusion or misuse of information), commenced in 2025.
  • Children's Online Privacy Code to be developed by the OAIC.
  • Eligible data breach declarations letting the government enable information sharing after major breaches.
  • Criminal offences for doxxing (in the Criminal Code).

5. Tranche 2 (draft)

An exposure draft (Privacy Amendment (Personal Data Protection) Bill 2026) was released on 31 August 2026 with dozens of reforms, including a fair and reasonable test for handling personal information, broadened definitions, and proposals such as reporting eligible breaches to the OAIC within 72 hours. It isn't law as of November 2026 and may change, so design for it without claiming it applies. Practical hedge: building breach-ready logging and a fast assessment process now makes a 72-hour window achievable later.

6. When GDPR applies too

Article 3 extends GDPR to organisations outside the EU that offer goods or services to people in the EU or monitor their behaviour. An Australian SaaS with EU customers will usually need: a lawful basis per processing activity, records of processing, DPIAs for high-risk processing, data subject rights (access, rectification, erasure, portability, objection), 72-hour breach notification, an EU representative in some cases, and transfer mechanisms. Designing for GDPR's stronger rights usually satisfies the APPs too.

7. What changes in design

Practice Implementation in a .NET system
Data inventory SQL sensitivity classification, a data catalogue (Microsoft Purview), a register of processors and regions
Privacy by design PIA template in the ADR process, privacy threats (LINDDUN) in threat models
Minimisation Field-by-field justification in design reviews; DVS instead of storing identifiers
Purpose limitation Purpose tags on datasets; analytics on pseudonymous ids
Retention Scheduled deletion and de-identification jobs, including backups and logs by age-out
Access and correction Authenticated export endpoint, correction workflow with audit
Security Encryption layers, least privilege, MFA, monitoring (APP 11 "reasonable steps")
Breach readiness SQL auditing, storage logs, retention beyond 30 days, runbooks
Automated decisions Catalogue decision points; record inputs and logic version for explanation

Try it yourself

  1. Read APP 11 and the OAIC's guide to securing personal information, and list three "reasonable steps" your current system lacks.
  2. Build a data inventory for one service: every table and column with personal information, its class, purpose and retention.
  3. Implement an /me/export endpoint that returns all personal information held about the signed-in user as JSON.
  4. Write a retention BackgroundService that deletes records past their retention date and logs counts.
  5. Identify any automated decisions in your product that significantly affect individuals and draft the privacy-policy wording the 2024 amendments require.

💻 Code

A retention job implementing APP 11.2 (destroy or de-identify when no longer needed), using EF Core bulk operations and logging counts for evidence:

namespace Lending.Privacy;

public sealed class RetentionOptions
{
    public TimeSpan DeclinedApplications { get; init; } = TimeSpan.FromDays(730);
    public TimeSpan VerificationArtefacts { get; init; } = TimeSpan.FromDays(90);
}

public sealed partial class RetentionJob(
    IServiceScopeFactory scopes,
    IOptions<RetentionOptions> options,
    TimeProvider clock,
    ILogger<RetentionJob> logger) : BackgroundService
{
    protected override async Task ExecuteAsync(CancellationToken stoppingToken)
    {
        using var timer = new PeriodicTimer(TimeSpan.FromHours(24), clock);
        do
        {
            await using var scope = scopes.CreateAsyncScope();
            var db = scope.ServiceProvider.GetRequiredService<LendingDb>();
            var now = clock.GetUtcNow();

            // De-identify rather than delete: keep aggregate reporting, drop identity.
            var deidentified = await db.Applications
                .Where(a => a.Status == ApplicationStatus.Declined
                         && a.DecidedAt < now - options.Value.DeclinedApplications
                         && a.FullName != null)
                .ExecuteUpdateAsync(s => s
                    .SetProperty(a => a.FullName, (string?)null)
                    .SetProperty(a => a.Email, (string?)null)
                    .SetProperty(a => a.DateOfBirth, (DateOnly?)null)
                    .SetProperty(a => a.Postcode, a => a.Postcode!.Substring(0, 2) + "00"), stoppingToken);

            var deleted = await db.VerificationArtefacts
                .Where(v => v.CreatedAt < now - options.Value.VerificationArtefacts)
                .ExecuteDeleteAsync(stoppingToken);

            LogRetention(deidentified, deleted);
        }
        while (await timer.WaitForNextTickAsync(stoppingToken));
    }

    [LoggerMessage(Level = LogLevel.Information,
        Message = "Retention run: {Deidentified} applications de-identified, {Deleted} verification artefacts deleted")]
    private partial void LogRetention(int deidentified, int deleted);
}

An APP 12 access endpoint: the signed-in user can export what is held about them, built from purpose-built DTOs:

app.MapGet("/me/export", async (ClaimsPrincipal user, LendingDb db, CancellationToken ct) =>
{
    var customerId = user.FindFirstValue("sub")!;
    var export = new
    {
        Profile = await db.Customers.Where(c => c.ExternalId == customerId)
            .Select(c => new { c.FullName, c.Email, c.Phone, c.DateOfBirth }).SingleAsync(ct),
        Applications = await db.Applications.Where(a => a.CustomerExternalId == customerId)
            .Select(a => new { a.Id, a.SubmittedAt, a.Status, a.DecidedAt, a.DecisionWasAutomated })
            .ToListAsync(ct),
        GeneratedAt = DateTimeOffset.UtcNow
    };
    return Results.Json(export);
}).RequireAuthorization();

⚠ Common mistakes

  • Mistake: Assuming the Privacy Act doesn't apply because the company is under A$3 million turnover. Why it is wrong: Health service providers, businesses trading in personal information, credit reporting bodies, contracted government service providers and others are covered regardless of size. Instead: Check with the privacy officer or legal; design as if covered.
  • Mistake: Describing GDPR as the Australian requirement. Why it is wrong: Different thresholds, lawful bases, rights and notification timelines; interviewers in Australia expect the APPs and NDB scheme. Instead: Lead with the Privacy Act; add GDPR only for EU users.
  • Mistake: Stating Tranche 2 reforms as current law. Why it is wrong: As of November 2026 they're an exposure draft that may change. Instead: Say what's enacted (2024 amendments) and what's proposed.
  • Mistake: Treating pseudonymised data as de-identified. Why it is wrong: If it can reasonably be re-identified (with a lookup table or by linkage), it's still personal information. Instead: Apply APP obligations to pseudonymous data and use proper de-identification techniques when claiming it's out of scope.
  • Mistake: Leaving retention as policy without implementation. Why it is wrong: APP 11.2 requires reasonable steps to destroy or de-identify, and old data increases breach impact. Instead: Automated deletion jobs with logged evidence.
  • Mistake: Sending personal information to overseas SaaS tools without review. Why it is wrong: APP 8 keeps you accountable for the recipient's handling. Instead: Maintain a processor and region inventory and review new tools.
  • Mistake: Building automated decisions with no record of inputs or logic version. Why it is wrong: The 2024 amendments require privacy policy disclosure of significant automated decisions, and complaints need explanations. Instead: Log decision inputs, model or rules version and outcome.
  • Mistake: Engineers deciding NDB notifiability on their own. Why it is wrong: It's a legal judgement with deadlines and regulator scrutiny. Instead: Provide evidence fast and let the privacy officer decide.

🏛 Senior insight: trade-offs

A senior engineer doesn't need to quote section numbers; they need to translate principles into backlog items and push back early when a design conflicts with them. The most valuable habits: a field-by-field "why do we need this?" in design reviews, a PIA for anything with new personal information, retention jobs built in the same sprint as the feature, and logs that make a breach assessment possible in days, not weeks.

A PIA in practice is a short structured document, written with the privacy officer: describe the project and data flows (reuse the threat-model DFD), list each data element with purpose, source, recipients, region and retention, test each against the APPs, record risks and the design changes that address them, and get sign-off before build. The statutory tort matters to engineers because it lets individuals sue for serious invasions of privacy that are intentional or reckless, such as staff browsing records they have no reason to see; access auditing and least privilege become litigation defences, not just security controls.

Regulatory change is constant, so design for the stricter direction. Tranche 2 has no commencement date yet, but shorter retention, faster breach assessment (a 72-hour window is proposed) and explainable automated decisions are cheap to build now and expensive to retrofit.

Approach When it fits Cost When not to
Privacy impact assessment New collection, new purpose, new vendor, automated decisions Days of effort Changes with no new personal information flows
Design to GDPR standard globally Products with EU customers or ambitions More features (erasure, portability) Purely domestic products where it delays delivery with little benefit
De-identification Analytics, research, long-term reporting Expertise, re-identification risk testing When you can't actually prevent re-identification
Australian-only hosting Government, health, regulated finance Fewer service choices Rarely a reason not to, beyond cost and feature availability

🔗 Follow-ups the interviewer may ask

  1. When: Candidate explains the Notifiable Data Breaches scheme. Why: Checks the candidate can apply the NDB scheme to a concrete incident.
    How to answer

    I treat the credential as compromised the moment it's pushed, so the first move is rotation, not deleting the commit: issue a new SQL password (or better, switch to managed identity), regenerate the storage key, update the app, then revoke the old ones. Next I investigate access: Azure SQL auditing, Storage resource logs and Entra sign-in logs for the exposure window, plus who could see the repo. Then I purge the history with git filter-repo, force-push and have collaborators re-clone. In parallel I run the Notifiable Data Breaches assessment: if personal information was accessed or is likely to have been, and serious harm is likely, we notify the OAIC and affected people; the assessment must finish within 30 days. Finally, prevention: push protection, gitleaks in CI, and removing those secrets entirely with managed identity. Rotate first, because history cleanup is cosmetic once a secret is out.

  2. When: Candidate mentions privacy by design or PIAs. Why: Checks how privacy obligations enter design through PIAs and privacy threat modelling.
    How to answer

    A privacy impact assessment (PIA) examines what personal information a project collects, why, who sees it, where it goes and how long it's kept, tested against the APPs; the OAIC expects one for high-privacy-risk projects and it's mandatory for those projects in Australian Government agencies under the Privacy (Australian Government Agencies - Governance) APP Code. LINDDUN (Linkability, Identifiability, Non-repudiation, Detectability, Disclosure of information, Unawareness, Non-compliance) is to privacy what STRIDE is to security: you walk the same data flow diagram and ask privacy questions. In an agile team I run both in one refinement session for any story that adds personal information, iterate the PIA as the design changes rather than writing it once, and turn the outputs into backlog items (minimisation, retention jobs, collection notices) and PIA updates.

  3. When: Candidate mentions APP 11 security obligations. Why: Checks APP 11 applied to logging: what never to log and how long to keep logs.
    How to answer

    Treat logs as a data store that attackers and too many staff can read. Never log secrets (passwords, tokens, Authorization headers, connection strings, card numbers) and keep personal information out: log identifiers like CustomerId, not names, emails or request bodies.

    Enforce it in code rather than by memory: Microsoft.Extensions.Compliance.Redaction lets you classify fields with attributes, map classifications to redactors (erase, or HMAC for a stable pseudonym) with AddRedaction, and apply them to logs with EnableRedaction. Use header allowlists in HTTP logging.

    In Australia, APP 11 requires reasonable steps to protect personal information and APP 11.2 requires destroying or de-identifying it when no longer needed, so retention matters, and a leaked log store can be a notifiable data breach. The trade-off: less detail in logs versus a smaller breach surface.

🛠 Real-world problems: how you handle them

Analytics pipeline redesigned after an APP 6 and APP 8 review
Situation
[A retail lender] planned a marketing analytics pipeline that fed support conversations and application data to [a US-hosted analytics vendor] for customer segmentation, with a [quarter-end] deadline.
Signals
No incident; the design review checklist flagged a new purpose for existing data and a new overseas processor.
Investigation
Mapped the data flows and fields with the product owner and privacy officer, checked the vendor's processing regions and contract terms, and assessed whether customers would reasonably expect support conversations to be used for marketing (APP 6) and whether APP 8 steps were in place.
Resolution
Immediate: paused the vendor integration before any data was sent. Redesign: pseudonymous customer ids, support conversations excluded, aggregation before export, and the vendor's Australian region under updated contract terms. Added a collection notice update and a retention job for the analytics dataset.
Prevention
PIA template added to the ADR process, a processor and region register reviewed for every new vendor, and a design review question on secondary use.

How to tell it (STAR)

**S:** We were building a marketing analytics pipeline that would send support conversations and application data to [a US analytics vendor]. **T:** As [the senior engineer on the design], I had to make it work without breaching the APPs. **A:** I raised that marketing was a secondary use under APP 6 and that the vendor triggered APP 8, ran a privacy impact assessment with the privacy officer, and redesigned around pseudonymous ids, aggregated exports and the vendor's Australian region. **R:** We shipped [two weeks later than planned] instead of being blocked at go-live, sent [no conversation data] offshore, and the PIA template became part of our design process.

More in Senior Security Topics

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me