exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 314 discussion

Actual exam question from Cisco's 350-401
Question #: 314
Topic #: 1
[All 350-401 Questions]

Refer to the exhibit.

What is the JSON syntax that is formed from the data?

  • A. {Name: Bob Johnson, Age: 75, Alive: true, Favorite Foods: [Cereal, Mustard, Onions]}
  • B. {ג€Nameג€: ג€Bob Johnsonג€, ג€Ageג€: 75, ג€Aliveג€: true, ג€Favorite Foodsג€: [ג€Cerealג€, ג€Mustardג€, ג€Onionsג€]}
  • C. {'Name': 'Bob Johnson', 'Age': 75, 'Alive': True, 'Favorite Foods': 'Cereal', 'Mustard', 'Onions'}
  • D. {ג€Nameג€: ג€Bob Johnsonג€, ג€Ageג€: Seventyfive, ג€Aliveג€: true, ג€Favorite Foodsג€: [ג€Cerealג€, ג€Mustardג€, ג€Onionsג€]}
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
AliMo123
Highly Voted 3 years, 12 months ago
None of them is correct: the right answer is" {“Name”: “Bob Johnson”, “Age”: 75, “Alive”: true, “Favorite Foods”: [“Cereal”, “Mustard”, “Onions”]}
upvoted 33 times
Shri_Fcb10
11 months, 2 weeks ago
Damn with cisco certs, like all the options are wrong even In option B instead of ':' between and age and 75 it is ',' which is wrong
upvoted 1 times
...
timtgh
2 years, 11 months ago
Isn't that just option B, but typed with double quote marks instead of single?
upvoted 6 times
...
...
Broekie
Highly Voted 4 years, 1 month ago
What is the JSON syntax that is formed the data? A . {Name: Bob, Johson, Age: 75, Alive: true, Favourite Foods. [Cereal, ”Mustard”, ”Onions]} B . {Name”, ”Bob” Johson”, ”Age”, 75, ”Alive”, true, ”favourite Foods”, [”Cereal, ”Mustard”, Onions”]} C . {“Name”: “Bob Johnson”,“Age”: 75,“Alive”: “true”,“Favorite Foods”: [“Cereal”,“Mustard”,“Onions”]} D . {Name”. ”Bob Johson”, ”Age”: Seventyfive, ”Alive” true, ”favourite Foods” ,[Cereal” ”Mustard” ”Onions”]} Answer: C
upvoted 19 times
tatrman
4 years, 1 month ago
C is wrong because booleans are like numbers "Alive": true not "Alive": "true"
upvoted 11 times
danman32
1 year, 9 months ago
Broekie mistyped the answers C doesn't have quotes around the boolean. however it doesn't have [] around the list of favorite foods.
upvoted 2 times
...
...
...
a197cbf
Most Recent 10 months, 1 week ago
Admins, please fix formatting of the original multiple choice. Instead of single quotes and commas there are a bunch of strange characters such as "ג€".
upvoted 5 times
...
[Removed]
11 months ago
Selected Answer: B
B is correct if we replace this weird ג€ with this ". I think it´s a typo from the website. { "Name": "Bob Johnson", "Age": 75, "Alive": true, "Favorite Foods": ["Cereal", "Mustard", "Onions"] }
upvoted 2 times
...
[Removed]
11 months, 1 week ago
none of them is correct all keys and values should have " " and the Favoraite food should be followed with : [ ........ ]
upvoted 1 times
...
teikitiz
1 year, 9 months ago
Selected Answer: B
A. {Name: Bob Johnson, Age: 75, Alive: true, Favorite Foods: [Cereal, Mustard, Onions]} B. {"Name":"Bob Johnson","Age": 75,"Alive": true,"Favorite Foods": ["Cereal","Mustard","Onions"]} C. {'Name': 'Bob Johnson', 'Age': 75, 'Alive': True, 'Favorite Foods': 'Cereal', 'Mustard', 'Onions'} D. {"Name":"Bob Johnson","Age": Seventyfive,"Alive": true,"Favorite Foods": ["Cereal","Mustard","Onions"]}
upvoted 3 times
...
Burik
1 year, 10 months ago
Selected Answer: B
Once the text formatting is fixed, it's B. A. {Name: Bob Johnson, Age: 75, Alive: true, Favorite Foods: [Cereal, Mustard, Onions]} B. {"Name": "Bob Johnson", "Age": 75, "Alive": true, "Favorite Foods": ["Cereal", "Mustard", "Onions"]} C. {'Name': 'Bob Johnson', 'Age': 75, 'Alive': true, 'Favorite Foods': 'Cereal', 'Mustard', 'Onions'} D. {"Name": "Bob Johnson", "Age": Seventyfive, "Alive": true, "Favorite Foods": ["Cereal", "Mustard", "Onions"]} A is wrong because it's missing quotes of any kind. B is valid according to Json Validator. C is wrong because it uses single quotes and it's missing the array brackets. D is wrong because it doesn't use the proper numerical value for Age.
upvoted 5 times
danman32
1 year, 9 months ago
I believe single quotes are valid, as long as you are consistent
upvoted 1 times
...
...
[Removed]
1 year, 10 months ago
Selected Answer: B
Not sure if everyone sees the same, but the format is some very weird characters. Instead of "quotes" it has the Euro sign, and what looks like Lambda symbol... Regardless, Assuming this is a formatting issue, the only correct format is B A: Wrong: has wrong syntax, its missing quotes around key-value pairs B: Correct: has a formatting issue, at least to me, but it appears to be a correct format C: Wrong: would have been correct, but it is missing the array brackets [ ] for the list of food D: Wrong: the key-value pair "age":seventyfive is incorrect syntax
upvoted 3 times
...
habibmangal
2 years ago
Selected Answer: C
According to ChatGPT option C is correct
upvoted 2 times
...
winder
2 years, 10 months ago
Selected Answer: B
how did I get this right, lol, it is B
upvoted 2 times
...
xziomal9
3 years, 7 months ago
A . {Name: Bob, Johson, Age: 75, Alive: true, Favourite Foods. [Cereal, ”Mustard”, ”Onions]} B . {Name”, ”Bob” Johson”, ”Age”, 75, ”Alive”, true, ”favourite Foods”, [”Cereal, ”Mustard”, Onions”]} C . {“Name”: “Bob Johnson”,“Age”: 75,“Alive”: “true”,“Favorite Foods”: [“Cereal”,“Mustard”,“Onions”]} D . {Name”. ”Bob Johson”, ”Age”: Seventyfive, ”Alive” true, ”favourite Foods” ,[Cereal” ”Mustard” ”Onions”]} E. {“Name”:”Bob Johnson”,”age”:75,”alive”:true,”favorite foods”:[“Cereal”,”Mustard”,”Onions”]}
upvoted 2 times
...
xziomal9
3 years, 7 months ago
The correct answer is: E. {“Name”:”Bob Johnson”,”age”:75,”alive”:true,”favorite foods”:[“Cereal”,”Mustard”,”Onions”]}
upvoted 7 times
...
kthekillerc
3 years, 7 months ago
Provided answer is correct
upvoted 1 times
...
error_909
3 years, 7 months ago
{ "Name": "BoB Johnson", "Age": 25, "Alive": true, "Favorite Foods": [ "cereal", "Mustard", "Onions" ] }
upvoted 1 times
...
Rockford
3 years, 11 months ago
Correct would be this: { "Name":"Bob Johnson", "Age":75, "Alive": True, "Favourite foods": ["Cereal","Mustard","Onions"] }
upvoted 2 times
Rockford
3 years, 11 months ago
My bad! All is correct except: "Alive": True, Should be: "Alive": true, Lower case t on true...
upvoted 2 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