Database Security

Chapter 15
Incident Response, Forensics and Emerging Developments

Diploma in Cyber security
Database Security   •   Diploma

Incident Response, Forensics and Emerging Developments

Introduction

Database systems contain identity records, financial transactions, health information, intellectual property and operational data. A compromise of a database can therefore affect confidentiality, integrity, availability, privacy, safety and business continuity simultaneously. Database security incidents may involve stolen credentials, SQL injection, ransomware, malicious insiders, cloud misconfiguration, supply-chain compromise, destructive administration, or abuse of legitimate application privileges.

Incident response is the organised process of detecting, analysing, containing, eradicating and recovering from a security incident. Database forensics is the disciplined examination of database, operating-system, network and application evidence to determine what happened, when it happened, how it happened, which data was affected and whether evidence can be relied upon. These activities must be coordinated: careless containment can destroy evidence, while excessive forensic delay can increase harm.

This chapter examines professional incident response, evidence preservation, database-specific forensic methods, breach containment and recovery. It then evaluates artificial-intelligence-enabled attacks and defence, confidential computing, privacy-enhancing technologies, security automation and future database security trends.

Learning Objectives

By the end of this chapter, a learner should be able to:

  1. Explain the lifecycle of a database incident response process.
  2. Classify and preserve database evidence using defensible forensic procedures.
  3. Investigate suspicious database activity and establish a reliable timeline.
  4. Contain a breach while protecting evidence and business continuity.
  5. Support eradication, recovery, notification and lessons learned.
  6. Evaluate AI-enabled database attacks and defensive uses of AI.
  7. Describe confidential computing and major privacy-enhancing technologies.
  8. Assess automation, governance, ethical issues and emerging trends in database security.

1. The Nature of Database Incidents

A database incident is an event that threatens the confidentiality, integrity or availability of database assets, or violates an organisation’s security policy. Not every security event is an incident. A failed login may be an ordinary event; thousands of failed logins followed by a successful privileged login may constitute an incident.

1.1 Common incident categories

CategoryTypical examplePrimary security property affected
Unauthorised disclosureExport of customer recordsConfidentiality
Unauthorised modificationAlteration of payment-account dataIntegrity
Destruction or ransomwareEncrypted production databaseAvailability and integrity
Privilege abuseAdministrator querying restricted health recordsConfidentiality and governance
Injection attackMalicious input changes a query’s meaningIntegrity and confidentiality
MisconfigurationPublicly accessible cloud databaseConfidentiality
Service abuseExcessive queries exhaust resourcesAvailability
Supply-chain compromiseMalicious database driver or extensionAll three properties

Database incidents are often difficult to investigate because activity is distributed across database audit logs, application logs, identity-provider records, operating-system logs, cloud control-plane events, network telemetry, backup systems and endpoint evidence. Logs may use different clocks, identifiers and retention periods. A sound investigation therefore treats the database as one component of a larger socio-technical system.

1.2 Incident severity and prioritisation

Severity should reflect more than the number of records involved. Relevant factors include data sensitivity, affected individuals, privilege level, duration, evidence of exfiltration, operational impact, regulatory obligations, safety implications and the possibility that the attacker remains present. A small compromise of an administrator account may be more serious than a large exposure of low-sensitivity data.

A useful professional practice is to define severity criteria before an incident occurs. For example, an organisation may classify a confirmed compromise of a privileged account or regulated data store as critical, requiring immediate executive, legal and technical coordination.

2. Incident Response as a Lifecycle

Widely used incident-response approaches describe related stages, although terminology differs among frameworks. A practical database lifecycle is:

  1. Preparation
  2. Detection and analysis
  3. Containment
  4. Eradication
  5. Recovery
  6. Post-incident improvement

These stages are iterative rather than strictly linear. New evidence may return investigators from containment to analysis, and recovery may reveal additional compromise.

2.1 Preparation

Preparation includes assigning responsibilities, documenting escalation paths, maintaining contact lists, testing backups, establishing logging standards, training personnel and preparing forensic tools. Database-specific preparation should include:

  • centralised, tamper-evident audit logging;
  • time synchronisation using a trusted time service;
  • documented database versions, replicas, extensions and dependencies;
  • tested restoration procedures and recovery-point objectives;
  • privileged-access management and emergency accounts;
  • pre-approved isolation and communication procedures;
  • legal and privacy guidance for evidence handling;
  • retention policies that preserve relevant logs long enough for investigation.

