DEVNET PRACTICE TEST SET 3 QUESTIONS
Which three statements about asynchronous APIs are correct? (Choose three.)
a. Resource availability and data store service are immediate.
b. Asynchronous calls do not block or wait for the API call to return from the server.
c. Multiple actions can take place at one time, which decreases waiting time for users.
d. Until a response is returned by the API, your application will not execute any further.
e. APIs provide a callback to the requester when the requested resource is read. -
Answer -b. Asynchronous calls do not block or wait for the API call to return from the
server.
c. Multiple actions can take place at one time, which decreases waiting time for users.
e. APIs provide a callback to the requester when the requested resource is read.
A developer is trying to retrieve data over a REST API. The API server responds with an
HTTP client error response code. After investigating the response the developer
realizes the response has a Retry-After header. What is the root cause of this error?
a. Too many requests were sent to the REST service in a given amount of time.
b. An appliance limited the rate of requests to the application layer.
c. The REST service is unreachable at the time of the REST request.
d. An appliance limited the rate of requests to the transport layer. - Answer -a. Too
many requests were sent to the REST service in a given amount of time.
What are two results of configuring a default gateway on a host? (Choose two.)
a. A default route is added to the host's routing table.
b. The host can start communicating with other hosts on the same network.
c. The host can get an IP address from the DHCP.
d. The size of the host's ARP table is reduced, because it does not get populated with
the IP to MAC address mappings for the hosts on remote networks.
e. The host's ARP table gets populated with IP to MAC address mappings of the hosts
on remote networks. - Answer -a. A default route is added to the host's routing table.
d. The size of the host's ARP table is reduced, because it does not get populated with
the IP to MAC address mappings for the hosts on remote networks.
Which two NETCONF operations cover the RESTCONF GET operation? (Choose two.)
a. <modify-config>
b. <edit>
c. <get-update>
d. <get>
e. <get-config> - Answer -d. <get>
e. <get-config>
, In Cisco Webex Teams, which statement is true about bot capabilities?
a. A bot can perform actions within Webex Teams.
b. A bot must always be @mentioned to answer.
c. A bot can read all messages in the group space.
d. A bot can participate in 1-to-1 and group spaces. - Answer -d. A bot can participate
in 1-to-1 and group spaces.
How do XML and JSON compare regarding functionality?
a. XML provides support for mapping data structures into host languages than JSON.
b. JSON provides support for data types than XML.
c. JSON natively supports arrays and XML does not natively support arrays.
d. XML provides more human readability than JSON. - Answer -c. JSON natively
supports arrays and XML does not natively support arrays.
Which two operations can an SNMP manager process perform in a network? (Choose
two.)
a. authenticate users accessing a device
b. retrieve data about the environmental parameters of a device
c. configure a device
d. construct a management information base (MIB) on a device
e. retrieve data about the price of a device - Answer -b. retrieve data about the
environmental parameters of a device
c. configure a device
Which two statements are true about Cisco UCS Manager, Cisco UCS Director, or
Cisco Intersight APIs? (Choose two.)
a. Cisco Intersight API interactions can be encoded in XML or JSON and require an API
key in the HTTP header for authentication.
b. UCS Director API interactions can be XML- or JSON-encoded and require an API key
in the HTTP header for authentication.
c. Cisco Intersight uses XML to encode API interactions and requires an API key pair for
authentication.
d. UCS Manager API interactions are XML-encoded and require a cookie in the method
for authentication.
e. UCS Manager uses JSON to encode API interactions and utilizes Base64-encoded
credentials in the HTTP header for authentication. - Answer -b. UCS Director API
interactions can be XML- or JSON-encoded and require an API key in the HTTP header
for authentication.
d. UCS Manager API interactions are XML-encoded and require a cookie in the method
for authentication.
What does the HTTP 405 response status code indicate?
Which three statements about asynchronous APIs are correct? (Choose three.)
a. Resource availability and data store service are immediate.
b. Asynchronous calls do not block or wait for the API call to return from the server.
c. Multiple actions can take place at one time, which decreases waiting time for users.
d. Until a response is returned by the API, your application will not execute any further.
e. APIs provide a callback to the requester when the requested resource is read. -
Answer -b. Asynchronous calls do not block or wait for the API call to return from the
server.
c. Multiple actions can take place at one time, which decreases waiting time for users.
e. APIs provide a callback to the requester when the requested resource is read.
A developer is trying to retrieve data over a REST API. The API server responds with an
HTTP client error response code. After investigating the response the developer
realizes the response has a Retry-After header. What is the root cause of this error?
a. Too many requests were sent to the REST service in a given amount of time.
b. An appliance limited the rate of requests to the application layer.
c. The REST service is unreachable at the time of the REST request.
d. An appliance limited the rate of requests to the transport layer. - Answer -a. Too
many requests were sent to the REST service in a given amount of time.
What are two results of configuring a default gateway on a host? (Choose two.)
a. A default route is added to the host's routing table.
b. The host can start communicating with other hosts on the same network.
c. The host can get an IP address from the DHCP.
d. The size of the host's ARP table is reduced, because it does not get populated with
the IP to MAC address mappings for the hosts on remote networks.
e. The host's ARP table gets populated with IP to MAC address mappings of the hosts
on remote networks. - Answer -a. A default route is added to the host's routing table.
d. The size of the host's ARP table is reduced, because it does not get populated with
the IP to MAC address mappings for the hosts on remote networks.
Which two NETCONF operations cover the RESTCONF GET operation? (Choose two.)
a. <modify-config>
b. <edit>
c. <get-update>
d. <get>
e. <get-config> - Answer -d. <get>
e. <get-config>
, In Cisco Webex Teams, which statement is true about bot capabilities?
a. A bot can perform actions within Webex Teams.
b. A bot must always be @mentioned to answer.
c. A bot can read all messages in the group space.
d. A bot can participate in 1-to-1 and group spaces. - Answer -d. A bot can participate
in 1-to-1 and group spaces.
How do XML and JSON compare regarding functionality?
a. XML provides support for mapping data structures into host languages than JSON.
b. JSON provides support for data types than XML.
c. JSON natively supports arrays and XML does not natively support arrays.
d. XML provides more human readability than JSON. - Answer -c. JSON natively
supports arrays and XML does not natively support arrays.
Which two operations can an SNMP manager process perform in a network? (Choose
two.)
a. authenticate users accessing a device
b. retrieve data about the environmental parameters of a device
c. configure a device
d. construct a management information base (MIB) on a device
e. retrieve data about the price of a device - Answer -b. retrieve data about the
environmental parameters of a device
c. configure a device
Which two statements are true about Cisco UCS Manager, Cisco UCS Director, or
Cisco Intersight APIs? (Choose two.)
a. Cisco Intersight API interactions can be encoded in XML or JSON and require an API
key in the HTTP header for authentication.
b. UCS Director API interactions can be XML- or JSON-encoded and require an API key
in the HTTP header for authentication.
c. Cisco Intersight uses XML to encode API interactions and requires an API key pair for
authentication.
d. UCS Manager API interactions are XML-encoded and require a cookie in the method
for authentication.
e. UCS Manager uses JSON to encode API interactions and utilizes Base64-encoded
credentials in the HTTP header for authentication. - Answer -b. UCS Director API
interactions can be XML- or JSON-encoded and require an API key in the HTTP header
for authentication.
d. UCS Manager API interactions are XML-encoded and require a cookie in the method
for authentication.
What does the HTTP 405 response status code indicate?