Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

XML I10-003 Exam - Topic 7 Question 75 Discussion

Actual exam question for XML's I10-003 exam
Question #: 75
Topic #: 7
[All I10-003 Questions]

See separate window.

A certain Web application displays user information according to user input via Web browser. The XML data managing user information is as shown in [example.xml] (separate window). The following [XQuery] is executed when the Web application retrieves user information from [example xml].

[XQuery]

{

fn:doc("example.xml")//data[userid = "(1)"][password = "(2)"]

}

At this time, the Web application completes the [XQuery] by replacing (1) and (2) with the user input character string, and executes the query.

No character escapes (e.g. convert "<" to "<") are performed for character string input by the user. Select two of the following that produces the query execution result in [Execution Result] (separate window) when the character string is as shown in each answer choice.

Show Suggested Answer Hide Answer
Suggested Answer: B, F

Contribute your Thoughts:

0/2000 characters
Franchesca
3 days ago
I’m leaning towards option E since it seems to include a valid condition, but I’m not positive about how the syntax impacts the query.
upvoted 0 times
...
Leeann
8 days ago
I feel like I’ve seen a question like this before, and I think option A could exploit the query, but I’m not sure if it’s the best choice.
upvoted 0 times
...
Sanda
13 days ago
I think option B might work because it looks like it could bypass the authentication, but I’m not completely confident about that.
upvoted 0 times
...
Heike
18 days ago
I remember practicing similar XQuery questions, but I'm not entirely sure how the input affects the execution result here.
upvoted 0 times
...

Save Cancel