Preparation also requires an asset inventory. Investigators cannot protect or examine an unknown database, shadow instance or unmanaged replica.

2.2 Detection and analysis

Detection may arise from an intrusion-detection system, database activity monitoring, a user report, a cloud alert, a data-loss-prevention system or an anomaly-detection model. The initial task is triage: determine whether the alert is credible, identify affected systems and estimate urgency.

The analyst should ask:

  • What account, service or process generated the activity?
  • Which database, schema, tables or records were involved?
  • Was data read, changed, deleted or exported?
  • Did the activity originate from an expected host and location?
  • Are there signs of persistence, privilege escalation or lateral movement?
  • What is the earliest reliable indication and the latest suspicious event?

An alert is not proof. Database investigators should correlate multiple sources and preserve the original records before filtering or transforming them.

2.3 Containment

Containment limits harm and prevents continued attacker access. Short-term actions may include disabling a compromised account, revoking tokens, blocking an origin, restricting network paths, stopping an exposed endpoint or placing a database in read-only mode. Long-term containment may involve rebuilding a clean environment, rotating secrets and separating affected systems from critical services.

Containment decisions must consider evidence. For example, abruptly shutting down a compromised host may lose volatile memory and active network information. Conversely, leaving an attacker connected to preserve evidence may permit additional data theft. The incident commander, forensic lead, system owner and legal or privacy officers should agree on proportionate action.

2.4 Eradication, recovery and lessons learned

Eradication removes the cause and persistence mechanisms. It may require patching vulnerable software, removing malicious accounts, correcting access policies, replacing compromised credentials, rebuilding systems from trusted images and validating extensions or stored procedures.

Recovery should proceed in controlled stages. Backups must be checked for integrity and for signs that they contain the attacker’s persistence. Restored systems should be monitored closely, and privileged credentials should be rotated before or during restoration. Recovery objectives should be measured using two common concepts:

  • Recovery point objective (RPO): the maximum acceptable period of data loss, measured backward from the incident.
  • Recovery time objective (RTO): the maximum acceptable time to restore service.

After recovery, the organisation should conduct a blameless review. It should identify control failures, detection gaps, decisions that worked, communication problems and measurable corrective actions. A lesson learned is valuable only when assigned to an owner with a deadline and verification method.

3. Database Forensics

Database forensics applies forensic principles to database-related evidence. The fundamental requirements are authenticity, integrity, relevance, reliability, repeatability and documented handling.

3.1 Evidence sources

Important evidence may include:

  • database audit and transaction logs;
  • query logs, error logs and connection records;
  • system catalogues, metadata and permission tables;
  • application logs and API gateway records;
  • identity, authentication and privileged-access logs;
  • operating-system event logs, processes and scheduled tasks;
  • network flow records, DNS data and packet captures;
  • cloud control-plane and storage-access logs;
  • backups, snapshots, replicas and exported files;
  • endpoint memory, disks and command histories;
  • email, ticketing and change-management records.

Different database engines expose different evidence. Transaction logs may show changes but not every read operation. Audit extensions may record reads but may be disabled, incomplete or vulnerable to configuration changes. A forensic conclusion should therefore state what the evidence can and cannot establish.

3.2 Evidence preservation

The first principle is to preserve the original evidence and perform analysis on verified copies. A typical process is:

  1. Record the incident identifier, investigator, date, time zone and authority.
  2. Document the system state before making changes where safely possible.
  3. Collect volatile evidence when justified, such as active sessions and memory.
  4. Acquire logs, database files, snapshots or exports using approved tools.
  5. Calculate cryptographic hashes for acquired files.
  6. Store originals in access-controlled, write-protected or immutable storage.
  7. Maintain a chain-of-custody record for every transfer or examination.
  8. Record tools, versions, commands, filters and interpretation decisions.

A cryptographic hash is a fixed-length digest of data. If the same approved hash algorithm produces the same digest for an acquired file at two points in time, this supports the conclusion that the file was not altered between those checks. A hash does not prove that the original file was truthful or that the correct file was collected; it supports integrity verification of the acquired object.

3.3 Timeline construction

Timeline analysis places events from different sources on a common time scale. Investigators must account for time zones, daylight-saving changes, clock drift, log ingestion delay and differing timestamp precision. A reliable timeline should retain the original timestamp and record the normalised timestamp used for correlation.

For example, a suspicious query at 14:03:12 UTC may be linked to an identity-provider login at 14:02:58 UTC, a privilege change at 14:03:05 UTC and an outbound transfer at 14:04:01 UTC. This sequence is more informative than any individual event, but correlation is not proof of causation. The investigator should seek independent supporting evidence.

