Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

CompTIA CyberSecurity Analyst CySA+ Certification Exam CS0-003 Question # 60 Topic 7 Discussion

CompTIA CyberSecurity Analyst CySA+ Certification Exam CS0-003 Question # 60 Topic 7 Discussion

CS0-003 Exam Topic 7 Question 60 Discussion:
Question #: 60
Topic #: 7

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?


A.

(?!https://10\.1\.2\.3/api\?id=[0-9]+)


B.

" https://10\.1\.2\.3/api\?id=\d+


C.

(?: " https://10\.1\.2\.3/api\?id-[0-9]+)


D.

https://10\.1\.2\.3/api\?id«[0-9J$


Get Premium CS0-003 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.