Question 618 of 1,152
Security OperationsmediumMultiple ChoiceObjective-mapped

SY0-701 Security Operations Practice Question

This SY0-701 practice question tests your understanding of security operations. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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.

A security analyst is reviewing web server logs after a user reports that the company website displayed an error message containing raw database queries. The log shows repeated requests to the product search page with the following parameter: `?id=1 OR 1=1`. Which of the following should the analyst do FIRST to confirm the nature of the suspected attack?

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.

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

Verify the request details against the web application firewall logs.

Option C is correct because the analyst should first verify the request details against the web application firewall (WAF) logs to confirm whether the WAF detected and blocked the SQL injection attempt. The parameter `?id=1 OR 1=1` is a classic SQL injection payload, and WAF logs provide immediate evidence of whether the request was flagged, allowed, or blocked, enabling the analyst to correlate the user's report with actual security controls before taking further action.

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.

  • Run a vulnerability scan against the web server.

    Why it's wrong here

    While a vulnerability scan could eventually identify the SQL injection flaw, it is not the immediate first step. The analyst needs to quickly determine if the attack was successful or blocked, which is better done via log correlation.

    When this WOULD be correct

    A vulnerability scan would be the correct first step when the question states that the analyst needs to proactively identify all potential vulnerabilities in the web application before any attack is reported, such as during a routine security assessment.

  • Block the source IP address in the firewall.

    Why it's wrong here

    Blocking the IP may be a later containment step, but it does not help confirm the nature of the attack. The IP could be spoofed or belong to a legitimate user whose session was hijacked. Confirmation via WAF logs is needed first.

    When this WOULD be correct

    A question where the analyst has already confirmed a SQL injection attack and needs to immediately stop the attack from a specific IP while preserving evidence. For example: 'After confirming a SQL injection attack in progress, which action should the analyst take FIRST to mitigate the immediate threat?'

  • Verify the request details against the web application firewall logs.

    Why this is correct

    This is the correct first step. The WAF logs will show if the request was identified as malicious and blocked, or if it passed through. This confirmation is crucial before any further action.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Isolate the web server from the network immediately.

    Why it's wrong here

    Isolating the server without confirmation could cause unnecessary business disruption. The analyst should first confirm the success of the attack via WAF logs and then follow the incident response plan.

    When this WOULD be correct

    A question where the web server is actively being exploited (e.g., showing signs of data exfiltration or ransomware) and the analyst must contain the threat immediately to prevent further damage. For example: 'An IDS alerts on outbound database traffic from the web server; what should the analyst do FIRST?'

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The SY0-701 exam frequently reuses these exact scenarios with slightly different constraints.

Verify the request details against the web application firewall logs.Correct answer

Why this is correct

This is the correct first step. The WAF logs will show if the request was identified as malicious and blocked, or if it passed through. This confirmation is crucial before any further action.

Run a vulnerability scan against the web server.Wrong answer — click to see why

Why this is wrong here

Running a vulnerability scan is a secondary step after confirming the attack; the analyst first needs to verify the request details in the WAF logs to determine if the attack was blocked or reached the server.

★ When this WOULD be the correct answer

A vulnerability scan would be the correct first step when the question states that the analyst needs to proactively identify all potential vulnerabilities in the web application before any attack is reported, such as during a routine security assessment.

Why candidates choose this

Candidates may think a vulnerability scan is the standard first step for any security issue, but in this incident response scenario, confirming the attack details takes precedence over scanning.

Block the source IP address in the firewall.Wrong answer — click to see why

Why this is wrong here

Blocking the source IP address in the firewall is a reactive measure that does not confirm the nature of the attack; it only prevents further requests from that IP. The analyst needs to first verify the attack type by correlating logs with the WAF.

★ When this WOULD be the correct answer

A question where the analyst has already confirmed a SQL injection attack and needs to immediately stop the attack from a specific IP while preserving evidence. For example: 'After confirming a SQL injection attack in progress, which action should the analyst take FIRST to mitigate the immediate threat?'

Why candidates choose this

Candidates may think blocking the IP is a quick first step to stop the attack, but the question asks to 'confirm the nature' of the attack, not to mitigate it.

Isolate the web server from the network immediately.Wrong answer — click to see why

Why this is wrong here

Isolating the web server immediately is premature because the analyst has not yet confirmed the nature of the attack. The log entry suggests a SQL injection attempt, but the first step should be to verify the attack using WAF logs, not to take drastic containment actions that could disrupt services.

★ When this WOULD be the correct answer

A question where the web server is actively being exploited (e.g., showing signs of data exfiltration or ransomware) and the analyst must contain the threat immediately to prevent further damage. For example: 'An IDS alerts on outbound database traffic from the web server; what should the analyst do FIRST?'

Why candidates choose this

Candidates may think that any suspicious activity requires immediate isolation to prevent harm, but they overlook the need for confirmation before taking disruptive actions. The urgency of the error message (raw database queries) can trigger a 'contain first, ask later' mindset.

Analysis generated from the official SY0-701blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may jump to containment (blocking or isolating) or scanning without first using existing logs to confirm the attack, failing to follow the incident response principle of 'verify before act'.

Detailed technical explanation

How to think about this question

The payload `1 OR 1=1` exploits a SQL injection vulnerability by injecting a tautology that can bypass authentication or return all rows from a database table. WAFs use signature-based detection (e.g., OWASP ModSecurity Core Rule Set) to match patterns like `OR 1=1` and can log the request with a rule ID, action taken (block/alert), and matched payload, which is critical for forensic analysis. In a real-world scenario, the WAF might have logged the request as a SQL injection attempt with a severity score, allowing the analyst to confirm the attack without touching the server.

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 security team runs a vulnerability scan on a web application and discovers an unpatched SQL injection flaw. The team prioritises remediation by CVSS score — critical flaws are patched within 24 hours, high within 7 days. Questions like this test whether you understand vulnerability management processes, scanning tools, and remediation prioritisation.

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.

Related practice questions

Related SY0-701 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SY0-701 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 SY0-701 question test?

Security Operations — This question tests Security Operations — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Verify the request details against the web application firewall logs. — Option C is correct because the analyst should first verify the request details against the web application firewall (WAF) logs to confirm whether the WAF detected and blocked the SQL injection attempt. The parameter `?id=1 OR 1=1` is a classic SQL injection payload, and WAF logs provide immediate evidence of whether the request was flagged, allowed, or blocked, enabling the analyst to correlate the user's report with actual security controls before taking further action.

What should I do if I get this SY0-701 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". 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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More SY0-701 practice questions

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

This SY0-701 practice question is part of Courseiva's free CompTIA 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 SY0-701 exam.