Automation and DevOps, Associate v1.0 (JN0-221)

Page:    1 / 5   
Total 63 questions

What will determine which data serialization format is used for interfacing with a system?

  • A. programming language version
  • B. the operating system
  • C. IDE specifications
  • D. the system"™s API


Answer : A

Click the Exhibit button.


Referring to the exhibit, which two statements about the script are correct? (Choose two.)

  • A. The script prints interface information for each interface name
  • B. The script prints the name of each configured interface
  • C. The script retrieves the interface configuration in JSON
  • D. The script retrieves the interface configuration in XML


Answer : BD

Which curl command will successfully retrieve interface information from a Juniper device?

  • A. curl ""u "lab:lab123" https://10.200.1.1:3443/rpc/get-interface-information -X POST
  • B. curl ""u "lab:lab123" http://10.200.1.1:3000/rpc/get-interface-information -X GET
  • C. curl ""u "lab:lab123" https://10.200.1.1:8443/rpc/get-interface-information -X GET


Answer : A

Reference:
https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/rest-api-submitting-get-request.html

Which XML shorthand notation is used when no data exists between tags?

  • A. <data*>
  • B. <data+>
  • C. </data/>
  • D. <data/>


Answer : A

Which HTTP status code indicates a response to a successful request?

  • A. 302
  • B. 400
  • C. 500
  • D. 200


Answer : D

Reference:
https://www.juniper.net/documentation/en_US/junos-space-sdk/13.1/apiref/com.juniper.junos_space.sdk.help/html/reference/Commonbehav.html

Click the Exhibit button.


Referring to the exhibit, which statement is correct?

  • A. The RPC execution output is saved to a file on the Ansible control machine
  • B. The RPC execution output is not saved
  • C. The RPC execution output is saved to a file on R1
  • D. The RPC execution output is saved to memory on R1


Answer : B

Which statement about using Ansible with a Junos device is correct?

  • A. Ansible modules are executed on the control server
  • B. SFTP must be used to allow communication between the Ansible control server and the Junos device
  • C. An Ansible agent must be installed and running on the Junos device
  • D. An Ansible playbook is a set of tasks written in XML


Answer : C

Reference:
https://dataplumber.wordpress.com/2016/10/18/ansible-and-junos/

Given the <name> username </name> XML code, what is the information between the opening and closing tags called?

  • A. name node
  • B. data node
  • C. text node
  • D. element node


Answer : D

Reference:
https://www.juniper.net/documentation/en_US/junos/topics/concept/junos-script-automation-xml-overview.html

Which two tools should be used to test REST APIs? (Choose two.)

  • A. curl
  • B. Puppet
  • C. Chef
  • D. Postman


Answer : AD

Reference:
https://rickmur.com/using-the-junos-space-rest-api/

Which two statements about Junos PyEZ RPC(s) are correct? (Choose two.)

  • A. PyEZ RPCs return XML data
  • B. PyEZ RPCs can be used to view only the interface configuration
  • C. PyEZ RPCs can be used to view the active device configuration
  • D. PyEZ RPCs return CSV data


Answer : AB

What is the purpose of an XSD file?

  • A. to define the allowed elements and hierarchy of an XML document
  • B. to define the scripting language of an XML document
  • C. to define the security and access permissions for an XML document
  • D. to define the shortcuts that can be used in an XML document


Answer : A

Reference:
https://www.proficomms.cz/files/datasheets/Juniper/junosos.pdf
(p.4)

What are two components of the Waterfall model of software development? (Choose two.)

  • A. a large volume of code changes between releases
  • B. a small volume of code changes between releases
  • C. a short interval of time between releases
  • D. a long interval of time between releases


Answer : AD

Reference:
https://resources.whitesourcesoftware.com/blog-whitesource/sdlc-software-development-life-cycle

Which Junos system process handles NETCONF automation commands?

  • A. snmpd
  • B. eventd
  • C. mgd
  • D. jsd


Answer : BC

Reference:
https://www.oreilly.com/library/view/automating-junos-administration/9781491928875/ch01.html

Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)

  • A. Ansible
  • B. Python
  • C. XSLT
  • D. Puppet


Answer : BC

Reference:
https://eng.juniper.net/site/global/build/operating_system/junos/management_plane/on_box_automation/index.gsp

Which character is used to separate multiple parameters in a single REST API call?

  • A. &
  • B. #
  • C. ?
  • D. =


Answer : A

Reference:
https://www.juniper.net/documentation/en_US/junos-space-sdk/13.1/apiref/com.juniper.junos_space.sdk.help/html/reference/Commonbehav.html

Page:    1 / 5   
Total 63 questions