Question #120
DRAG DROP –
Refer to the exhibit. A Python script must delete all Cisco Catalyst 9300 Series switches that have an uptime that is greater than 90 days. The script must also query for the status of all the other devices. Drag and drop the code from the bottom onto the box where the code is missing to complete the script. Not all options are used.
Select and Place:
Correct Answer:
Question #121
Refer to the exhibit.
Given the API documentation for the UCS SDK Python class, UcsHandle, which code snippet creates a handle instance?
A.
B.
C.
D.
Correct Answer: B
Reference:
https://www.ciscolive.com/c/dam/r/ciscolive/us/docs/2016/pdf/LTRINI%202020-LG.pdf
Question #122
Refer to the exhibits.
The Python interpreter and the Cisco Python SDK are available by default in the Cisco NX-OS Software. The SDK documentation shows how the clid() API can be used when working with JSON and XML. What are two effects of running the script? (Choose two.)
- A. configure interface loopback 5
- B. show details for the TABLE interface
- C. issue shutdown on interface loopback 5
- D. show only the interfaces in the up status
- E. show only the interfaces in admin shut status
Correct Answer: AD
Reference:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-
OS_Programmability_Guide_7x/Python_API.html
Community vote distribution
AD (100%)
Question #123
DRAG DROP –
Drag and drop the element of the Finesse API on the left onto its functionality on the right.
Select and Place:
Correct Answer:
Reference:
https://developer.cisco.com/docs/finesse/#!cisco-finesse-desktop-apis
Question #124
What are two key capabilities of Cisco Finesse? (Choose two.)
- A. Agents access Finesse from a browser without needing to install or configure anything on the client machine.
- B. An OpenDNS utility is preconfigured and ready to use on Finesse.
- C. Gadget containers provide a seamless experience in a single user interface.
- D. Finesse automatically collects telemetry data.
- E. Finesse includes an RPC API that enables the development of custom gadgets.
Correct Answer: AC
Community vote distribution
AC (100%)
Question #125
Which two statements are true about Cisco UCS Manager, Cisco UCS Director, or Cisco Intersight APIs? (Choose two.)
- A. UCS Manager uses JSON to encode API interactions and utilizes Base64-encoded credentials 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. Cisco Intersight API interactions can be encoded in XML or JSON and require an API key in the HTTP header for authentication.
Correct Answer: BD
Reference:
https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/rest-api-getting-started-guide/6-5/cisco-ucs-director-REST-API-getting- started-65.html https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/api/b_ucs_api_book.pdf
Community vote distribution
BD (100%)
Question #126
DRAG DROP –
Drag and drop the capability on the left onto the Cisco compute management platform that supports the capability on the right.
Select and Place:
Correct Answer:
Question #127
Which model-driven programmability protocol does Cisco IOS XE Software support?
- A. gNMI
- B. SOAP
- C. SSH
- D. CORBA
Correct Answer: A
Reference:
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/1610/b_1610_programmability_cg/gnmi_protocol.html
Community vote distribution
A (100%)
Question #128
Which operation is performed with YANG model-driven programmability in NX-OS?
- A. configure a device with native and OpenConfig-based models
- B. bootstrap a device that has a factory-default configuration
- C. send CLI commands to a device and retrieve output in JSON format
- D. run Linux commands natively on the device
Correct Answer: A
Reference:
https://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/white-paper-c11-741518.html
Community vote distribution
A (100%)
Question #129
What are two benefits of model-driven programmability? (Choose two.)
- A. easier to design, deploy, and manage APIs
- B. single choice of transport, protocol, and encoding
- C. models decoupled from transport, protocol, and encoding
- D. model-based, structured, and human friendly
- E. model-driven APIs for abstraction and simplification
Correct Answer: CE
Reference:
https://www.ciscolive.com/c/dam/r/ciscolive/emea/docs/2018/pdf/BRKSPG-2303.pdfS
Community vote distribution
CE (60%)
AC (40%)
Question #130
What is a benefit of model-driven programmability?
- A. It provides a programmatic and standards-based way of writing configurations to any network device.
- B. By modeling data, it ensures that vast quantities of data are usable for monitoring.
- C. It simplifies management and operations by decoupling the networking hardware from its control mechanism.
- D. It addresses the static architecture of traditional networks being decentralized and complex.
Correct Answer: A
Reference:
https://developer.cisco.com/site/ios-xe/
Community vote distribution
A (100%)
Question #131
Which type of HTTP method is used by the Meraki and Webex Teams APIs to send webhook notifications?
- A. HTTP POST
- B. HTTP GET
- C. HTTP HEAD
- D. HTTP PUT
Correct Answer: A
Reference:
https://meraki.cisco.com/blog/tag/alerts/
Question #132
Refer to the exhibit. The Cisco Meraki API manages two organizations. In each organization, two independent networks are defined. How many calls to the / organizations/{orgId}/networks endpoint will be run parallel by the GetAllNetworks function of the API client?
- A. 0
- B. 1
- C. 2
- D. 4
Correct Answer: C
Community vote distribution
C (88%)
Question #133
Refer to the exhibit.
The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Why does the RESTCONF interface respond with a 204 status code?
- A. The query retrieved the logging severity level.
- B. The query updated the logging severity level or created it if not present on the device.
- C. The query failed at retrieving the logging severity level.
- D. The query failed to set the logging severity level due to an invalid path.
Correct Answer: B
Reference:
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/1611/b_1611_programmability_cg/restconf_programmable_interface.html
Community vote distribution
B (100%)
Question #134
What is a requirement when authenticating a RESTCONF API session with a router that runs Cisco IOS XE Software?
- A. No authentication is required.
- B. OAuth must be used.
- C. A token must be retrieved and the associated string must be embedded in the X-Auth-Token header.
- D. Basic authentication must be used.
Correct Answer: D
Community vote distribution
D (100%)
Question #135
Which API must an engineer use to change a netmask on a Cisco IOS XE device?
- A. Meraki
- B. SD-WAN
- C. RESTCONF/YANG
- D. DNAC
Correct Answer: C
Community vote distribution
C (100%)
Question #136
A developer creates a script that configured multiple Cisco IOS XE devices in a corporate infrastructure. The internal test environment is unavailable, and no maintenance window is available to test on a low-priority production environment. Which resource is used to test the code before it is applied to the production environment?
- A. Code Exchange
- B. Cisco Support
- C. Cisco DevNet Learning Labs
- D. Cisco DevNet Sandbox
Correct Answer: D
Reference:
https://developer.cisco.com/site/sandbox/
Community vote distribution
D (100%)
Question #137
Which tool is used to block all traffic to the domain by using a single API call?
- A. Cisco Firepower
- B. Cisco AMP
- C. Cisco Umbrella
- D. Cisco ISE
Correct Answer: C
Community vote distribution
C (100%)
Question #138
Why is refactoring done during test-driven development?
- A. to enable larger objects and longer methods
- B. to improve maintainability and readability
- C. to ensure that the previous uses of the objects are explained
- D. to ensure the duplication of essential code
Correct Answer: B
Community vote distribution
B (100%)
Question #139
Refer to the exhibit. A network engineer must change the configuration on devices daily. The Python script must collect CLI arguments from the user, organize data according to the Cisco-IOS-XE-native YANG model, and utilize Cisco REST APIs to make the configuration. Which workflow is being automated by the
Python script?
- A. updating an existing route on the device
- B. adding a new route to a device
- C. including a route on the device and overwriting the current routes
- D. deleting the route that is passed through the command-line variables
Correct Answer: A
Community vote distribution
B (71%)
A (29%)
Question #140
Which platform is used to programmatically create a space and invite users for collaboration?
- A. Cisco Intersight
- B. Cisco Finesse
- C. Cisco Webex
- D. Cisco UCM
Correct Answer: C
Community vote distribution
C (100%)
Question #141
Refer to the exhibit. A developer wants to create a room named cisco through Webex API. The developer prepares the request by putting an API token inside the authorization header; however, the given HTTP call returns error code 400. How must the call parameters be changed to ensure a valid response?
- A. Replace the team body parameter with the name body parameter.
- B. Replace cisco with a valid name for a team.
- C. Change the token in the header with the authorization token.
- D. Change the HTTP method of the call to PUT.
Correct Answer: A
Community vote distribution
A (100%)
Question #142
Refer to the exhibit. Which line must be included in the Bash script for the Python code to succeed?
- A. define WEBEX_TEAMS_ACCESS_TOKEN=your_access_token_here
- B. export WEBEX_TEAMS_ACCESS_TOKEN=your_access_token_here
- C. set WEBEX_TEAMS_ACCESS_TOKEN=your_access_token_here
- D. WEBEX_TEAMS_ACCESS_TOKEN=your_access_token_here
Correct Answer: B
Community vote distribution
B (100%)
Question #143
What is a capability of the NETCONF protocol?
- A. allows Python scripts to be executed externally from a network device
- B. uses JSON to encode data in its content layer
- C. allows XML messages to be exchanged via the SSH protocol
- D. exposes a web-based interface
Correct Answer: C
Community vote distribution
C (100%)
Question #144
Refer to the exhibit. A network engineer uses model-driven programmability to monitor and perform changes on the network. The network engineer decides to use the NETCONF RPC message to complete one of their tasks. What is accomplished by sending the RPC message?
- A. The running-config of the device is returned.
- B. The name of each interface is reset to a default name.
- C. All the YANG capabilities supported by the device are returned.
- D. A list of interface names is returned.
Correct Answer: A
Community vote distribution
D (100%)
Question #145
DRAG DROP –
Drag and drop the code from the bottom onto the box where the code is missing in the Python script to complete a function to return all the clients on a network by using the Cisco Meraki Dashboard API. Not all options are used.
Select and Place:
Correct Answer:
Question #146
Refer to the exhibit. A developer creates a script to obtain a list of devices by using the Cisco DNA Center API. The remote server authorizes the request only if an authentication token is supplied in the headers. A function named get_auth_token() must retrieve a valid token by using HTTP Basic Authentication. Which code must be added to complete the get_auth_token() function?
- A. resp = requests.post(url, auth=HTTPBasicAuth(DNAC_USER, DNAC_PASSWORD)) token = resp.json()[‘Token’] return token
- B. resp = requests.post(url, auth=(DNAC_USER, DNAC_PASSWORD)) token = resp.json ()[‘Token’] return token
- C. resp = http.post(url, auth=HTTPBasicAuth(DNAC_USER, DNAC_PASSWORD)) token = resp.json()[‘Token’] return token
- D. resp = http.post(url, auth=(DNAC_USER, DNAC_PASSWORD)) token = resp.json()[‘Token’] return token
Correct Answer: A
Community vote distribution
A (100%)
Question #147
DRAG DROP –
Refer to the exhibit. Drag and drop the code snippets from the bottom onto the blanks in the code to construct a request to find the Cisco DNA Center switch count. Not all options are used.
Select and Place:
Correct Answer:
Question #148
Refer to the exhibit. A network engineer wants to use an API to update information about device interfaces. The network devices are deployed in a Cisco DevNet
Sandbox and have running interfaces. Which line of code needs to be placed in the snippet where the code is missing?
- A. {‘Content-Type’: ‘application/yang.data+xml’, ‘Accept’: ‘application/yang.data+xml’}
- B. {‘Content-Type’: ‘application/yang.data+yaml’, ‘Accept’: ‘application/yang.data+yaml’}
- C. {‘Content-Type’: ‘application/restconf.data+json’, ‘Accept’: ‘application/restconf.data+json’}
- D. {‘Content-Type’: ‘application/yang.data+utf8’, ‘Accept’: ‘application/restconf.data+utf8’}
Correct Answer: C
Community vote distribution
A (100%)
Question #149
Refer to the exhibit. A network engineer works on a Cisco DevNet application that is available for download on the Cisco DevNet website. The engineer prepares a bash script to automate operations that relate to the application. Which workflow is being automated in the bash script?
- A. compilation and configuration of the Cisco DevNet application so that it must be started manually
- B. compilation, installation, and configuration of the Cisco DevNet application so that it starts automatically
- C. compilation and installation of the Cisco DevNet application for an autonomous deployment model
- D. installation and configuration of the Cisco DevNet application so that it starts manually
Correct Answer: B
Community vote distribution
B (100%)
Question #150
A company wants to accelerate the adoption of technologies that will simplify its operations. Staff have different skill levels and are looking for a single site to find easy-to-consume beginner, intermediate, and advanced multidomain use cases. Which site should be used?
- A. DevNet Ecosystem Exchange
- B. DevNet Automation Exchange
- C. DevNet Creations
- D. DevNet Support Forum
Correct Answer: B
Community vote distribution
B (73%)
13%
13%
Question #151
Which Cisco product provides malware and content filtering through DNS?
- A. Cisco ASA Firepower module
- B. Cisco AMP
- C. Cisco ISE
- D. Cisco Umbrella
Correct Answer: D
Community vote distribution
D (100%)
Question #152
Which Cisco platform provides organization-wide automation, security, policy enforcement, and agility across wired and wireless networks?
- A. Cisco SD-WAN
- B. Cisco DNA Center
- C. Cisco ACI
- D. Cisco Umbrella
Correct Answer: B
Community vote distribution
B (75%)
C (25%)
Question #153
What is a characteristic of the Cisco Finesse platform?
- A. Applications allow services to be invoked on a network triggered event.
- B. The platform provides a ready-to-go platform for HD video and audio conferencing.
- C. Applications are added to the platform from the desktop remotely.
- D. The platform includes an enterprise-class IM engine.
Correct Answer: C
Reference:
https://developer.cisco.com/docs/finesse/#!finesse-overview/what-are-the-business-benefits
Community vote distribution
A (50%)
C (50%)
Question #154
An engineer needs to retrieve a list of locally available Firepower Threat Defense upgrade packages by using the Firepower Management Center REST API. The engineer uses a GET request with the URL:
/api/fmc_platform/v1/updates/upgradepackages/f413afeb-e6f6-75f4-9169-6d9bd49s625e
What does `f413afeb-e6f6-75f4-9169-6d9bd49s625e` represent?
- A. container UUID
- B. package UUID
- C. domain UUID
- D. object UUID
Correct Answer: B
Reference:
https://www.cisco.com/c/en/us/td/docs/security/firepower/640/api/REST/Firepower_Management_Center_REST_API_Quick_Start_Guide_640.html
Community vote distribution
B (75%)
C (25%)
Question #155
Refer to the exhibit.
A process running on the host wants to access the service running inside this Docker container. Which port or ports are used to make a connection?
- A. only outbound connections between 3000 and 5000 are possible
- B. port 3000
- C. any port between 3000 and 5000
- D. port 5000
Correct Answer: D
Community vote distribution
B (70%)
D (30%)
Question #156
DRAG DROP –
Drag and drop the Dockerfile instructions from the left onto the descriptions on the right. Not all options are used.
Select and Place:
Correct Answer:
Question #157
What are two security benefits of a Docker-based application? (Choose two.)
- A. natively secures access to secrets that are used by the running application
- B. guarantees container images are secured and free of vulnerabilities
- C. easier to patch because Docker containers include only dependencies that the application requires
- D. prevents information leakage occurring when unhandled exceptions are returned in HTTP responses
- E. allows for separation of applications that traditionally run on the same host
Correct Answer: CE
Community vote distribution
CE (100%)
Question #158
A local Docker alpine image has been created with an image ID of a391665405fe and tagged as `latest`. Which command creates a running container based on the tagged image, with the container port 8080 bound to port 80 on the host?
- A. docker build -p 8080:80 alpine:latest
- B. docker exec -p 8080:80 alpine:latest
- C. docker start -p 8080:80 alpine:latest
- D. docker run -p 8080:80 alpine:latest
Correct Answer: D
Community vote distribution
D (100%)
Question #159
Refer to the exhibit.
Which function does the EXPOSE line perform when building an image from this Dockerfile?
- A. Local port 8080 of the container that launched with this docker image is accessible from co-hosted containers and external clients.
- B. Local port 8080 is not reachable at all because no IP address is specified along with the EXPOSE command of the Dockerfile.
- C. Local port 8080 is accessible from other containers running on the same docker host as the container that launched with this docker image.
- D. Local port 8080 of the container that launched with this docker image is accessible to external clients.
Correct Answer: C
Community vote distribution
C (100%)