BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

XML Exam I10-003 Topic 6 Question 47 Discussion

Actual exam question for XML's I10-003 exam
Question #: 47
Topic #: 6
[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:

Alton
2 months ago
I think C might be the correct answer based on the XQuery provided.
upvoted 0 times
...
Nilsa
2 months ago
Ooh, this is juicy! I can practically smell the security vulnerability from here. Let's see what trouble we can stir up!
upvoted 0 times
...
Mauricio
3 months ago
Ha! 'Character escapes'? What is this, a magic trick? I'm going to go with my gut on this one.
upvoted 0 times
Bernardo
2 months ago
B: Yeah, that sounds like a good choice. Let's go with that.
upvoted 0 times
...
Reena
2 months ago
Option E seems like the best choice to me.
upvoted 0 times
...
Oliva
2 months ago
A: I think it's A) (1) \' or\'\'=\' (2) OK
upvoted 0 times
...
Rutha
2 months ago
I'm leaning towards option B.
upvoted 0 times
...
Peggy
2 months ago
I think I'll go with option A.
upvoted 0 times
...
...
Laurena
3 months ago
But A seems to match the query execution result in the example.
upvoted 0 times
...
Filiberto
3 months ago
I disagree, I believe the correct answer is B.
upvoted 0 times
...
Laurena
3 months ago
I think the answer is A.
upvoted 0 times
...
Malinda
3 months ago
I think C might also be a valid option based on the XQuery provided.
upvoted 0 times
...
Rosann
3 months ago
But A seems to match the query execution result in the example.
upvoted 0 times
...
Noah
3 months ago
Alright, let's see... I bet the answer has something to do with SQL injection. Time to put my hacking skills to the test!
upvoted 0 times
Louvenia
2 months ago
B: Agreed. Let's analyze the options before making our selection.
upvoted 0 times
...
Juan
2 months ago
A: I think it has to do with SQL injection. Let's choose carefully.
upvoted 0 times
...
Iluminada
2 months ago
B: Yeah, I saw it. Looks like we need to select the answer choices that produce the query execution result.
upvoted 0 times
...
Lorriane
3 months ago
A: Hey, have you checked out the question about the Web application and XQuery?
upvoted 0 times
...
Elena
3 months ago
B: Yeah, that looks like it could be the right choice. Let's go with that.
upvoted 0 times
...
Raina
3 months ago
A: I think the answer is A) (1) \' or\'\'=\' (2) OK
upvoted 0 times
...
...
Marya
3 months ago
I disagree, I believe the correct answer is B.
upvoted 0 times
...
Rosann
3 months ago
I think the correct answer is A.
upvoted 0 times
...
Ashleigh
4 months ago
Wow, this question is a real challenge! I'll need to really think this through carefully.
upvoted 0 times
Dierdre
2 months ago
D) (1) idorfn.true() (2) idorfn:true()
upvoted 0 times
...
Geraldo
3 months ago
C) (1) idorfn:true() (2) OK
upvoted 0 times
...
Ciara
3 months ago
B) (1) \' or\'\'=\' (2) \' or\'\'=\'
upvoted 0 times
...
Solange
3 months ago
A) (1) \' or\'\'=\' (2) OK
upvoted 0 times
...
...

Save Cancel