Free 350-401 Exam Braindumps
Implementing Cisco Enterprise Network Core Technologies (ENCOR) Questions 311–315 (page: 64)

Updated On: 10-Feb-2026

Which data is properly formatted with JSON?





Answer(s): B



Based on the output below, which Python code shows the value of the "upTime" key?

  1. json_data = response.json() print(json_data['response'][0]['upTime'])
  2. json_data = response.json() print(json_data[response][0][upTime])
  3. json_data = json.loads(response.text) print(json_data['response']['family']['upTime'])
  4. json_data = response.json() print(json_data['response'][family]['upTime'])

Answer(s): A

Explanation:

The dictionary attributes are strings, so they would need to be addressed with quotations. B implies that variables are being specified as the attribute identifiers. Because the question is asked about 'UpTime', not 'family', both of them are object within array 'response' ,i.e. [ {"family:xxx", "UpTime:xxx"}...



Which exhibit displays a valid JSON file?





Answer(s): A



Refer to the exhibit.


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

  1. {Name: Bob, Johson, Age: 75, Alive: true, Favourite Foods. [Cereal, ”Mustard”, ”Onions]}
  2. {Name”, ”Bob” Johson”, ”Age”, 75, ”Alive”, true, ”favourite Foods”, [”Cereal, ”Mustard”, Onions”]}
  3. {“Name”: “Bob Johnson”,“Age”: 75,“Alive”: “true”,“Favorite Foods”: [“Cereal”,“Mustard”,“Onions”]}
  4. {Name”. ”Bob Johson”, ”Age”: Seventyfive, ”Alive” true, ”favourite Foods” ,[Cereal” ”Mustard” ”Onions”]}

Answer(s): C



Which JSON syntax is valid?

  1. {“switch”:”name”:”dist1′′,”interfaces”:[“gig1′′,”gig2′′,”gig3”]}
  2. {/”switch/”:{/”name/”:”dist1′′,/”interfaces/”:[“gig1′′,”gig2′′,”gig3”]}}
  3. {“switch”:{“name”:”dist1′′,”interfaces”:[“gig1′′,”gig2′′,”gig3”]}}
  4. {‘switch’:(‘name’:’dist1′,’interfaces’:[‘gig1′,’gig2′,’gig3’])}

Answer(s): C

Explanation:

This JSON can be written as follows:
{
‘switch’: {
‘name’: ‘dist1’,
‘interfaces’: [‘gig1’, ‘gig2’, ‘gig3’]
}}



Viewing page 64 of 193
Viewing questions 316 - 320 out of 1067 questions


Post your Comments and Discuss Cisco 350-401 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!