↑ ↓ to move, Enter to open, Esc to close

    CSCO-300-435Automating and Programming Cisco Enterprise Solutions

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search

    CSCO-300-435 · Practice

    Question 6 of 31

    Question CSCO-300-435-008

    Drag and dropPlace the right item in each slot.

    Refer to the exhibit. An engineer needs to complete a Python script that creates a Cisco Meraki network containing cameras and switches. The script must apply appropriate tags and print a response when network creation is permitted. Drag the code snippets into the boxes in the Python script to create the Meraki network. Not all options are used.

    ExhibitCode
    Exhibit. Its content is given in the text version below.
    Text version

    import requests
    import json
    API_key = "0650619a8bd777426765eff91ce79d4df5d7d27a"
    headers = {
    'Accept': 'application/json',
    'Content-Type': 'application/json',
    'X-Cisco-Meraki-API-Key': API_key
    }
    Org_ID = "549236"
    Base_URL = "https://api.meraki.com/api/v1/"

    Drag an item to a slot, or select an item and then a slot.

    url = f"{Base_URL}organizations/{Org_ID}/networks" body = { "name": "SalesDept", "timeZone": "America/Denver", "": [ "apps", "cameras" ], "": [ "switch", "camera" ] } response = requests.request("", url, headers=headers, json=body) if response.status_code != : print(json.dumps(response.json(), indent=2)) else: print("Forbidden!")
    Enter check answerF flag←→ move