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 4 years, 2 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
1 year, 1 month 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
3 years, 1 month ago
Isn't that just option B, but typed with double quote marks instead of single?
upvoted 6 times
...
...
Broekie
Highly Voted 4 years, 3 months 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, 3 months ago
C is wrong because booleans are like numbers "Alive": true not "Alive": "true"
upvoted 11 times
danman32
1 year, 11 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 1 year 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 6 times
...
teikitiz
1 year, 11 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
2 years 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, 11 months ago
I believe single quotes are valid, as long as you are consistent
upvoted 1 times
...
...
habibmangal
2 years, 2 months ago
Selected Answer: C
According to ChatGPT option C is correct
upvoted 2 times
...
winder
3 years ago
Selected Answer: B
how did I get this right, lol, it is B
upvoted 2 times
...
xziomal9
3 years, 9 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, 9 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, 9 months ago
Provided answer is correct
upvoted 1 times
...
error_909
3 years, 9 months ago
{ "Name": "BoB Johnson", "Age": 25, "Alive": true, "Favorite Foods": [ "cereal", "Mustard", "Onions" ] }
upvoted 1 times
...
Rockford
4 years, 1 month ago
Correct would be this: { "Name":"Bob Johnson", "Age":75, "Alive": True, "Favourite foods": ["Cereal","Mustard","Onions"] }
upvoted 2 times
Rockford
4 years, 1 month 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 ...