exam questions

Exam CS0-003 All Questions

View all questions & answers for the CS0-003 exam

Exam CS0-003 topic 1 question 374 discussion

Actual exam question from CompTIA's CS0-003
Question #: 374
Topic #: 1
[All CS0-003 Questions]

The SOC receives a number of complaints regarding a recent uptick in desktop error messages that are associated with workstation access to an internal web application. An analyst, identifying a recently modified XML file on the web server, retrieves a copy of this file for review, which contains the following code:



Which of the following XML schema constraints would stop these desktop error messages from appearing?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Popeyes_Chicken
3 months ago
Selected Answer: B
B uses a pattern that matches only alphanumeric characters ([a-zA-Z 0-9]*). This restriction would prevent any special characters from being included, which block the injection of malicious scripts.
upvoted 3 times
...
7167087
3 months, 1 week ago
Selected Answer: B
None of these answers are correct.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago