1. Which requirement for an Ansible-managed node is true?
A.
B.
C.
D.

Question 1 of 35

2. Which statement about TLS is true when using RESTCONF to write configurations on network devices?
A.
B.
C.
D.

Question 2 of 35

3. Which two operations are valid for RESTCONF? (Choose two)
A.
B.
C.
D.
E.
F.

Question 3 of 35

4. Which exhibit displays a valid JSON file?
A.
B.
C.
D.

Question 4 of 35

5. Which method creates an EEM applet policy that is registered with EEM and runs on demand or manually?
A.
B.
C.
D.

Question 5 of 35

6. What does this EEM applet event accomplish?
“event snmp oid 1.3.6.1.3.7.1.5.1.2.4.2.9 get-type next entry-op go entry-val 75 poll-interval 5”
 
A.
B.
C.
D.

Question 6 of 35

7. What is the structure of a JSON web token?
A.
B.
C.
D.

Question 7 of 35

8. Refer to the exhibit. Which two statements about the EEM applet configuration are true? (Choose two)
event manager applet LARGECONFIG
  event cli pattern "show running-config" sync yes
  action 1.0 puts "Warning! This device has a VERY LARGE configuration 
        and may take some time to process" 
  action 1.1 puts nonewline "Do you wish to continue [Y/N]" 
  action 1.2 gets response 
  action 1.3 string toupper "$response" 
  action 1.4 string match "$_string_result" "Y" 
  action 2.0 if $_string_result eq 1 
  action 2.1 cli command "enable” 
  action 2.2 cli command "show running-config" 
action 2.3 puts $_cli_result 
action 2.4 cli command "exit" 
action 2.9 end
A.
B.
C.
D.

Question 8 of 35

9. Refer to the exhibit. Which network script automation option or tool is used in the exhibit?
https://mydevice.mycompany.com/getstuff?queryName=errors&queryResults=yes
 
A.
B.
C.
D.
E.

Question 9 of 35

10. Which two protocols are used with YANG data models? (Choose two)
A.
B.
C.
D.
E.

Question 10 of 35

11. Which protocol does REST API rely on to secure the communication channel?
A.
B.
C.
D.

Question 11 of 35

12. Which JSON syntax is valid?
A.
B.
C.
D.

Question 12 of 35

13. Which statements are used for error handling in Python?
A.
B.
C.
D.

Question 13 of 35

14. Refer to the exhibit. Which HTTP JSON response does the python code output give?
PYTHON CODE
import requests
import json

url='http://YOURIP/ins'
switchuser='USERID'
switchpassword='PASSWORD'

myheaders={'content-type':'application/json'}
payload={
 "ins_api": {
   "version":"1.0",
   "type":"cli_show",
   "chunk":"0",
   "sid":"1",
   "input":"show version",
   "output_format":"json"
 }
}
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()

print(response['ins_api']['outputs'][output']['body']['kickstart_ver_str'])
=================================================================================================================
HTTP JSON Response:
{
 "ins_api": {
  "type": "cli_show",
  "version":"1.0",
  "sid":"eoc",
  "outputs":{
   "output":{
    "input":"show version",
    "msg":"Success",
    "code":"200",
    "body":{
     "bios_ver_str":"07.61",
     "kickstart_ver_str":"7.0(3)I7(4)",
     "bios_cmpl_time":"04/08/2017",
     "kick_file_name":"bootflash:///nxos.7.0.3.I7.4.bin",
     "kick_cmpl_time":"6/14/1970 09:49:04",
     "chassis_id": "Nexus9000 93180YC-EX chassis",
     "cpu_name": "Intel(R) Xeon(R) CPU @1.80GHz",
     "memory": 24633488,
     "mem_type":"kB",
     "rr_usecs":134703,
     "rr_ctime":"Sun Mar 10 15:41:46 2019",
     "rr_reason": "Reset Requested by CLI command reload",
     "rr_sys_ver":"7.0(3)I7(4)",
     "rr_service":"",
     "manufacturer": "Cisco Systems, Inc",
     "TABLE_package_list": {
      "ROW_package_list": {
       "package_id": {}
      }
     }
    }
   }
  }
 }
}
 
A.
B.
C.
D.

Question 14 of 35

15. Which data modeling language is commonly used by NETCONF?
A.
B.
C.
D.

Question 15 of 35

16. A response code of 404 is received while using the REST API on Cisco UNA Center to POST to this URL

/dna/intent/api/v1 /template-programmer/project

What does the code mean?
A.
B.
C.
D.

Question 16 of 35

17. Which HTTP status code is the correct response for a request with an incorrect password applied to a REST API session?
A.
B.
C.
D.

Question 17 of 35

18. In which part of the HTTP message is the content type specified?
A.
B.
C.
D.

Question 18 of 35

19. What do Cisco DNA southbound APIs provide?
A.
B.
C.
D.

Question 19 of 35

20. Which method displays text directly into the active console with a synchronous EEM applet policy?
A.
B.
C.
D.

Question 20 of 35

21. Refer to the exhibit. What is the JSON syntax that is formed the data?
Name is Bob Johnson
Age is 76
Is aliveFavorite foods are:
+ Cereal
+ Mustard
+ Onions
 
A.
B.
C.
D.
E.

Question 21 of 35

22. Which statement about agent-based versus agentless configuration management tools is true?
A.
B.
C.
D.

Question 22 of 35

23. What is a benefit of data modeling languages like YANG?
A.
B.
C.
D.

Question 23 of 35

24. Which variable in an EEM applet is set when you use the sync yes option?
A.
B.
C.
D.

Question 24 of 35

25. Which protocol infers that a YANG data model is being used?
A.
B.
C.
D.

Question 25 of 35

26. Which algorithms are used to secure REST API from brute attacks and minimize the impact?
A.
B.
C.
D.

Question 26 of 35

27. A network administrator is preparing a Python script to configure a Cisco IOS XE-based device on the network. The administrator is worried that colleagues will make changes to the device while the script is running. Which operation of the client manager in prevent colleague making changes to the device while the script is running?
A.
B.
C.
D.

Question 27 of 35

28. Which method of account authentication does OAuth 2.0 within REST APIs?
A.
B.
C.
D.

Question 28 of 35

29. Which characteristic distinguishes Ansible from Chef?
A.
B.
C.
D.

Question 29 of 35

30. Refer to the exhibit. An engineer is using XML in an application to send information to a RESTCONF-enabled device. After sending the request, the engineer gets this response message and a HTTP response code of 400. What do these responses tell the engineer?

A.
B.
C.
D.

Question 30 of 35

31. How is a data modeling language used?
A.
B.
C.
D.

Question 31 of 35

32. Refer to the exhibit. What does the error message relay to the administrator who is trying to configure a Cisco IOS device?

NETCONF_error_message.jpg
A.
B.
C.
D.

Question 32 of 35

33. Refer to the exhibit. What does the snippet of code achieve?

A.
B.
C.
D.

Question 33 of 35

34. What is used to validate the authenticity of the client and is sent in HTTP requests as a JSON object?
A.
B.
C.
D.

Question 34 of 35

35. Refer to the exhibit.

 
Make is Gocar
Model is Zoom

Features are
+ Power Windows
+ Manual Drive
+ Auto AC
What is the JSON syntax that is formed from the data?
A.
B.
C.
D.

Question 35 of 35