It's B. I just run xml converter and the result was exactly as B
{
"books": {
"science": {
"biology": "10.00",
"geology": "9.00"
},
"math": {
"calc": "20.00"
}
}
}
Its B, A is wrapped in a array.
Also when you put that XML into a convertor you get:
{
"books": {
"science": {
"biology": "10.00",
"geology": "9.00"
},
"math": {
"calculus": "20.00"
}
}
}
Answer is B - dictionary (no list):
Refer to the exhibit:
<books>
<science>
<biology>10.00</biology>
<geology>9.00</geology>
</science>
<math>
<calculus>20.00</calculus>
</math>
</books>
Which JSON is equivalent to the XML-encoded data?
Answer: B
{
"books": {
"science": {
"biology": "10.00",
"geology": "9.00"
},
"math": {
"calculus": "20.00"
}
},
"#omit-xml-declaration": "yes"
}
Because in a list (identified by []) you have to have key:value pairs, and the value can not be dictionary, it has to be list. If it would be C, you would have to have [] after science and math
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
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.
Mohmad
Highly Voted 1 year, 6 months agoaprettyparrot
Highly Voted 1 year, 6 months agoaprettyparrot
1 year, 6 months agomacxsz
Most Recent 6 months, 1 week agobluesky2022
1 year, 1 month agoRam0n_Aya1a
1 year, 2 months agoeng11
1 year, 4 months agoAkvilina
1 year, 3 months agomplshelp
1 year, 6 months agoIamrandom
1 year agoKusirhca
1 year, 7 months agoairone
1 year, 7 months ago