3.4 Forensic analysis questions

A database forensic examination commonly determines:

  • the initial access vector;
  • accounts and privileges used;
  • affected hosts, databases, schemas and tables;
  • records viewed, inserted, changed or deleted;
  • whether data was staged, compressed or exfiltrated;
  • persistence mechanisms and lateral movement;
  • the duration and scope of access;
  • whether data was altered before or after detection;
  • the confidence level and limitations of each conclusion.

Investigators should avoid unnecessary exposure of sensitive records. Query results should be minimised, masked where possible and accessed only by authorised personnel. The objective is to establish facts, not to copy an entire database simply because it is technically convenient.

4. Containment and Recovery in Practice

Database containment must preserve essential services while reducing attacker capability. A decision matrix can help:

SituationPossible actionEvidence and continuity concern
Compromised user accountDisable account and revoke sessionsPreserve authentication and session logs first
Exposed internet endpointRestrict network access or place behind a controlled gatewayConfirm legitimate dependencies
Active destructive attackIsolate write paths and protect replicasEnsure clean replicas are not overwritten
Suspected stolen secretRotate credentials and tokensRecord which systems used the secret
Malicious data modificationQuarantine affected data and compare with trusted sourcesPreserve transaction and audit logs
RansomwareIsolate affected hosts; restore from verified backupsDo not assume recent backups are clean

A recovery plan should distinguish availability recovery from integrity recovery. Bringing a service online quickly is not sufficient if corrupted balances, permissions or clinical records are restored. Integrity validation may include checks against business rules, reconciliation with independent systems, review of privileged changes and sampling of affected records.

A useful recovery sequence is:

  1. Confirm that attacker access has been removed or controlled.
  2. Establish a trusted baseline and rotate relevant credentials.
  3. Select a backup or replica whose provenance is understood.
  4. Restore into an isolated environment.
  5. Validate software, configuration, permissions and data integrity.
  6. Conduct security testing and business-owner acceptance.
  7. Reconnect in stages with heightened monitoring.
  8. Retain incident evidence and document residual risk.

5. Legal, Ethical and Governance Considerations

Incident response may involve personal data, employee monitoring, cross-border transfers and evidence that could later be used in disciplinary or legal proceedings. Organisations must coordinate technical work with applicable privacy, breach-notification, employment, contractual and sector-specific requirements. Requirements differ by jurisdiction; therefore, this chapter does not substitute for legal advice.

Important governance principles include data minimisation, purpose limitation, access control, proportionality, secure retention and accountability. Investigators should not browse unrelated personal records, share screenshots casually or use incident data for training without an appropriate legal and ethical basis.

Disclosure decisions should be accurate and timely. Organisations should distinguish confirmed facts, reasonable inferences and unknowns. Overstating certainty can mislead affected people; delaying notification without justification can increase harm and regulatory exposure.

6. Artificial Intelligence in Database Security

AI affects both attack and defence. Attackers may use generative systems to produce convincing phishing messages, adapt SQL injection attempts, discover exposed databases, automate credential attacks or analyse stolen data. Machine-learning systems themselves may be attacked through prompt injection, data poisoning, model extraction, evasion, insecure tools or leakage of sensitive training data.

Defenders may use AI for anomaly detection, log summarisation, entity and behaviour analytics, query-risk scoring, malware classification, attack-path analysis and incident triage. A model might flag an unusual sequence such as a service account accessing a new geography, querying rarely used tables and transferring an unusually large result set.

AI output must be treated as decision support rather than unquestionable evidence. A model can produce false positives, false negatives, unstable explanations and biased outcomes. It may also expose confidential logs to an external service. Defensive controls should include:

  • approved data boundaries and redaction;
  • human review for high-impact actions;
  • authenticated tool use and least privilege;
  • logging of prompts, model versions and actions;
  • adversarial testing and drift monitoring;
  • independent verification of important findings;
  • fallback procedures when the model is unavailable.

AI-assisted response should not automatically disable accounts, delete records or notify customers without a governed decision process. Automation may accelerate an incorrect conclusion at machine speed.

7. Confidential Computing

Confidential computing protects data while it is being processed by using hardware-supported trusted execution environments (TEEs). Conventional encryption primarily protects data at rest and in transit; confidential computing seeks to protect data in use from unauthorised access by the operating system, hypervisor or cloud administrator, depending on the threat model.

