Pular para o conteúdo
Início » Questions Cisco 200 901 DEVASC

Questions Cisco 200 901 DEVASC

Questions Cisco 200 901 DEVASC

Questions Cisco 200 901 DEVASC

What is a benefit of using functions in the code for the development process?
Which two statements describe the advantages of using a version control system? (Choose two.)
What are two advantages of version control software? (Choose two.)
What are two benefits of model-driven programmability? (Choose two.)
Which type of HTTP method is used by the Meraki and Webex Teams APIs to send webhook notifications?
Which method should be used to safely store the API keys?
Which HTTP error code series relates to redirection?
What is an advantage of a version control system?
A developer is attempting to retrieve all the messages from a Cisco Webex space. The server responds by sending the first 1,000 messages. The developer must make additional requests to retrieve the rest of the messages. Which API constraint is described in this scenario?
A developer creates a web application that receives a username and password and uses them to sync the credentials to other services through HTTPS. API keys to services are part of the configuration files of the application, but the credentials to the database that stores the synchronization logs are obtained through an external vault service. What is the security issue in this scenario?
How do XML and JSON compare regarding functionality?
Which two items are Cisco DevNet resources? (Choose two.)
While developing a real-time VoIP application on a Cisco Webex platform, users report that their voice gets chopped or parts of the conversation drop out. Which network constraint is impacting the application?
A developer is writing an application that uses a REST API and the application requires a valid response from the API. Which element of the response is used in the conditional check?
In the test-driven development model, what is changed after a test fails?
Refer to the exhibit. Which command needs to be placed on the box where the code is missing to output the value of page_id in the Python 3.7 script?
Which task is performed because the test-driven development approach is being used?
Which two concepts describe test-driven development? (Choose two.)
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?
What is a difference between a synchronous API and an asynchronous API?
Refer to the exhibit. The JSON data in the exhibit has been parsed and stored into a variable ג€dataג€. What returns the value ג€172.16.0.11ג€?
Which API must an engineer use to change a netmask on a Cisco IOS XE device?
Which mechanism is used to consume a RESTful API design when large amounts of data are returned?
Which action resolves a 401 error in response to an HTTP GET that is issued to retrieve a configuration statement using RESTCONF on a CSR 1000V?
How does requesting a synchronous API operation differ from requesting an asynchronous API operation?
Package updates from a local server fail to download. However, the same updates work when a much slower external repository is used. Why are local updates failing?
Which HTTP response status code means ג€Forbiddenג€?
Refer to the exhibit. A network engineer must manage the network devices. The engineer prepares a Python script to authenticate to the Cisco DNA Center API and request a device list. The device request fails and returns error code 401. Which action solves the problem?
A developer pushes an application to production. The application receives a webhook over HTTPS without a secret. The webhook information contains credentials to service in cleartext. When the information is received, it is stored in the database with an SHA-256 hash. Credentials to the database are accessed at runtime through the use of a vault service. While troubleshooting, the developer sets the logging to debug to view the message from the webhook. What is the security issue in this scenario?
What are two principles of an infrastructure as code environment? (Choose two.)
Which platform has an API that can be used to obtain a list of vulnerable software on user devices?
Refer to the exhibit. What caused the error in this API request?
How are operations on REST APIs performed as compared to RPC APIs?
Refer to the exhibit. A developer just finished testing a Python script and wants to save the list of packages and versions installed on the current machine. The developer must make sure that it will not cause any issues if tested on another device due to different library versions. Which line of code needs to be placed on the snippet where the code is missing?
Before which process is code review performed when version control is used?
Which operation is performed with YANG model-driven programmability in NX-OS?
Refer to the exhibit. The script returns an output of 401. To use the supplied URL, an HTTP GET request must be sent with an Authorization header. The header value is a base64 encoded concatenation of the username and password. Which action must be taken to return an output of 200?
Refer to the exhibit. A developer cannot reach the web application behind an NGINX load balancer. The developer sends a request to an application FQDN with cURL but gets an HTTP 502 response. Which action solves the problem?
Refer to the exhibit. A developer needs to upload a local file by using the REST API. The developer gathers information according to the documentation and sends the request by using the cURL command in the exhibit but gets an error code. Which action should be followed to get a valid response?
What are two key capabilities of Cisco Finesse? (Choose two.)
Refer to the exhibit. A network engineer wants use API update information about device interfaces. The network devices are deployed in a Cisco DevNet Sandbox and have running interfaces. Which value is suitable as the headers variable?
Refer to the exhibit. Which Python data structure does my_json contain?
Which REST architectural constraint indicates that no client context should be stored on the server between requests?
Which statement describes the benefit of using functions in programming?
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?
How does a developer create and switch to a new branch called ג€my-bug-fixג€ to develop a product fix?
Refer to the exhibit. Which data is specified in the response header?
A 401 HTTP response code is returned when calling a REST API. What is the error state identified by this response code?
Which two use cases are supported by Meraki APIs? (Choose two.)
What is the Git command to delete a local branch named ג€experimentג€ without a warning?
Which two encoding formats do YANG interfaces support? (Choose two.)
hat is a comparison of YAML and JSON?
What is the difference between YAML and JSON data structure?
A developer is working on a feature for a new application. The changes in the existing branch named ‘feat00304’ must be integrated into a single commit with the current working primary branch named ‘prodapp411926287’. Which git command must be used?
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 developer needs to prepare the file README.md in the working tree for the next commit operation using Git. Which command needs to be used to accomplish this?
Which action does the Git command git merge allow the developer to perform?
A developer is reviewing a code that was written by a colleague. It runs fine, but there are many lines of code to do a seemingly simple task repeatedly. Which action organizes the code?
What are two benefits of managing network configuration via APIs? (Choose two.)
An application calls a REST API and expects a result set of more than 550 records, but each time the call is made, only 25 are returned. Which feature limits the amount of data that is returned by the API?
Which model-driven programmability protocol does Cisco IOS XE Software support?
A developer is creating a script to interact with a REST API service which requires basic authentication. The credentials are “devnet:391665405” and the Base64 encoding of the credentials is “GV2bmV0dXNlcjpDaXNj=”. Which payload and header combination must be used for authentication?
What is a benefit of model-driven programmability?
Refer to the exhibit. An API call is constructed to retrieve the inventory in XML format by using the API. The response to the call is 401 Unauthorized. Which two headers must be added to the API call? (Choose two.)
What is a benefit of organizing code into modules?
Which advantage does the agile process offer compared to waterfall software development?
What is the first development task in test-driven development?
What is a requirement when authenticating a RESTCONF API session with a router that runs Cisco IOS XE Software?
In Python, which expression checks whether the script returns a success status code when the Requests library is used?
A developer needs a list of clients connected to a specific device in a Meraki network. After making a REST API call, the developer receives an unfamiliar response code. Which Cisco DevNet resource should be used to identify the meaning of the response code?
Which status code is used by a REST API to indicate that the submitted payload is incorrect?
Which Cisco DevNet resource allows access to products in a development lab to explore, learn, and build applications that use Cisco APIs?
Into which type of Python data structure should common data formats be parsed?
What is a benefit of version control?
Which action do webhooks enable an application to perform?
Which method should be used to safely store the API keys?
In test-driven development, what are two of the green bar patterns? (Choose two.)
Which two statements describe the traits of an asynchronous API call? (Choose two.)
Which two statements are true about Cisco UCS Manager, Cisco UCS Director, or Cisco Intersight APIs? (Choose two.)
What is a functionality of the Waterfall method as compared to the Agile method for software development?
What is the outcome of executing this command? git clone ssh:/[email protected]/path/to/my-project.git
Several teams at a company are developing a new CRM solution to track customer interactions with a goal of improving customer satisfaction and driving higher revenue. The proposed solution contains these components: ג€¢ MySQL database that stores data about customers ג€¢ HTML5 and JavaScript UI that runs on Apache ג€¢ REST API written in Python What are two advantages of applying the MVC design pattern to the development of the solution? (Choose two.)
A file that already exists in a local repository is updated. Which command must be executed to ensure that the changes in the file are included in the next Git commit?
Which API is used to obtain data about voicemail ports?
What is a benefit of organizing code into modules?
A company has written a script that creates a log bundle from the Cisco DNA Center every day. The script runs without error and the log bundles are produced. However, when the script is run during business hours, people report poor voice quality of phone calls. What explains this behavior?
Which HTTP code group is issued when a request is received successfully, understood, and processed?
Which HTTP response code should be returned when the request is completed, but there is no content to send for the request?
Which two statements about JSON and XML are true? (Choose two.)
Which principle is a value from the manifesto for Agile software development?
Refer to the exhibit. A developer can access the TLS REST API on server A, but cannot access the API on server B. The developer can ping server B. When the developer performs a packet capture on the TLS REST API port on server B, the capture shows that the packet arrived and the server responded. What causes the issue?
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
What are two use cases where webhooks are effective? (Choose two.)
Refer to the exhibit. What does the Python function do?
Refer to the exhibit. A Python code has been written to query a device. The executed code results in the error shown. Which action resolves the problem?
Refer to the exhibit. An engineer writes a Python script that uses two different API calls to query Cisco DNA Center for the number of interfaces on a device. The engineer notices that the two API calls produce different results. Why are fewer interfaces returned for the same device when the ‘get_all_interfaces’ API call is used?
In which two ways is an application characterized when interacting with a webhook? (Choose two.)
What is a benefit of test-driven development?

Veja também: