- A
Perform a tail-log backup of the database using the NORECOVERY option to capture all transactions since the last log backup.
This captures the current state, enabling point-in-time recovery and preserving evidence.
- B
Immediately restore the full backup from midnight and all transaction log backups up to 1:45 PM to a separate server for forensic analysis.
Why wrong: This would not capture the tail of the log; the current state is needed for evidence and recovery.
- C
Shut down the SQL Server service to prevent further changes and then restore the database from backup.
Why wrong: Shutting down may damage evidence and does not capture the tail log; restoration should be done after tail-log backup.
- D
Restore the database to a point in time using the full backup and all transaction log backups up to 1:45 PM, then apply the 2:15 PM backup to recover lost data.
Why wrong: The 2:15 PM backup contains the attack; you need to stop before 2:00 PM. Also, you must first back up the tail log.
Quick Answer
The answer is to perform a tail-log backup using the NORECOVERY option. This is the correct first step because a tail-log backup captures all transactions committed since the last log backup at 1:45 PM, including the attacker’s malicious activity between 2:00 PM and 2:05 PM, while the NORECOVERY option leaves the database in a restoring state that prevents any further changes. On the Computer Hacking Forensic Investigator CHFI exam, this scenario tests your understanding of forensic preservation and point-in-time recovery under the full recovery model, where the tail-log backup serves as both an evidence container and a prerequisite for minimal data loss. A common trap is to attempt a restore immediately or to back up with RECOVERY, which would allow the database to come online and overwrite critical forensic artifacts. Remember the mnemonic: “Tail-log first, NORECOVERY locks the box” — it seals the evidence before you touch the scene.
CHFI Database and Application Forensics Practice Question
This CHFI practice question tests your understanding of database and application forensics. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
You are a forensic investigator responding to an incident at a financial institution. The organization uses Microsoft SQL Server 2016 for its transaction processing system. The database is configured with full recovery model and transaction log backups are taken every 15 minutes. The incident response team has identified that an attacker gained access to the database server via compromised credentials and executed a series of malicious SQL statements, including data exfiltration and deletion of critical records. The time of the attack is estimated to be between 2:00 PM and 2:05 PM. The last full backup was taken at 12:00 AM (midnight) the same day. Transaction log backups are available for the entire day. The last transaction log backup before the attack was taken at 1:45 PM. The next transaction log backup after the attack was taken at 2:15 PM. The database is still online and being used by the business. Management wants to recover the database to a point just before the attack (2:00 PM) to minimize data loss, while preserving evidence for investigation. Which of the following actions should you take FIRST?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"first"Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
Clue:
"minimum / minimize"Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Perform a tail-log backup of the database using the NORECOVERY option to capture all transactions since the last log backup.
Performing a tail-log backup with NORECOVERY captures all transactions committed after the last log backup (1:45 PM) up to the current point in time, including the attack period. This preserves the database in a restoring state, preventing further changes while allowing point-in-time recovery to just before 2:00 PM. It is the mandatory first step to minimize data loss and maintain forensic integrity before any restore operations.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Perform a tail-log backup of the database using the NORECOVERY option to capture all transactions since the last log backup.
Why this is correct
This captures the current state, enabling point-in-time recovery and preserving evidence.
Clue confirmation
The clue words "first", "minimum / minimize" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Immediately restore the full backup from midnight and all transaction log backups up to 1:45 PM to a separate server for forensic analysis.
Why it's wrong here
This would not capture the tail of the log; the current state is needed for evidence and recovery.
- ✗
Shut down the SQL Server service to prevent further changes and then restore the database from backup.
Why it's wrong here
Shutting down may damage evidence and does not capture the tail log; restoration should be done after tail-log backup.
- ✗
Restore the database to a point in time using the full backup and all transaction log backups up to 1:45 PM, then apply the 2:15 PM backup to recover lost data.
Why it's wrong here
The 2:15 PM backup contains the attack; you need to stop before 2:00 PM. Also, you must first back up the tail log.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Cisco often tests the misconception that you should immediately restore from the last known good backup or shut down the server, when the correct first action is always to secure the current transaction log via a tail-log backup to capture all recent changes and enable precise point-in-time recovery.
Detailed technical explanation
How to think about this question
In SQL Server's full recovery model, a tail-log backup (BACKUP LOG ... WITH NORECOVERY) captures any transactions that have not yet been backed up, including uncommitted transactions that can be rolled forward or backward during restore. The NORECOVERY option leaves the database in the Restoring state, which prevents any user or application access and ensures the log is not truncated. This is critical for point-in-time recovery using STOPAT, as it allows the DBA to specify an exact datetime (e.g., '2025-04-10 14:00:00') to stop before the attack's first malicious statement.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the CHFI exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Database and Application Forensics — study guide chapter
Learn the concepts, then practise the questions
- →
Database and Application Forensics practice questions
Targeted practice on this topic area only
- →
All CHFI questions
1,000 questions across all exam domains
- →
Computer Hacking Forensic Investigator CHFI study guide
Full concept coverage aligned to exam objectives
- →
CHFI practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CHFI practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Computer Forensics Investigation Process practice questions
Practise CHFI questions linked to Computer Forensics Investigation Process.
Computer Forensics Fundamentals and Process practice questions
Practise CHFI questions linked to Computer Forensics Fundamentals and Process.
Storage Forensics and File System Analysis practice questions
Practise CHFI questions linked to Storage Forensics and File System Analysis.
Incident Response and First Responder Skills practice questions
Practise CHFI questions linked to Incident Response and First Responder Skills.
Computer Forensics Lab practice questions
Practise CHFI questions linked to Computer Forensics Lab.
Evidence Acquisition and Duplication practice questions
Practise CHFI questions linked to Evidence Acquisition and Duplication.
OS and Network Forensics practice questions
Practise CHFI questions linked to OS and Network Forensics.
OS and File System Forensics practice questions
Practise CHFI questions linked to OS and File System Forensics.
Application, Email and Cloud Forensics practice questions
Practise CHFI questions linked to Application, Email and Cloud Forensics.
Mobile and Malware Forensics practice questions
Practise CHFI questions linked to Mobile and Malware Forensics.
Network and Cloud Forensics practice questions
Practise CHFI questions linked to Network and Cloud Forensics.
Database and Application Forensics practice questions
Practise CHFI questions linked to Database and Application Forensics.
Practice this exam
Start a free CHFI practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this CHFI question test?
Database and Application Forensics — This question tests Database and Application Forensics — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Perform a tail-log backup of the database using the NORECOVERY option to capture all transactions since the last log backup. — Performing a tail-log backup with NORECOVERY captures all transactions committed after the last log backup (1:45 PM) up to the current point in time, including the attack period. This preserves the database in a restoring state, preventing further changes while allowing point-in-time recovery to just before 2:00 PM. It is the mandatory first step to minimize data loss and maintain forensic integrity before any restore operations.
What should I do if I get this CHFI question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "first", "minimum / minimize". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More CHFI practice questions
- Which TWO of the following are valid reasons for using a hardware write blocker during disk acquisition? (Choose two.)
- During a forensic investigation, an analyst needs to acquire the contents of a live server's RAM without altering the ev…
- You are a forensic investigator responding to a data breach at a mid-sized company. The company uses a hybrid cloud envi…
- Which TWO of the following are valid techniques for collecting volatile network evidence from a live system during incid…
- A first responder is responding to a ransomware incident on a Windows server. Which TWO actions should be performed to p…
- Refer to the exhibit. A first responder runs the netstat command on a compromised Windows workstation. Which of the foll…
Last reviewed: Jun 11, 2026
This CHFI practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CHFI exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.