nerdexam
CompTIA

CS0-003 · Question #447

A web application has a function to retrieve content from an internal URL to identify CSRF attacks in the logs. The security analyst is building a regular expression that will filter out the correctly

Sign in or unlock CS0-003 to reveal the answer and full explanation for question #447. The question stem and answer options stay visible for context.

Submitted by chen.hong· Mar 6, 2026Security Operations

Question

A web application has a function to retrieve content from an internal URL to identify CSRF attacks in the logs. The security analyst is building a regular expression that will filter out the correctly formatted requests. The target URL is https://10.1.2.3/api, and the receiving API only accepts GET requests and uses a single integer argument named "id." Which of the following regular expressions should the analyst use to achieve the objective?

Options

Unlock CS0-003 to see the answer

You've previewed enough free CS0-003 questions. Unlock CS0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#regular expressions#log filtering#web application security#API security
Full CS0-003 Practice