Category Archives: 200-901 DevNet Associate (DEVASC)

200-901 DevNet Associate (DEVASC) Question and Answers

The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Which statement is correct if the RESTCONF interface responds with a 204 status code?

Refer to the exhibit. The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Which statement is correct if the RESTCONF interface responds 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… Read More »

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?

A. Refactor the code by removing any unnecessary tests. B. Reverse engineer and rewrite the code logic. C. Using functions, rewrite any pieces of code that are repeated. D. Modify the code to use loops. Answer: Option C. Explanation:  No answer description available for this question. Show AnswerDiscussion The post A developer is reviewing a code that was… Read More »

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: Option D. Explanation:  No answer description available… Read More »

When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?

A. YANG B. YAML C. XML D. x-form-encoding Answer: Option A. Explanation:  Reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/restconf_prog_int.html Show AnswerDiscussion The post When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method? appeared first on Majanto.

Which Cisco DevNet resource allows access to products in a development lab to explore, learn, and build applications that use Cisco APIs?

A. DevNet Code Exchange B. DevNet Sandbox C. DevNet Communities D. DevNet Automation Exchange Answer: Option B. Explanation:  Reference: https://developer.cisco.com/site/sandbox/ Show AnswerDiscussion The post Which Cisco DevNet resource allows access to products in a development lab to explore, learn, and build applications that use Cisco APIs? appeared first on Majanto.

Which two elements are foundational principles of DevOps? (Choose two.)

A. organizing cross-functional teams over organizational silos B. designing applications as microservices C. encouraging containers for the deployment of applications D. automating over documenting E. optimizing the cost of infrastructures Answer: Option A, D. Explanation:  No answer description available for this question. Show AnswerDiscussion The post Which two elements are foundational principles of DevOps? (Choose two.) appeared first… Read More »

An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue?

Refer to the exhibit. An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue? A. Remove the -H ‘Accept: application/yang-data+json’ HTTP header because it is not required. B. Use -u… Read More »

Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth.

Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth. curl -X ____________ -H ” __________: application/json” -H ” _______: Bearer AbCdEf123456″ https://localhost/api/myresource A. See explanation below. Answer: Option A. Explanation:  GET Accept Authorization Reference: https://webcache.googleusercontent.com/search?q=cache:Se6d2trvMsEJ:https://blogs.cisco.com/developer/security-api-best-practices+&cd=4&hl=en&ct=clnk&gl=pk&client=firefox-b-d Show AnswerDiscussion The post Fill in the blanks to… Read More »