Tag Archives: request

When Cisco lOS XE REST API uses HTTP request methods what is the purpose of a PUT request?

A. retrieves the specified resource or representation B. submits data to be processed to the specified resource C. updates the specified resource with new information D. creates a new resource Answer: Option C. Explanation:  No answer description available for this question Show AnswerDiscussion The post When Cisco lOS XE REST API uses HTTP request methods what is the… Read More »

An engineer is using XML in an application to send information to a RESTCONF-enabled device. After sending the request, the engineer gets this response message and an HTTP response code of 400. What do theseresponses tell the engineer?

Refer to the exhibit. An engineer is using XML in an application to send information to a RESTCONF-enabled device. After sending the request, the engineer gets this response message and an HTTP response code of 400. What do these responses tell the engineer? A. The Accept header sent was application/xml. B. POST was used instead of PUT to… Read More »

An engineer plans to use Python to convert text files that contain device information to JSON Drag and drop the code snippets from the bottom onto the blanks in the code to construct the request. Not all options are used.

An engineer plans to use Python to convert text files that contain device information to JSON Drag and drop the code snippets from the bottom onto the blanks in the code to construct the request. Not all options are used. Select and Place: Answer: Explanation:  No answer description available for this question Show AnswerDiscussion The post An engineer… Read More »

rag and drop the snippets into the RESTCONF request to form the request that returns this response.

Refer to the exhibit. Drag and drop the snippets into the RESTCONF request to form the request that returns this response. Not all options are used. Select and Place: Answer: Explanation:  No answer description available for this question Show AnswerDiscussion The post rag and drop the snippets into the RESTCONF request to form the request that returns this… Read More »

What are two requirements of generating a single certificate in Cisco ISE by using a certificate provisioning portal, without generating a certificate signing request? (Choose two.)

A. Enter the IP address of the device. B. Enter the common name. C. Choose the hashing method. D. Locate the CSV file for the device MAC. E. Select the certificate template. Answer: Option B, E. Explanation:  Reference: https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/200534-ISE-2-0-Certificate-Provisioning-Portal.html Show AnswerDiscussion The post What are two requirements of generating a single certificate in Cisco ISE by using a… Read More »

An engineer wants to replace the BLOCK_BAD ACL on the Cisco IOS XE router with this new content. The engineer wants to use RESTCONF for this and constructs a PUT request to the resource/restconf/data/native/ip/access-list/ Cisco-IOS-XE-acl:extended=BLOCK_BAD. What must the body look like to achieve the Cisco IOS XE configuration?

An engineer wants to replace the BLOCK_BAD ACL on the Cisco IOS XE router with this new content. The engineer wants to use RESTCONF for this and constructs a PUT request to the resource/restconf/data/native/ip/access-list/ Cisco-IOS-XE-acl:extended=BLOCK_BAD. What must the body look like to achieve the Cisco IOS XE configuration? Desired configutation: ip access-list extended BLOCK_BAD permit ip any host… Read More »

A network administrator must troubleshoot a network issue using Cisco DNA Center. Which API request helps to determine issue details, impacted hosts, or suggested actions for the resolution?

A. /dna/intent/v1/issues B. /dna/intent/api/v1/issues C. /dna/intent/v1/issue-enrichment-details D. /dna/api/v1/client-health/issues Answer: Option B. Explanation:  Reference: The intent/api/v1/issues request determine issue details, hosts impacted and suggests actions for resolution. Show AnswerDiscussion The post A network administrator must troubleshoot a network issue using Cisco DNA Center. Which API request helps to determine issue details, impacted hosts, or suggested actions for the resolution?… Read More »

An engineer needs to configure an autonomous AP for 802.1x authentication. To achieve the highest security an authentication server is used for user authentication. During testing, the AP fails to pass the user authentication request to the authentication server. Which two details need to be configured on the AP to allow communication between the server and the AP? (Choose two.)

A. username and password B. PAC encryption key C. RADIUS IP address D. shared secret E. group name Answer: Option C, D. Explanation:  No answer description available for this question. Show AnswerDiscussion The post An engineer needs to configure an autonomous AP for 802.1x authentication. To achieve the highest security an authentication server is used for user authentication.… Read More »

Fill in the blanks to complete the Python script to request a service ticket using the APIC-EM REST API for the user “devnetuser”.

Fill in the blanks to complete the Python script to request a service ticket using the APIC-EM REST API for the user “devnetuser”. import requests import json controller = ‘devnetapi.cisco.com/sandbox/apic_em’ url = “https://” + controller + “api/va/ticket” payload = {‘username’: ‘_________________’, ‘password’: ‘370940885’} header = {‘Content-type’: ‘application.json’} response = _______________________.post(url, data=json.dumps(payload), headers= ______________________, verify=False) r_json = response.json() print… Read More »

An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue?

Refer to the exhibit. An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue? A. Remove the -H ‘Accept: application/yang-data+json’ HTTP header because it is not required. B. Use -u… Read More »