A confidential database deployment may use encrypted memory, hardware isolation and remote attestation. Attestation allows a relying party to verify that a workload is running approved code and configuration before releasing a key or sensitive data.

Confidential computing does not remove all risks. Data may be exposed through application vulnerabilities, authorised queries, side channels, poor key management, malicious administrators inside the trusted workload or compromised input and output channels. TEEs also create operational challenges involving performance, debugging, key release and vendor dependence.

8. Privacy-Enhancing Technologies

Privacy-enhancing technologies (PETs) reduce unnecessary exposure while allowing useful analysis or service delivery.

TechnologyMain ideaTypical useImportant limitation
Encryption at rest/in transitProtect data stored or transmittedDatabase storage and connectionsDoes not protect data after authorised decryption
TokenisationReplace sensitive values with tokensPayment and identity systemsToken vault remains highly sensitive
Format-preserving encryptionEncrypt while retaining a required formatLegacy applicationsOften has complex security and key-management requirements
Differential privacyAdd calibrated randomness to released resultsStatistics and analyticsPrivacy and accuracy trade off; repeated releases require accounting
Secure multiparty computationParties compute jointly without revealing inputsCross-organisation analysisComputational and communication overhead
Homomorphic encryptionCompute on encrypted dataSelected outsourced analyticsOften expensive and functionally restricted
Federated learningTrain across local data without centralising raw recordsDistributed health or financial modelsGradients and models may still leak information
Data masking and minimisationReduce or transform data exposureTesting and investigationsMasking must resist re-identification

PET selection should be based on the threat model, accuracy requirement, performance budget, legal purpose and re-identification risk. No PET provides universal privacy.

Differential privacy concept

A mechanism is commonly described as ε-differentially private when the probability of any output changes only by a bounded multiplicative factor when one person’s record is added or removed. Informally, smaller ε generally provides stronger privacy but may reduce analytical accuracy. The guarantee depends on the mechanism, neighbouring-dataset definition, composition across repeated queries and protection of auxiliary information. It is not a promise that an individual can never be inferred.

9. Security Automation and Orchestration

Security orchestration, automation and response (SOAR) platforms connect alerts, enrichment sources, ticketing systems and response actions. A database playbook may enrich an alert with account ownership, query history, data classification and recent changes; request approval; revoke a token; preserve logs; and open an incident record.

Automation is most reliable for deterministic, reversible and low-risk tasks, such as collecting metadata, adding a case label or checking whether a backup exists. High-impact actions should normally require approval, especially deletion, production isolation, mass credential revocation and customer notification.

Automation should be tested like production software. Teams should use version control, peer review, least-privilege service accounts, simulation environments, rollback procedures and audit logs. A playbook that silently fails or uses stale assumptions can create a second incident.

10. Illustrative Case Study: Compromised Analytics Account

Background

A regional retailer operates a cloud data warehouse containing customer profiles, purchase history and marketing attributes. An analytics service account is permitted to read several datasets and write to a temporary staging area. Database audit logging, identity-provider logs and cloud network-flow records are enabled.

Problem

The security team detects that the service account has begun querying customer identity fields outside its normal schedule. Shortly afterward, an outbound transfer to an unfamiliar cloud address is observed. The account is also used from a country in which the retailer has no operations.

Analysis

Investigators preserve identity, database and cloud logs, calculate hashes for exported evidence and document the collection process. Timeline correlation shows that a leaked API secret was used to authenticate, the account’s normal read permission was abused, and results were written into a staging table before transfer. There is no evidence that production records were modified, but the team cannot initially determine whether all rows were exported.

The investigators avoid copying the entire warehouse. They examine query text, result sizes, staging-table contents, object-access logs and network-flow volumes. They compare the account’s historical behaviour with the suspicious activity, while recording that behavioural difference is an indicator rather than proof of malicious intent.

Approach and solution

The incident commander approves immediate revocation of the API secret and active sessions. Network egress from the affected workload is restricted, while a controlled forensic copy of relevant logs and staging data is retained. The service account is replaced with separate, narrowly scoped identities for development and production. Access to identity fields is reduced through column-level controls and approved views.

The organisation restores a clean staging environment, validates that no production data changed, and searches other systems for use of the same secret. It engages privacy and legal officers to assess notification obligations. Monitoring rules are updated to detect unusual geography, query volume, access to sensitive columns and large staging-to-external transfers.

Outcome

The investigation establishes unauthorised access to a defined set of customer fields and identifies the compromised secret as the initial access vector. The organisation improves secret rotation, workload identity, egress controls, data minimisation and audit review. It also discovers that a previous alert was generated but not investigated because ownership was unclear.

