Sie sind auf Seite 1von 3

Emerging Technology Workshop - Network ( Version 1.

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])

Which HTTP status codes indicate a successful transaction? (Choose two.)


201
200

How does JSON differ from XML?


JSON uses objects and arrays, while XML uses nested tags.

What can be included in a general REST API request? (Choose five.)


HEADER, METHOD, AUTHENTICATION, ENDPOINT URI, BODY DATA
What are the three functional parts of the process of interacting with a REST API
in Postman or Python? (Choose three.)
sending the request
evaluating the response
building the request

APIs enable machines to talk to machines using code.


TRUE

What is the purpose of an SDN controller?


to concentrate the network-wide control plane

What is the name of the token that the APIC-EM requires for all requests to its
application API endpoints?
service ticket

What is done to convert a Python program into a function? (Choose three.)


The function must be defined.

A return statement must be used if the function results in values to be used by


the program that called the function.
All statements in the function must be indented an additional four spaces.

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

What describes an APIC-EM? (Choose three.)


It is an enterprise network SDN controller.
It includes Network PnP, EasyQOS, iWAN, and Path Trace applications.
It is a software device that can be purchased as a hardware appliance.

Das könnte Ihnen auch gefallen