exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 787 discussion

Actual exam question from Cisco's 200-301
Question #: 787
Topic #: 1
[All 200-301 Questions]


Refer to the exhibit. How many objects are present in the given JSON-encoded data?

  • A. One
  • B. Four
  • C. Seven
  • D. Nine
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
splashy
Highly Voted 2 years, 7 months ago
Selected Answer: D
8 times { because they made an error and put one ( which should be a { *facepalm* 9 times }
upvoted 31 times
...
g_mindset
Highly Voted 2 years, 8 months ago
Selected Answer: D
The answer is 9. Simply count all the opening or closing curly brackets that represent the start or closing of an object value. NOTE: there's an error on that exhibit, the opening bracket in the array is supposed to be an opening bracket.
upvoted 10 times
...
Shaifalimittal02
Most Recent 6 months, 2 weeks ago
Selected Answer: C
The JSON structure in the image contains several objects. Let's break it down: The main object is "aaaUser". Inside "aaaUser", there's an "attributes" object containing user details. Then there's a "children" array containing another object: "aaaUserDomain". "aaaUserDomain" has its own "attributes" object. The "children" of "aaaUserDomain" contains another object: "aaaUserRole". "aaaUserRole" also has an "attributes" object. Here’s a count of all objects: "aaaUser" "attributes" inside "aaaUser" "aaaUserDomain" "attributes" inside "aaaUserDomain" "children" (array) of "aaaUserDomain" contains "aaaUserRole" "aaaUserRole" "attributes" inside "aaaUserRole" This gives a total of seven objects.
upvoted 1 times
...
Joshua25
6 months, 2 weeks ago
Only 8. There is no correct answer.
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Selected Answer: D
D is correct
upvoted 1 times
...
MalikMak
1 year, 2 months ago
Selected Answer: C
The outermost object is denoted by the opening and closing curly braces {}. Inside the outer object, there is one property named aaaUser which is an object itself. The aaaUser object contains an attributes object. The aaaUser object also contains a children array, which contains one element: This element is an object with one property named aaaUserDomain, which is also an object. The aaaUserDomain object contains an attributes object. The aaaUserDomain object also contains a children array with one element: This element is an object with one property named aaaUserRole, which is also an object. The aaaUserRole object contains an attributes object. So, counting these, there are 7 objects in total in the given JSON-encoded data.
upvoted 1 times
...
willcsc
1 year, 2 months ago
Objeto aaaUser. Objeto attributes dentro de aaaUser. Objeto children dentro de aaaUser. Objeto aaaUserDomain dentro de children. Objeto attributes dentro de aaaUserDomain. Objeto children dentro de aaaUserDomain. Objeto vazio dentro de children dentro de aaaUserDomain. Objeto aaaUserRole. Objeto attributes dentro de aaaUserRole. Portanto, há um total de 9 objetos JSON neste JSON fornecido. Chatgpt - BR
upvoted 1 times
...
ZeroK
1 year, 2 months ago
Selected Answer: C
The given JSON-encoded data contains seven objects. Here's the breakdown: 1. aaaUser: This is the main object that holds all other data. 2 - 5. attributes objects: There are four "attributes" objects, one within "aaaUser" and three nested within "aaaUserDomain" and "aaaUserRole". 6. aaaUserDomain: This object is nested within the "children" array of the main "aaaUser" object. 7. aaaUserRole: This object is nested within the deepest level of the "children" array. Therefore, the correct answer is C. Seven.
upvoted 1 times
...
NewJeans
1 year, 6 months ago
Selected Answer: D
It should be 9.
upvoted 1 times
...
shaney67
1 year, 8 months ago
C. Seven The given JSON-encoded data contains seven objects. Each object is enclosed within curly braces {}. The objects present are: Outermost object: "aaaUser" Attributes object within "aaaUser" Children array within "aaaUser" Object within children array: "aaaUserDomain" Attributes object within "aaaUserDomain" Children array within "aaaUserDomain" Object within children array: "aaaUserRole" So, there are a total of seven objects in the provided JSON-encoded data.
upvoted 1 times
...
[Removed]
1 year, 10 months ago
I say 8
upvoted 3 times
...
Chichi69
1 year, 10 months ago
The answer is seven
upvoted 3 times
...
jonathan126
2 years ago
{ "aaaUser": { "attributes": { "pwd": "passwordl", "firstName": "Abraham", "lastName": "Lincoln", "phone": "5555551212", "email": "[email protected]" }, "children": [ { "aaaUserDomain": { "attributes": { "name": "ExampleCisco" }, "children": [ { "aaaUserRole": { "attributes": { "name": "admin" } } } ] } } ] } }
upvoted 3 times
...
Njavwa
2 years ago
i think this includes nested objects, i'm still counting 8
upvoted 1 times
...
Panda_man
2 years, 5 months ago
Selected Answer: D
Count curly breckets - it's 9 of them so it's D
upvoted 3 times
...
ShadyAbdekmalek
2 years, 7 months ago
Selected Answer: A
One object including sub objects
upvoted 2 times
...
rictorres333
2 years, 7 months ago
.... it can be NINE counting object inside of Arrays... :)
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