Learning points

  1. A legitimate service account can be an attack path.
  2. Query and network evidence must be correlated.
  3. Least privilege reduces the scope of a stolen credential.
  4. Evidence preservation and containment can occur together when actions are planned.
  5. Detection requires ownership, not merely technology.

11. Future Directions and Critical Evaluation

Database security is moving toward continuous verification, policy-as-code, identity-centric controls, cloud-native monitoring and machine-assisted analysis. Important developments include:

  • Zero-trust database access: every request is evaluated using identity, device, workload, context and policy rather than network location alone.
  • Continuous adaptive authorisation: permissions and risk decisions change with context, sensitivity and observed behaviour.
  • Data security posture management: automated discovery and classification identify exposed data, excessive privilege and unsafe configuration.
  • Database activity analytics: behavioural models detect unusual access patterns, although explainability and false positives remain challenges.
  • Immutable and verifiable audit trails: append-only storage and cryptographic techniques improve confidence in log integrity.
  • Cloud and edge database protection: distributed copies increase availability but complicate data location, consistency and evidence collection.
  • Post-quantum migration planning: organisations are assessing cryptographic algorithms and long-lived data that may require future protection against quantum-capable adversaries.
  • Software supply-chain assurance: signed components, provenance records and reproducible builds reduce the risk of compromised dependencies.
  • Secure-by-design data platforms: security controls are increasingly embedded in schemas, APIs, deployment pipelines and default configurations.

Emerging technology should be evaluated against governance fundamentals. Better algorithms cannot compensate for unknown assets, excessive privileges, untested backups, missing logs or unclear accountability. The future database-security professional will need technical competence, forensic discipline, privacy awareness, communication skills and the ability to judge uncertainty.

Best-Practice Checklist

Before an incident:

  • inventory databases, replicas, services and data owners;
  • classify sensitive data and define retention requirements;
  • enable and protect relevant audit sources;
  • synchronise clocks and test evidence collection;
  • enforce least privilege, strong authentication and secret rotation;
  • test backups, restoration and incident playbooks;
  • define legal, executive and technical escalation paths.

During an incident:

  • establish authority and an incident record;
  • preserve evidence before avoidable changes;
  • contain proportionately and document decisions;
  • correlate database, identity, application, cloud and network evidence;
  • separate facts, inferences and unknowns;
  • protect personal data during investigation;
  • communicate through approved channels.

After an incident:

  • eradicate persistence and rotate affected credentials;
  • validate data integrity as well as availability;
  • restore in stages and monitor closely;
  • meet applicable notification obligations;
  • conduct a blameless review;
  • assign, track and verify corrective actions.

Chapter Summary

Database incident response is a lifecycle of preparation, detection, analysis, containment, eradication, recovery and improvement. Effective investigations combine database evidence with identity, application, operating-system, cloud and network records. Evidence must be preserved through controlled acquisition, hashing, secure storage and chain-of-custody documentation. Containment must reduce harm without unnecessarily destroying volatile evidence or disrupting essential services.

Recovery requires trusted systems, verified backups, credential rotation, staged restoration and validation of data integrity. Legal, privacy and ethical principles govern evidence access, retention and breach communication. AI can improve detection and triage but introduces false positives, bias, model attacks and confidentiality risks; human oversight and governed automation remain essential. Confidential computing protects data in use under a defined threat model, while PETs such as differential privacy, tokenisation, federated learning and homomorphic encryption reduce exposure in selected contexts. Future database security will combine identity-centric controls, automation, cryptographic assurance, privacy engineering and skilled professional judgement.

Key Terms

Incident response: Organised process for managing and recovering from a security incident.

Database forensics: Examination of database-related evidence to reconstruct events and determine impact.

Chain of custody: Documented history of evidence collection, handling, transfer and storage.

Cryptographic hash: Fixed-length digest used to support integrity verification of data.

Volatile evidence: Information that may disappear when a system changes or shuts down.

Containment: Action taken to limit the spread or impact of an incident.

Eradication: Removal of attacker access, malware, persistence and underlying vulnerabilities.

Recovery point objective (RPO): Maximum acceptable period of data loss.

Recovery time objective (RTO): Maximum acceptable time to restore service.

Least privilege: Granting only the access required for an authorised task.

Data exfiltration: Unauthorised transfer of data outside a controlled environment.

Trusted execution environment (TEE): Hardware-supported isolated environment for protected computation.

