DevNet Associate (DEVASC) v1.0

Page:    1 / 40   
Exam contains 586 questions

Which two encoding formats do YANG interfaces support? (Choose two.)

  • A. XML
  • B. JSON
  • C. XHTML
  • D. BER
  • E. plain text


Answer : AB

Reference:
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/171/b_171_programmability_cg/model_driven_telemetry.html

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`?

  • A. data[ג€˜itemsג€™][ג€˜hostג€™][ג€˜valueג€™]
  • B. data[ג€˜itemsג€™][1][ג€˜hostג€™][ג€˜valueג€™]
  • C. data[ג€˜itemsג€™][0][ג€˜hostג€™][ג€˜valueג€™]
  • D. data[ג€˜itemsג€™][ג€˜hostג€™][1]


Answer : C

Refer to the exhibit.

What does the Python function do?

  • A. It returns HTTP Basic Authentication.
  • B. It returns DNAC user and password.
  • C. It reads a token from a local JSON file and posts the token to the DNAC URL.
  • D. It returns an authorization token.


Answer : A

Reference:
https://community.cisco.com/t5/cisco-digital-network/how-can-i-make-this-script-to-run/td-p/3882782

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?

  • A. The server is running out of disk space.
  • B. The Internet connection is too slow.
  • C. The Internet is down at the moment, which causes the local server to not be able to respond.
  • D. The update utility is trying to use a proxy to access the internal resource.


Answer : D

What is a functionality of the Waterfall method as compared to the Agile method for software development?

  • A. Waterfall increases agility to implement faster while Agile promotes reliability.
  • B. A phase begins after the previous phase has ended in Waterfall while Agile phases run in parallel.
  • C. Customers get feedback during the process in Waterfall while they can see the result at the end in Agile.
  • D. Requirements can be updated in Waterfall while in Agile it should be gathered in the beginning.


Answer : B

What is a benefit of using functions in the code for the development process?

  • A. better user experience in the end product
  • B. improves code performance
  • C. easier to compile the code
  • D. faster code development


Answer : D

What is the difference between YAML and JSON data structure?

  • A. YAML uses spaces; JSON uses parentheses
  • B. YAML uses indentation; JSON uses brackets and braces
  • C. YAML uses brackets and braces; JSON uses indentation
  • D. YAML uses parentheses; JSON uses spaces


Answer : A

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. git rebase --merge feat00304
  • B. git merge --squash feat00304
  • C. git push --rebase feat00304
  • D. git checkout --squash feat00304


Answer : B

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?

  • A. git update
  • B. git merge
  • C. git add
  • D. git rebase


Answer : A

Into which type of Python data structure should common data formats be parsed?

  • A. sequence
  • B. set
  • C. dictionary
  • D. list


Answer : C

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. to enable multiple views of the same data to be presented to different groups of users
  • B. to provide separation between the view and the model by ensuring that all logic is separated out into the controller
  • C. to ensure data consistency, which requires that changes to the view are also made to the model
  • D. to ensure that only one instance of the data model can be created
  • E. to provide only a single view of the data to ensure consistency


Answer : BD


Refer to the exhibit. Which XML snippet has interface information that conforms to the YANG model?
A.

B.

C.

D.



Answer : A

What is a benefit of version control?

  • A. prevents two users from working on the same file
  • B. keeps track of all changes to the files
  • C. prevents the sharing of files
  • D. keeps the list of data types used in the files


Answer : B


Refer to the exhibit. What does the command marked (2) do when it is run?

  • A. It duplicates the ג€testג€ branch.
  • B. It deletes the ג€testג€ branch only if a new branch is created.
  • C. It deletes the ג€testג€ branch.
  • D. It does not delete the branch until it is merged.


Answer : C

What is a comparison of YAML and JSON?

  • A. YAML has a more consistent approach to representing data compared to JSON.
  • B. JSON does not support comments and YAML does.
  • C. YAML is a more verbose data structure compared to JSON.
  • D. JSON has more common usage in configuration management tools compared to YAML.


Answer : B

Reference:
https://stackoverflow.com/questions/244777/can-comments-be-used-in-json

Page:    1 / 40   
Exam contains 586 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy