Deal of The Day! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
US
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Amazon
Google
CompTIA
SAP
VMware
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ServiceNow
Dell EMC
CheckPoint
Linux Foundation
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
MongoDB Discussions
Exam C100DBA Topic 1 Question 71 Discussion
MongoDB Exam C100DBA Topic 1 Question 71 Discussion
Actual exam question for MongoDB's C100DBA exam
Question #: 71
Topic #: 1
[All C100DBA Questions]
Which of the following are valid json documents? Select all that apply.
A
{'a':l, 'b':{'b':l, 'c':'foo', 'd':'bar', 'e':[l,2,4]}}
B
{'city':'New York', 'population', 7999034, boros:{'queens', 'manhattan', 'staten island', 'the bronx', u 'brooklyn'}}
C
{'name':'Fred Flintstone';'occupation':'Miner';'wife':'Wilma'}
D
{ }
Show Suggested Answer
Hide Answer
Suggested Answer:
A
by
Peggie
at
Jul 04, 2023, 04:57 AM
Limited Time Offer
25%
Off
Get Premium C100DBA Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Joaquin
2 months ago
Wow, these questions really separate the JSON pros from the JSON posers. I'm just glad I'm not the one who wrote 'boros' instead of 'boroughs' in B).
upvoted
0
times
...
Cyril
2 months ago
I think A), B), and D) are valid JSON, but C) is a bit of a mess. Semicolons instead of colons? What is this, the Stone Age?
upvoted
0
times
Kaitlyn
1 months ago
D) is also valid JSON, even though it is an empty object.
upvoted
0
times
...
Kaitlyn
1 months ago
B) is not valid JSON, there is a syntax error with the key-value pair for population.
upvoted
0
times
...
Kaitlyn
1 months ago
A) is valid JSON, it has the correct structure with key-value pairs and arrays.
upvoted
0
times
...
...
Lindsey
3 months ago
Haha, looks like Cory is having trouble with their JSON syntax. Commas and colons are key, my friend!
upvoted
0
times
...
Cory
3 months ago
B) and C) have some issues. B) is missing commas between the key-value pairs, and C) has semicolons instead of colons between the keys and values.
upvoted
0
times
Hermila
1 months ago
France: B) and C) have some issues. B) is missing commas between the key-value pairs, and C) has semicolons instead of colons between the keys and values.
upvoted
0
times
...
Krissy
2 months ago
D) { }
upvoted
0
times
...
France
2 months ago
B) {'city';'New York', 'population', 7999034, boros;{'queens', 'manhattan', 'staten island', 'the bronx', u 'brooklyn'}
upvoted
0
times
...
Cherilyn
2 months ago
A) {'a';l, 'b';{'b';l, 'c';'foo', 'd';'bar', 'e';[l,2,4]}
upvoted
0
times
...
...
Barrett
3 months ago
I believe A and D are valid because they follow the JSON syntax.
upvoted
0
times
...
Val
3 months ago
I think only A is valid because it has the correct key-value pairs.
upvoted
0
times
...
Willodean
3 months ago
A and D are valid JSON documents.
upvoted
0
times
...
Asha
3 months ago
I'm not sure about B and C, but I think A and D are definitely valid JSON documents.
upvoted
0
times
...
Heidy
3 months ago
A) and D) are valid JSON documents. The keys and values are properly formatted, and the empty object in D) is also a valid JSON document.
upvoted
0
times
Josphine
2 months ago
C) has a syntax error with the semicolons, and B) has an issue with the key-value pair for 'population'.
upvoted
0
times
...
Zena
3 months ago
I agree, A) and D) are the only ones that look like valid JSON documents.
upvoted
0
times
...
Theola
3 months ago
I think A) and D) are the correct options. They seem to follow the JSON format.
upvoted
0
times
...
Haydee
3 months ago
A) and D) are valid JSON documents. The keys and values are properly formatted, and the empty object in D) is also a valid JSON document.
upvoted
0
times
...
...
Solange
3 months ago
I agree with you, Krystal. A and D are valid because they have correct key-value pairs.
upvoted
0
times
...
Krystal
3 months ago
I think A and D are valid JSON documents.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
Joaquin
2 months agoCyril
2 months agoKaitlyn
1 months agoKaitlyn
1 months agoKaitlyn
1 months agoLindsey
3 months agoCory
3 months agoHermila
1 months agoKrissy
2 months agoFrance
2 months agoCherilyn
2 months agoBarrett
3 months agoVal
3 months agoWillodean
3 months agoAsha
3 months agoHeidy
3 months agoJosphine
2 months agoZena
3 months agoTheola
3 months agoHaydee
3 months agoSolange
3 months agoKrystal
3 months ago