Tag Archives: JSON

Which statement is FALSE about Oracle Autonomous JSON Database?

Which statement is FALSE about Oracle Autonomous JSON Database? A. JSON data is stored natively in the database B. You can promote Autonomous JSON Database to Autonomous Transaction /Processing C. It supports NoSQL-style, document-centric application D. There is a 20 GB limit on JSON collection Correct Answer: D

Which JSON syntax is derived from this data?

Refer to the exhibit. Which JSON syntax is derived from this data? A. {[{‘First Name’: ‘Johnny’, ‘Last Name’: ‘Table’, ‘Hobbies’: [‘Running’, ‘Video games’]}, {‘First Name’: ‘Billy’, ‘Last Name’: ‘Smith’, ‘Hobbies’: [‘Napping’, ‘Reading’]}]} B. {‘Person’: [{‘First Name’: ‘Johnny’, ‘Last Name’: ‘Table’, ‘Hobbies’: ‘Running’, ‘Video games’}, {‘First Name’: ‘Billy’, ‘Last Name’: ‘Smith’, ‘Hobbies’: ‘Napping’, ‘Reading’}]} C. {[{‘First Name’: ‘Johnny’, ‘Last… Read More »

Which line must be added in the Python function to return the JSON object {“cat_9k”: “FXS1932Q2SE”}?

A. return (json.dumps({d[‘hostname’]: dfserialNumber’] for d in json.loads(testJsonX’response’]})) B. return (json.dumps({for d in json.loads(testjson)[‘respcnse’]: d[‘hostname’]: dfserialNumber’]})) C. return (json.loads({d[‘hostname’]: d[‘serialNumber’] for c in json.dumps(test_json)[‘response’})) D. return (json.loads({for d in json.dumps(testjson)[‘respcnse’]: d[‘hostname’]: dfserialNumber’]})) Answer: Option D. Explanation:  No answer description available for this question Show AnswerDiscussion The post Which line must be added in the Python function to return… Read More »

An engineer plans to use Python to convert text files that contain device information to JSON Drag and drop the code snippets from the bottom onto the blanks in the code to construct the request. Not all options are used.

An engineer plans to use Python to convert text files that contain device information to JSON Drag and drop the code snippets from the bottom onto the blanks in the code to construct the request. Not all options are used. Select and Place: Answer: Explanation:  No answer description available for this question Show AnswerDiscussion The post An engineer… Read More »

What is the structure of a JSON web token?

A. three parts separated by dots: header, payload, and signature B. three parts separated by dots: version, header, and signature C. header and payload D. payload and signature Answer: Option A. Explanation:  Reference: https://auth0.com/docs/tokens/references/jwt-structure Show AnswerDiscussion The post What is the structure of a JSON web token? appeared first on Majanto.

Cisco SD-WAN deployment must be troubleshooted using vManage APIs. A call to vEdge Hardware Health API returns the data in the exhibit (only a portion is shown). If this JSON is converted to a Python dictionary and assigned to the variable “d”, how the status is accessed that is indicated on line 16?

Refer to the exhibit. Cisco SD-WAN deployment must be troubleshooted using vManage APIs. A call to vEdge Hardware Health API returns the data in the exhibit (only a portion is shown). If this JSON is converted to a Python dictionary and assigned to the variable “d”, how the status is accessed that is indicated on line 16? A.… Read More »

Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth.

Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth. curl -X ____________ -H ” __________: application/json” -H ” _______: Bearer AbCdEf123456″ https://localhost/api/myresource A. See explanation below. Answer: Option A. Explanation:  GET Accept Authorization Reference: https://webcache.googleusercontent.com/search?q=cache:Se6d2trvMsEJ:https://blogs.cisco.com/developer/security-api-best-practices+&cd=4&hl=en&ct=clnk&gl=pk&client=firefox-b-d Show AnswerDiscussion The post Fill in the blanks to… Read More »