Question 41 · 530 in bank
Which API must an engineer use to change a netmask on a Cisco IOS XE device?
Show answer
Answer: C
Developing Applications and Automating Workflows using Cisco Platforms (DEVASC)530 questions across 53 pages are complete and free, with no account or card.
530 questions in this bank
Free access · progress saved on this device
Which API must an engineer use to change a netmask on a Cisco IOS XE device?
Answer: C
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?
Answer: D
Reference: https://developer.cisco.com/site/sandbox/
Which tool is used to block all traffic to the domain by using a single API call?
Answer: C
Cisco Umbrella is a Domain Name System (DNS)-based security mechanism that can provide common security for both on-premises and off-premises to provide endpoint security. Cisco Umbrella on-premises deployments do not require an agent to be installed on the endpoint. The firewall is good for blocking inbound threats, but consider threats that originate inside the network. These threats cannot be stopped by perimeter security because they are already behind the firewall. Cisco Umbrella can block client connections at the application layer, regardless of network connection or perimeter security, by preventing the client from resolving DNS for the remote destination. If the client cannot resolve DNS for the remote destination, it cannot establish a connection and download the malware. Cisco Umbrella can be used to prevent connections to malicious websites or to websites that violate corporate security policy.
Source: Adapted from community discussion — Frank338
Why is refactoring done during test-driven development?
Answer: B
https://methodpoet.com/refactoring-in-tdd/ The goal is to get the initial messy code into a state where you can easily add new features and write new tests. In other words, you refactor the code to make it more readable, robust, reusable, and maintainable. Refactoring should be an ongoing process of every developer over time. The goal of TDD should be to allow you to have a constant focus on writing production-quality code in the very first place. B is best of the options
Source: Adapted from community discussion — aplicacion101

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?
Answer: B
I tested this in GNS3. PUT - replaces the whole routing table PATCH - added the route to the existing - but if the route with ip mask and gw already exists, it does nothing (checked this with route options name, tag, distanceand multicast in the route before using the script) I think B should be correct, because PATCH would add the entered route. Updateing a existing route is not possible.
Source: Adapted from community discussion — nospampls
FILL BLANK - 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(r_json) ticket = r_json[`response`][`serviceTicket`] print(ticket)
This is an interactive task on the real exam — a drag-and-drop, hotspot or ordering question. There is nothing to select here, so the answer is shown below for reference.
Answer:
devnetuser requests header Reference: https://developer.cisco.com/docs/apic-em/#!hello-world
Source: Adapted from community discussion — Pelau_the_Engineer
Which platform is used to programmatically create a space and invite users for collaboration?
Answer: C

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?
Answer: A
Answer should be A as there is no team body parameter in creating a room in webex https://developer.webex.com/docs/api/v1/rooms/create-a-room However, parameter should be 'title' IMO
Source: Adapted from community discussion — Toxkalcan

Refer to the exhibit. Which line must be included in the Bash script for the Python code to succeed?
Answer: B
What is a capability of the NETCONF protocol?
Answer: C
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
200-901 practice, question 41. 530 questions available.
Version 1.0.0. How we source questions