Cisco
350-601 · Question #575
Refer to the exhibit. A network engineer must retrieve the network interface name from a JSON object. The engineer loads the JSON into a Python dictionary named json_object. Which code snippet complet
Sign in or unlock 350-601 to reveal the answer and full explanation for question #575. The question stem and answer options stay visible for context.
Automation
Question
Refer to the exhibit. A network engineer must retrieve the network interface name from a JSON object. The engineer loads the JSON into a Python dictionary named json_object. Which code snippet completes the Python script?
Exhibit
Options
- Ainterface_name = json_object["if-name"]
- Binterface_name = json_object[0]
- Cinterface_name = json_object["eth0"]
- Dinterface_name = json_object[0][2]
Unlock 350-601 to see the answer
You've previewed enough free 350-601 questions. Unlock 350-601 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Python#JSON Parsing#Dictionary Access#Network Automation