Remote attestation: Verification of a workload’s approved code and configuration.

Privacy-enhancing technology (PET): Technology designed to reduce unnecessary exposure of personal or sensitive data.

Differential privacy: Privacy model that limits how much an output changes when one record changes.

Federated learning: Model training across distributed data without centralising raw training records.

Security orchestration: Coordinated connection of security tools, workflows and response actions.

Data poisoning: Manipulation of training data to influence a machine-learning system.

Zero trust: Security approach that continuously verifies requests rather than trusting network location.

Review Questions

Short Answer Questions

  1. Distinguish a security event from a security incident in a database environment.
  2. Why should investigators analyse verified copies rather than original evidence?
  3. Define RPO and RTO.
  4. State two limitations of AI-based database anomaly detection.
  5. What is the purpose of remote attestation in confidential computing?

Long Answer Questions

  1. Explain the complete database incident-response lifecycle and describe the responsibilities of a database administrator during each stage.
  2. Discuss the sources of database forensic evidence and explain why cross-system timeline correlation is necessary.
  3. Compare containment, eradication and recovery, including the risks of performing each activity incorrectly.
  4. Evaluate the privacy, ethical and governance issues involved in investigating a breach containing personal data.
  5. Compare differential privacy, federated learning and homomorphic encryption in terms of purpose, benefits and limitations.

Analytical / Application Questions

  1. A privileged account accesses unfamiliar tables, changes a stored procedure and transfers compressed files to an external host. Design an investigation and containment plan that preserves evidence while reducing further harm.
  2. An AI system recommends automatically disabling every account that exhibits unusual geographic activity. Critically evaluate this policy and propose a safer governance and approval model.
  3. An organisation has verified backups but cannot prove that its replicas were not compromised before ransomware encryption. Develop a recovery decision process addressing evidence, integrity, availability and communication.

Multiple Choice Questions with Answers

Question 1

Which activity belongs primarily to the preparation stage of incident response?

A. Testing restoration procedures and maintaining contact lists

B. Deleting compromised audit logs

C. Notifying affected individuals before confirming facts

D. Rebuilding every database immediately

Correct Answer: A. Testing restoration procedures and maintaining contact lists

Question 2

What does a cryptographic hash primarily support during forensic acquisition?

A. Proof that the original event was malicious

B. Verification that an acquired object has not changed

C. Recovery of deleted database records

D. Identification of the attacker’s motive

Correct Answer: B. Verification that an acquired object has not changed

Question 3

Which action best represents containment?

A. Removing all persistence mechanisms permanently

B. Restricting network access to an exposed database

C. Writing the final lessons-learned report

D. Classifying data for future projects

Correct Answer: B. Restricting network access to an exposed database

Question 4

Why must database timestamps be normalised during timeline analysis?

A. Database logs never contain timestamps

B. Different systems may use different time zones and clock settings

C. Normalisation encrypts the evidence

D. It guarantees that correlated events have the same cause

Correct Answer: B. Different systems may use different time zones and clock settings

Question 5

What is a major limitation of AI-based security alerts?

A. They cannot process any log data

B. They always require a database restart

C. They may generate false positives and false negatives

D. They eliminate the need for human review

Correct Answer: C. They may generate false positives and false negatives

Question 6

Confidential computing mainly seeks to protect data during which state?

A. Processing

B. Deletion only

C. Manual paper filing

D. Public release

Correct Answer: A. Processing

Question 7

Which technology adds calibrated randomness to statistical outputs to limit disclosure?

A. Tokenisation

B. Differential privacy

C. Remote attestation

D. Network segmentation

Correct Answer: B. Differential privacy

Question 8

Which automated response action normally presents the greatest need for human approval?

A. Adding an alert label

B. Collecting database metadata

C. Deleting production records

D. Opening an incident ticket

Correct Answer: C. Deleting production records

Question 9

What is the main purpose of a recovery point objective?

A. To specify the maximum acceptable data-loss period

B. To identify the attacker’s IP address

C. To measure model accuracy

D. To define the number of database administrators

Correct Answer: A. To specify the maximum acceptable data-loss period

Question 10

Why should a compromised service account be investigated even if it used legitimate permissions?

A. Legitimate accounts cannot be attacked

B. The account may have been hijacked and used to access data abnormally

C. Service accounts automatically encrypt all query results

D. Service accounts are never included in audit logs

Correct Answer: B. The account may have been hijacked and used to access data abnormally

Database Security
Chapter 15 of 15