DevnetAssss
|
|
Título del Test:
![]() DevnetAssss Descripción: Devasc4 |



| Comentarios |
|---|
NO HAY REGISTROS |
|
Which Cisco DevNet resource allows access to products in a development lab to explore, learn, and build applications that use Cisco APIs?. DevNet Code Exchange. DevNet Sandbox. DevNet Communities. DevNet Automation Exchange. Which two statements describe the traits of an asynchronous API call? (Choose two.). Code execution blocks or waits for the call to an API to return. A callback function typically is used to process the response from an API call. A call to an API does not block the code, but rather it allows application processing to continue. The end user can experience latency or performance lag while waiting for the API call to return. The order in which API calls return can be guaranteed. Which mechanism is used to consume a RESTful API design when large amounts of data are returned?. data sets. scrolling. pagination. blobs. Which two use cases are supported by Meraki APIs? (Choose two.). Build location-aware apps from Wi-Fi and LoRaWAN devices. Build a custom Captive Portal for Mobile Apps. Configure network devices via the Dashboard API. Deploy applications onto the devices. Retrieve live streams from a Meraki Camera. Which API is used to obtain data about voicemail ports?. Webex Teams. Cisco Unified Communications Manager. Finesse Gadgets. Webex Devices. What is a difference between a synchronous API and an asynchronous API?. Synchronous API calls require an authentication header to be sent while asynchronous calls do not require authentication. Synchronous API calls are returned immediately while asynchronous calls do not guarantee an immediate response. An asynchronous API can make offline calls while synchronous APIs do not have this capability. An asynchronous API can make a larger number of calls in a specified time period than a synchronous API. Which two concepts describe test-driven development? (Choose two.). User acceptance testers develop the test requirements. It enables code refactoring. Tests are created when code is ready for release. Implementation is driven by incremental testing of release candidates. Write a test before writing code. Which task is performed because the test-driven development approach is being used?. creating test scenarios based on continuous development. writing code without committing any coding violations. refactoring code that is covered by existing tests. testing existing software before developing new code. What is the first development task in test-driven development?. Write code that implements a desired function. Write a failing test case for a desired function. Reverse engineer the code for a desired function. Write a passing test case for existing code. In test-driven development, what are two of the green bar patterns? (Choose two.). another test. break. triangulate. starter test. fake it. In the test-driven development model, what is changed after a test fails?. schedule. project requirements. code. test. What is a benefit of test-driven development?. strict adherence to product requirements. faster releases that have minimal features. early customer involvement. increased code quality. Which two statements describe the advantages of using a version control system? (Choose two.). It allows for branching and merging so that different tasks are worked on in isolation before they are merged into a feature or master branch. It provides tooling to automate application builds and infrastructure provisioning. It allows multiple engineers to work against the same code and configuration files and manage differences and conflicts. It provides a system to track User Stories and allocate to backlogs. It allows developers to write effective unit tests. What are two advantages of version control software? (Choose two.). It supports tracking and comparison of changes in binary format files. It allows new team members to access the current code and history. It supports comparisons between revisions of source code files. It provides wiki collaboration software for documentation. . It allows old versions of packaged applications to be hosted on the Internet. Before which process is code review performed when version control is used?. checkout of code. merge of code. committing code. branching code. What is an advantage of a version control system?. facilitates resolving conflicts when merging code. ensures that unit tests are written. prevents over-writing code or configuration files. forces the practice of trunk-based development. Refer to the exhibit Which Python data structure does my_json contain?. map. list. json. dict. When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?. JSON. YAML. XML. x-form-encoding. Which JSON is equivalent to the XML-encoded data?. { "books":[ "science":{ "biology":"10.00", "geology":"9.0" }, "math":{ "calculus":"20.00" } ] }. [ { "books":{ "science":{ "biology": "10.0", "geology":"9.0", }, "math":{ "calculus":"20.00", } } } ]. Which two statements about JSON and XML are true? (Choose two.). The syntax of JSON contains tags, elements, and attributes. XML objects are collections of key-value pairs. JSON objects are collections of key-value pairs. JSON arrays are an unordered set of key-value pairs. The syntax of XML contains tags, elements, and attributes. Which statement describes the benefit of using functions in programming?. Functions ensure that a developer understands the inner logic contained before using them as part of a script or application. Functions create the implementation of secret and encrypted algorithms. Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read. Functions store mutable values within a script or application. What is a benefit of organizing code into modules?. reduces the length of code. enables code to be multifunctional. enables the reuse of code. improves overall performance. What is a benefit of organizing code into modules?. enables the code to be broken down into layers. improves collaboration of the development team. makes it easier to deal with large and complex systems. enables the inclusion of more programming languages in the code. What is the Git command to delete a local branch named ג€experimentג€ without a warning?. git branch ג€"rm experiment. git branch ג€"n experiment. git branch ג€"f experiment. git branch ג€"D experiment. What is the outcome of executing this command? git clone ssh:/john@example.com/path/to/my-project.git. creates a local copy of a repository called ג€my-projectג€. initiates a new Git repository called ג€my-projectג€. creates a copy of a branch called ג€my-projectג€. creates a new branch called ג€my-projectג€. Which action does the Git command git merge allow the developer to perform?. Combine multiple sequences of commits into one unified history. Push changes to the remote repository. Create, list, rename, and delete branches. Switch between branches. How does a developer create and switch to a new branch called ג€my-bug-fixג€ to develop a product fix?. git checkout -b my-bug-fix. git branch -b my-bug-fix. git branch my-bug-fix. git checkout my-bug-fix. Drag and drop the Git commands from the left onto the right that add modified local files to a remote repository. Not all options are used. git push. git add . git checkout-b "new branch". git commit -m "this is my edit". git pull. 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?. git -a README.md. git add README.md. git add README.md staging. git commit README.md. 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?. Refactor the code by removing any unnecessary tests. Reverse engineer and rewrite the code logic. Using functions, rewrite any pieces of code that are repeated. Modify the code to use loops. Which principle is a value from the manifesto for Agile software development?. processes and tools over teams and interactions. detailed documentation over working software. adhering to a plan over responding to requirements. customer collaboration over contract negotiation. Which advantage does the agile process offer compared to waterfall software development?. to add or update features with incremental delivery. to view the full scope of end-to-end work. to have each phase end before the next begins. to fix any issues at the end of the development cycle. How do XML and JSON compare regarding functionality?. XML provides more support for mapping data structures into host languages than JSON. XML provides more human readability than JSON. JSON provides less support for data types than XML. JSON natively supports arrays and XML does not natively support arrays. What are two principles of an infrastructure as code environment? (Choose two.). Components are coupled, and definitions must be deployed for the environment to function. Redeployments cause varying environment definitions. Environments must be provisioned consistently using the same inputs. Service overlap is encouraged to cater for unique environment needs. Complete complex systems must be able to be built from reusable infrastructure definitions. Which two encoding formats do YANG interfaces support? (Choose two.). XML. JSON. XHTML. BER. plain text. What does the Python function do?. It returns HTTP Basic Authentication. It returns DNAC user and password. It reads a token from a local JSON file and posts the token to the DNAC URL. It returns an authorization token. 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?. The server is running out of disk space. The Internet connection is too slow. The Internet is down at the moment, which causes the local server to not be able to respond. The update utility is trying to use a proxy to access the internal resource. Which status code is used by a REST API to indicate that the submitted payload is incorrect?. 400. 403. 405. 429. Drag and drop the code from the left onto the item numbers on the right to complete the Meraki Python script shown in the exhibit. base_url. network_name. data. post. application/json. networks. api_key. organization. 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?. pagination. payload limit. service timeouts. rate limiting. 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?. body. headers. link. URL. status code. |





