Beruflich Dokumente
Kultur Dokumente
0) - Emerging
Technologies Workshop: Programming the APIC-EM Final Assessment
Refer to the exhibit. The JSON data shown has been converted to Python data
and stored in the variable json_data. Which expression will store the IP address
of the second network device in the variable item_ip?
item_ip = json_data['response']['networkElementsInfo'][1]['ip']
Refer to the exhibit. A list was created and modified in Python as shown. When
the code runs, what will be output?
['red', 'orange', 'purple', 'green']
A network programmer is testing API calls to an APIC-EM with Python. One of the
tests results in a 404 status code. What should the programmer do next?
Check the URI of the API endpoint that was used to make the call.
Refer to the exhibit. A student is practicing Python lists and dictionaries and has
entered the statements shown. Which statement will print "Pasta goes with
sauce."?
print(dishes['food'][0] + " goes with " +dishes['with'][1])
What is the name of the token that the APIC-EM requires for all requests to its
application API endpoints?
service ticket
Why are coding skills necessary for the next generation of networkers?
because network programmability will replace configuration of individual devices
What is Postman?
a tool for testing REST API functionality
Refer to the exhibit. In which block of code are elements of the REST API request
created?
C
Which Python module provides functions and methods that send REST API calls
across the network to API endpoints?
REQUESTS
What is Swagger?
a standard way of presenting API documentation
A network programmer has written code that requests a path trace from the APIC-
EM to test network conditions. The APIC-EM communicates with the physical
network devices when it executes the request. What is the APIC-EM using to
communicate with the devices in the network topology?
southbound API
Refer to the exhibit. The code shown is part of a program that makes a request to
a REST API. Which line of code sends the request to API?
4